:root {
  --bg-canvas: #241b27;
  --bg-surface: #342838;
  --bg-surface-alt: #3f3144;
  --bg-surface-hover: #4a3a50;
  --text-primary: #f4f1ea;
  --text-muted: #cdbeaf;
  --accent-primary: #d4a84b;
  --accent-secondary: #e8c373;
  --accent-glow: rgba(212, 168, 75, 0.22);
  --border-subtle: #4e3d54;
  --border-strong: #d4a84b;
  --radius-sm: 4px;
  --radius-pill: 9999px;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --ease-kinetic: cubic-bezier(0.16, 1, 0.3, 1);
  --max-width: 1200px;
}

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

body {
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
  hyphens: auto;
  -webkit-font-smoothing: antialiased;
}

/* Tagline Bar & Header */
.top-tagline-bar {
  background: #1c141e;
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.4rem 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent-secondary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: static;
}

.site-header {
  position: static;
  background: var(--bg-canvas);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1rem 1.5rem;
}

.header-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-wrapper {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text-primary);
}

.brand-logo {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--accent-primary);
}

.brand-tag {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  text-transform: uppercase;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
}

.nav-desktop a {
  text-decoration: none;
  color: var(--text-primary);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius-sm);
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--accent-primary);
  background-color: var(--bg-surface);
}

.nav-toggle-btn {
  display: none;
  background: none;
  border: 1px solid var(--border-subtle);
  color: var(--accent-primary);
  font-size: 1.4rem;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  line-height: 1;
}

.nav-mobile-menu {
  display: none;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1rem 1.5rem;
}

.nav-mobile-menu.is-open {
  display: block;
}

.nav-mobile-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.nav-mobile-list a {
  text-decoration: none;
  color: var(--text-primary);
  font-size: 1rem;
  display: block;
  padding: 0.4rem 0;
  border-bottom: 1px dashed var(--border-subtle);
}

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

/* Base Layout & Utilities */
.page-wrap {
  width: 100%;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.text-editorial {
  max-width: 70ch;
  margin: 0 auto;
}

.text-muted {
  color: var(--text-muted);
}

.mono-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-primary);
  display: inline-block;
  margin-bottom: 0.5rem;
}

/* Headings */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
}

h1 {
  font-size: clamp(2rem, 4vw + 1rem, 3.25rem);
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

h2 {
  font-size: clamp(1.5rem, 2.5vw + 0.5rem, 2.2rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1.25rem;
}

/* Buttons */
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--accent-primary);
  color: #241b27;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease-kinetic), background-color 0.2s ease, outline 0.1s ease;
}

.btn-pill:hover {
  background-color: var(--accent-secondary);
  transform: translateY(-2px);
}

.btn-pill:focus-visible {
  outline: 3px solid #f4f1ea;
  outline-offset: 3px;
}

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

.btn-pill.btn-outline:hover {
  background-color: var(--bg-surface-hover);
  color: #ffffff;
}

/* Hero Section (Full Viewport Opening) */
.hero-viewport {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
  background-image: linear-gradient(rgba(36, 27, 39, 0.82), rgba(36, 27, 39, 0.94)),
    url('images/hero-living-room-gathering.jpg');
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

/* Hero Cinematic Projector Beam & Hearth Ambient Glow */
.hero-beam {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 140%;
  height: 120%;
  pointer-events: none;
  background: radial-gradient(ellipse 65% 55% at 50% 0%, rgba(212, 168, 75, 0.22), rgba(232, 195, 115, 0.08) 45%, transparent 75%);
  animation: projectorBeamPulse 8s ease-in-out infinite alternate;
  mix-blend-mode: screen;
  z-index: 1;
}

.hero-ambient-glow {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  pointer-events: none;
  background: radial-gradient(ellipse 70% 50% at 50% 100%, rgba(212, 168, 75, 0.16), rgba(63, 49, 68, 0.08) 50%, transparent 80%);
  animation: hearthFlicker 5s ease-in-out infinite alternate;
  z-index: 1;
}

/* Floating Seasonal Snow & Cinema Dust Particles */
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.hero-particles .particle {
  position: absolute;
  top: -20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.95), rgba(232, 195, 115, 0.6) 60%, transparent 100%);
  box-shadow: 0 0 6px rgba(232, 195, 115, 0.8), 0 0 12px rgba(212, 168, 75, 0.4);
  animation-name: fallAndSway;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

/* Particle variations for organic rhythm */
.hero-particles .p1  { left: 6%;  width: 4px; height: 4px; opacity: 0.75; animation-duration: 9s;   animation-delay: 0s; }
.hero-particles .p2  { left: 14%; width: 3px; height: 3px; opacity: 0.6;  animation-duration: 12s;  animation-delay: 2.5s; }
.hero-particles .p3  { left: 22%; width: 5px; height: 5px; opacity: 0.85; animation-duration: 8.5s; animation-delay: 1.2s; }
.hero-particles .p4  { left: 31%; width: 2px; height: 2px; opacity: 0.5;  animation-duration: 14s;  animation-delay: 4.8s; }
.hero-particles .p5  { left: 40%; width: 4px; height: 4px; opacity: 0.7;  animation-duration: 10s;  animation-delay: 3.1s; }
.hero-particles .p6  { left: 48%; width: 6px; height: 6px; opacity: 0.9;  animation-duration: 7.5s; animation-delay: 0.6s; }
.hero-particles .p7  { left: 56%; width: 3px; height: 3px; opacity: 0.55; animation-duration: 11s;  animation-delay: 5.2s; }
.hero-particles .p8  { left: 65%; width: 5px; height: 5px; opacity: 0.8;  animation-duration: 9.2s; animation-delay: 1.8s; }
.hero-particles .p9  { left: 73%; width: 2px; height: 2px; opacity: 0.6;  animation-duration: 13.5s; animation-delay: 3.7s; }
.hero-particles .p10 { left: 81%; width: 4px; height: 4px; opacity: 0.75; animation-duration: 8.8s; animation-delay: 0.2s; }
.hero-particles .p11 { left: 89%; width: 5px; height: 5px; opacity: 0.85; animation-duration: 10.5s; animation-delay: 4.1s; }
.hero-particles .p12 { left: 95%; width: 3px; height: 3px; opacity: 0.5;  animation-duration: 12.2s; animation-delay: 2.1s; }
.hero-particles .p13 { left: 18%; width: 3px; height: 3px; opacity: 0.65; animation-duration: 11.4s; animation-delay: 6s; }
.hero-particles .p14 { left: 52%; width: 4px; height: 4px; opacity: 0.7;  animation-duration: 9.8s; animation-delay: 5s; }
.hero-particles .p15 { left: 84%; width: 3px; height: 3px; opacity: 0.6;  animation-duration: 10.8s; animation-delay: 7.2s; }

@keyframes fallAndSway {
  0% {
    transform: translate3d(0, -10px, 0);
  }
  25% {
    transform: translate3d(14px, 25vh, 0);
  }
  50% {
    transform: translate3d(-10px, 50vh, 0);
  }
  75% {
    transform: translate3d(12px, 75vh, 0);
  }
  100% {
    transform: translate3d(-6px, 105vh, 0);
  }
}

@keyframes projectorBeamPulse {
  0% {
    opacity: 0.7;
    transform: translateX(-50%) scale(0.98);
  }
  50% {
    opacity: 0.95;
    transform: translateX(-50%) scale(1.02);
  }
  100% {
    opacity: 0.75;
    transform: translateX(-50%) scale(1);
  }
}

@keyframes hearthFlicker {
  0% {
    opacity: 0.65;
  }
  30% {
    opacity: 0.85;
  }
  60% {
    opacity: 0.7;
  }
  100% {
    opacity: 0.95;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(36, 27, 39, 0.65);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 0.35rem 1rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-primary);
  box-shadow: 0 0 8px var(--accent-primary);
  animation: badgeDotPulse 2s ease-in-out infinite;
}

@keyframes badgeDotPulse {
  0%, 100% {
    opacity: 0.6;
    transform: scale(0.9);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
    box-shadow: 0 0 12px var(--accent-primary);
  }
}

.hero-content h1 {
  color: #ffffff;
  margin-bottom: 1rem;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
}

.hero-lead {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.6;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}

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

/* Section Transitions */
.section-diagonal-top {
  clip-path: polygon(0 0, 100% 3vw, 100% 100%, 0 100%);
  margin-top: -3vw;
  padding-top: calc(3rem + 3vw);
}

.section-diagonal-bottom {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 3vw), 0 100%);
  padding-bottom: calc(3rem + 3vw);
}

/* Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.bento-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  transition: transform 0.2s var(--ease-kinetic), border-color 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
}

.span-4 { grid-column: span 4; }
.span-6 { grid-column: span 6; }
.span-8 { grid-column: span 8; }
.span-12 { grid-column: span 12; }

.card-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 1rem;
  border: 1px solid var(--border-subtle);
}

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

.card-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-primary);
  margin-bottom: 0.5rem;
}

.card-runtime {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.card-footer {
  margin-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-link {
  color: var(--accent-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.card-link:hover {
  text-decoration: underline;
}

/* Pairings & Double Bill Panels */
.double-bill-deck {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.double-bill-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.bill-step {
  border-left: 2px solid var(--accent-primary);
  padding-left: 1rem;
  margin-bottom: 1.25rem;
}

.bill-phase {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-secondary);
  text-transform: uppercase;
}

/* Tables */
.table-responsive-wrapper {
  overflow-x: auto;
  margin: 2rem 0;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
}

.showcase-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
  background-color: var(--bg-surface);
}

.showcase-table th, 
.showcase-table td {
  padding: 0.9rem 1.2rem;
  border-bottom: 1px solid var(--border-subtle);
}

.showcase-table th {
  background-color: var(--bg-surface-alt);
  font-family: var(--font-mono);
  color: var(--accent-primary);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.showcase-table tr:hover {
  background-color: var(--bg-surface-hover);
}

/* FAQ Accordion */
.faq-accordion {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
}

.faq-trigger {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.05rem;
  font-weight: 600;
  padding: 1.1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-trigger:focus-visible {
  outline: 2px solid var(--accent-primary);
}

.faq-indicator {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--accent-primary);
  transition: transform 0.2s ease;
}

.faq-content {
  display: none;
  padding: 0 1.25rem 1.25rem;
  color: var(--text-muted);
  border-top: 1px dashed var(--border-subtle);
  padding-top: 0.8rem;
}

.faq-item.is-active .faq-content {
  display: block;
}

.faq-item.is-active .faq-indicator {
  transform: rotate(45deg);
}

/* Form & Plain Text Composer */
.composer-form {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 2rem;
  margin-top: 2rem;
}

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

.form-group label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
  color: var(--accent-secondary);
}

.form-control {
  width: 100%;
  background: var(--bg-canvas);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.95rem;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-primary);
}

.composer-output {
  background: #19121c;
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent-secondary);
  white-space: pre-wrap;
  margin: 1.25rem 0;
  min-height: 120px;
}

.composer-tools {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Site Footer */
.site-footer {
  background: #18121a;
  border-top: 1px solid var(--border-subtle);
  padding: 3rem 1.5rem 2rem;
  margin-top: 4rem;
  color: var(--text-muted);
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.footer-brand {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--accent-primary);
  font-size: 1.1rem;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 0.75rem;
}

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

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

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

.footer-bottom {
  max-width: var(--max-width);
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  font-family: var(--font-mono);
}

/* Reveal Transitions */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease-kinetic), transform 0.6s var(--ease-kinetic);
}

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

/* Cookie Consent Pop-up Banner */
#reeltro_pop {
  background: #0f172a;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  color: #f5f5f4;
  position: fixed;
  bottom: 20px;
  font-size: 13px;
  z-index: 99999;
  max-width: 420px;
  padding: 16px 18px;
  border-radius: 14px;
  right: 20px;
  line-height: 1.5;
  font-family: inherit;
}

#reeltro_pop[hidden] {
  display: none;
}

#reeltro_pop b {
  color: #f5f5f4;
  font-weight: 700;
  font-size: 14px;
  display: block;
  margin-bottom: 4px;
}

#reeltro_pop p {
  margin: 0 0 12px;
  color: #f5f5f4;
}

#reeltro_pop a {
  color: #f5f5f4;
  text-decoration: underline;
}

#reeltro_pop .reeltro_pop_controls {
  margin: 0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

#reeltro_pop button {
  font-family: inherit;
  line-height: 1.2;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  cursor: pointer;
  color: #f5f5f4;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 16px;
  background: transparent;
}

#reeltro_pop button[data-opt="no"] {
  border-color: transparent;
  background: rgba(255, 255, 255, 0.1);
}

#reeltro_pop button[data-opt="yes"] {
  border-color: #d4a84b;
  color: #111111;
  background: #d4a84b;
}

#reeltro_pop button:focus-visible {
  outline-offset: 2px;
  outline: 2px solid #f5f5f4;
}

@media (max-width: 560px) {
  #reeltro_pop {
    width: auto;
    bottom: 8px;
    max-width: none;
    transform: none;
    right: 8px;
    left: 8px;
  }
}

/* Responsive Breakpoints */
@media (max-width: 900px) {
  .span-8, .span-6, .span-4 {
    grid-column: span 12;
  }
  .bento-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }
  .nav-toggle-btn {
    display: block;
  }
  .top-tagline-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
}

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