/* ============================================================
   Mesa Drive-In Theatre — style.css
   Visual replica of the original mesadrive-in.com design.
   Mobile-first. No preprocessor required.
   ============================================================ */

/* === 0. SELF-HOSTED FONTS (Latin subset, woff2) ===
   Replaces the Google Fonts <link>. Files live in /fonts/ so the site has
   no runtime dependency on fonts.googleapis.com / fonts.gstatic.com.
   Josefin Sans is a variable font: weights 400 and 600 share one file. */

@font-face {
  font-family: 'Josefin Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/josefin-sans-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'Josefin Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/josefin-sans-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/oswald-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/playfair-display-italic-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/playfair-display-latin.woff2) format('woff2');
}

/* === 1. CSS CUSTOM PROPERTIES (design tokens) === */

:root {
  /* Core palette from original theme */
  --color-bg:           #faf8ea;   /* cream body */
  --color-nav-bg:       #e7e4dc;   /* navbar & footer-main bg */
  --color-dark:         #2d3937;   /* dark sections bg, primary text */
  --color-navy:         #102936;   /* hero banner fallback */
  --color-text:         #2d3937;
  --color-text-muted:   #5c666b;
  --color-accent:       #8ab29e;   /* sage green — buttons, accents */
  --color-accent-dark:  #6a877a;
  --color-accent-light: #c3d7cb;   /* light green — inactive tabs */
  --color-gold:         #e5a12c;   /* active nav link */
  --color-peach:        #e8a280;   /* borders, hover, widget border */
  --color-rust:         #af5533;   /* hero tagline, rust CTA */
  --color-cream-warm:   #ebdca5;   /* warm text on dark bg */
  --color-border:       rgba(45, 57, 55, 0.15);
  --color-surface-raised: #f0ede3;  /* slightly deeper cream for card bg */
  --color-success:      #4caf82;
  --color-error:        #e05555;

  /* Typography */
  --font-body:    'Josefin Sans', system-ui, sans-serif;
  --font-display: 'Oswald', var(--font-body);
  --font-serif:   'Playfair Display', Georgia, serif;

  /* Layout */
  --max-width:    1024px;
  --radius:       0.5rem;
  --radius-sm:    0.25rem;
  --nav-height:   85px;
  --transition:   200ms ease;
}

/* === 2. RESET & BASE === */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.75rem;
  line-height: 1.2;
}

address {
  font-style: normal;
}

/* === 3. TYPOGRAPHY UTILITIES === */

.font-display { font-family: var(--font-display); }
.font-serif   { font-family: var(--font-serif); }
.text-muted   { color: var(--color-text-muted); }
.text-center  { text-align: center; }
.text-small   { font-size: 0.875rem; }
.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;
}
.hidden { display: none !important; }
.mt-3 { margin-top: 1.5rem; }

/* === 4. LAYOUT UTILITIES === */

.container {
  max-width: var(--max-width);
  margin-inline: auto;
  width: 90%;
}

.container-full {
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}

.section {
  padding-block: 3rem;
}

.section--dark {
  background: var(--color-dark);
  color: white;
}

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

.section--dark h3 {
  color: white;
}

.section--dark p {
  color: rgba(255, 255, 255, 0.85);
}

.section--dark .policy-icon {
  background: rgba(138, 178, 158, 0.2);
}

/* Info table inside dark sections */
.section--dark .info-table th,
.section--dark .info-table td {
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.section--dark .info-table th {
  background: rgba(138, 178, 158, 0.25);
  color: rgba(255, 255, 255, 0.7);
}

.section--dark .info-table td {
  color: rgba(255, 255, 255, 0.9);
}

.section--dark .info-table a {
  color: var(--color-peach);
}

.heading-sm {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-accent-dark);
  margin-bottom: 1.5rem;
}

/* === 5. NAVBAR === */

.navbar {
  background-color: var(--color-nav-bg);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar .container-full {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

/* Logo */
.navbar .brand a {
  display: block;
  width: 165px;
  height: 41px;
  text-decoration: none;
}

.navbar .brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Desktop nav */
.navbar .site-nav {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--color-peach);
  padding: 0 2.5rem 2rem;
  transition: opacity var(--transition), transform var(--transition);
  z-index: 20;
}

.navbar .site-nav.is-open {
  display: flex;
}

.navbar .site-nav .menu {
  display: flex;
  flex-direction: column;
  margin: 3rem 0;
  gap: 0;
}

.navbar .site-nav .menu > li > a {
  display: block;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(16, 41, 54, 0.25);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.75rem;
  text-transform: uppercase;
  color: var(--color-dark);
  text-decoration: none;
  transition: color var(--transition);
}

.navbar .site-nav .menu > li > a:hover,
.navbar .site-nav .menu > li.active > a {
  /* Deeper rust than --color-rust so it clears WCAG AA on the light navbar
     (#e7e4dc, ~5:1) and the peach mobile menu (~3:1) — the old `white` was
     nearly invisible on both. */
  color: #9c4526;
}

/* Hamburger button */
.mobile-nav-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  position: relative;
  z-index: 999;
}

.hamburger-line {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--color-dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* Nav social icons (mobile) */
.navbar .nav-social {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.navbar .nav-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: block;
  overflow: hidden;
  text-indent: -9999px;
}

.navbar .nav-social a.instagram {
  background: white url('/images/icn/instagram-dk.svg') center/16px no-repeat;
}

.navbar .nav-social a.facebook {
  background: white url('/images/icn/facebook-dk.svg') center/auto 16px no-repeat;
}

/* === 6. HERO === */

.home-hero {
  position: relative;
}

.home-hero-banner {
  background: var(--color-navy) center/cover no-repeat;
  display: flex;
  align-items: stretch;
}

.home-hero-banner .container {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  width: 100%;
}

/* Two-column hero layout: schedule left, text right */
.hero-layout {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-schedule-col {
  /* full width on mobile */
}

.hero-text-col {
  color: white;
}

.hero-text-col h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  color: white;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero-text-col .tagline {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.125rem;
  color: var(--color-rust);
  margin-bottom: 1.75rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.75), 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Keep these selectors working for non-hero banner h1/tagline on other pages */
.home-hero-banner h1 { color: white; }
.home-hero-banner .tagline { display: block; }

/* === 7. BUTTONS === */

.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  background-color: var(--color-accent);
  color: var(--color-dark);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background var(--transition), color var(--transition);
  line-height: 1.25;
}

.btn:hover {
  background-color: var(--color-accent-dark);
  color: white;
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  color: var(--color-dark);
  border: 2px solid var(--color-dark);
}

.btn-outline:hover {
  background: var(--color-dark);
  color: white;
}

.btn-navy {
  background-color: var(--color-navy);
  color: var(--color-peach);
}

.btn-navy:hover {
  background-color: #0a1c27;
  color: var(--color-peach);
}

.btn-sm {
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
}

/* Tickets link style (within schedule) */
a.tickets {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  color: var(--color-peach);
  text-decoration: none;
  transition: opacity var(--transition);
}

a.tickets:hover {
  opacity: 0.8;
}

/* === 8. SCHEDULE WIDGET (homepage) === */

.schedule-widget {
  background-color: var(--color-dark);
  border: 10px solid var(--color-peach);
  color: white;
  padding: 1.25rem;
}

.schedule-widget h3 {
  color: var(--color-accent);
  font-family: var(--font-serif);
  font-size: 1.875rem;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  display: block;
}

.schedule-widget .tab-nav {
  display: flex;
  border-bottom: 1px solid var(--color-accent);
  padding-bottom: 0.25rem;
  padding-top: 0.25rem;
  gap: 1.5rem;
  margin-bottom: 0;
}

.schedule-widget .tab-nav a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color var(--transition);
}

.schedule-widget .tab-nav a.active,
.schedule-widget .tab-nav a:hover {
  color: var(--color-peach);
}

.schedule-widget .tab-panels {
  /* panels */
}

.schedule-widget .tab-panel {
  display: none;
  padding: 1.25rem 0 0;
}

.schedule-widget .tab-panel.active {
  display: block;
}

.schedule-widget .screen-movies {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.schedule-widget .movie {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  min-width: 0;
}

.schedule-widget .movie-artwork {
  flex-shrink: 0;
  border: 6px solid white;
  width: 115px;
  margin: 0; /* reset browser default figure margin (Firefox: 1em 40px) */
}

.schedule-widget .movie-artwork img {
  width: 100%;
  display: block;
}

.schedule-widget .movie-content {
  font-family: var(--font-display);
  min-width: 0;
  /* Wrap only between words — never split a word across lines. */
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.schedule-widget .movie-content .time {
  color: var(--color-accent);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.schedule-widget .movie-content .title {
  font-size: 1rem;
  color: white;
  margin-bottom: 0.35rem;
}

.schedule-widget .movie-content .captions-note {
  font-size: 0.75rem;
  color: var(--color-cream-warm);
  margin-bottom: 0.35rem;
}

/* === 9. SCHEDULE PAGE === */

/* Wrapper below page heading */
.schedule-box {
  margin-top: 0;
}

/* Day tabs nav (desktop) */
.schedule-tabs {
  display: none; /* hidden on mobile */
  gap: 1rem;
}

.schedule-tabs a {
  padding: 0.75rem 1.25rem;
  background: var(--color-accent-light);
  border-radius: 0.5rem 0.5rem 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  text-transform: uppercase;
  color: var(--color-dark);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: background var(--transition), color var(--transition);
  line-height: 1.3;
}

.schedule-tabs a span {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.schedule-tabs a.active {
  background: var(--color-dark);
  color: var(--color-peach);
}

.schedule-tabs a:hover:not(.active) {
  background: var(--color-accent);
  color: white;
}

/* Mobile day selector */
.schedule-tabs-mobile {
  background-color: var(--color-accent);
  border-radius: var(--radius);
  padding: 0.5rem 1.5rem;
  margin-bottom: 1rem;
}

.schedule-tabs-mobile .subtitle {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--color-dark);
  margin-bottom: 0.25rem;
}

.schedule-tabs-mobile .tab-nav-mobile {
  width: 100%;
  padding: 0.25rem 0.5rem;
  background: white;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-dark);
  cursor: pointer;
  margin-bottom: 1rem;
  -webkit-appearance: none;
  appearance: none;
}

/* Main schedule content area */
.schedule-main {
  background: var(--color-dark);
  color: white;
  padding: 1.5rem;
  border-radius: 0.5rem;
}

.schedule-panels {
  /* panels container */
}

.schedule-day {
  display: none;
}

.schedule-day.active {
  display: block;
}

/* Sidebar */
.schedule-sidebar {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px dashed var(--color-accent);
}

.schedule-sidebar h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.schedule-sidebar .schedule-info {
  margin-bottom: 1.5rem;
}

.schedule-sidebar .schedule-info .content {
  color: var(--color-cream-warm);
  font-size: 0.9rem;
  line-height: 1.6;
}

.schedule-sidebar .pricing {
  display: block;
  font-family: var(--font-body);
  font-size: 0.9rem;
  text-transform: uppercase;
  color: white;
  line-height: 1.8;
}

.schedule-sidebar .btn {
  margin-top: 1.5rem;
  background-color: var(--color-peach);
  color: var(--color-dark);
}

.schedule-sidebar .btn:hover {
  background-color: var(--color-rust);
  color: white;
}

/* Screen sections within a day */
.schedule-screen {
  margin-bottom: 3rem;
}

.schedule-screen:last-child {
  margin-bottom: 0;
}

.schedule-screen .screen-name {
  color: white;
  font-family: var(--font-display);
  font-size: 1.125rem;
  text-transform: uppercase;
  border-bottom: 1px solid var(--color-accent);
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.schedule-screen .screen-movies {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.schedule-screen .movie {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.schedule-screen .movie-artwork {
  flex-shrink: 0;
  border: 6px solid white;
  width: 90px;
  margin: 0;
}

.schedule-screen .movie-artwork img {
  width: 100%;
  display: block;
}

.schedule-screen .movie-content {
  font-family: var(--font-display);
}

.schedule-screen .movie-content h3 {
  color: white;
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.schedule-screen .movie-content .time {
  color: var(--color-accent);
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 0.35rem;
}

.schedule-screen .movie-content .captions-note {
  font-size: 0.75rem;
  color: var(--color-cream-warm);
  margin-bottom: 0.35rem;
}

/* Identically-sized poster rows (schedule page + coming soon page) */
.poster-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.poster-card {
  display: flex;
  flex-direction: column;
  width: 150px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease;
}

.poster-card:hover {
  transform: translateY(-4px);
}

.poster-card__art {
  margin: 0 0 0.6rem;
  width: 100%;
}

.poster-card__art img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--color-nav-bg);
  display: block;
}

.poster-card__title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--color-dark);
}

.poster-card__meta {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 0.2rem;
}

.poster-card__premiere {
  color: var(--color-rust);
  font-weight: 600;
}

.poster-card__captions {
  font-style: italic;
}

/* Schedule page sits on a dark background — flip poster text to light */
.schedule-screen .poster-card__art img {
  border: 4px solid white;
}

.schedule-screen .poster-card__title {
  color: white;
}

.schedule-screen .poster-card__meta {
  color: var(--color-accent);
}

/* Notes below schedule */
.block-notes {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  font-style: italic;
  padding: 0.75rem 1rem;
  background: rgba(45, 57, 55, 0.08);
  border-left: 3px solid var(--color-accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-top: 1rem;
}

.no-schedule,
.loading-msg {
  text-align: center;
  color: var(--color-text-muted);
  padding: 3rem 1rem;
  font-size: 1.1rem;
}

/* Weekend block heading (for multiple blocks) */
.block-date-heading {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-dark);
  margin-bottom: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 2px solid var(--color-border);
}

.block-date-heading:first-child {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

/* Admission bar (schedule page top) */
.admission-bar {
  background: var(--color-accent-light);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  margin-bottom: 2rem;
  font-size: 0.9rem;
}

.admission-item strong {
  color: var(--color-dark);
  font-family: var(--font-display);
}

/* === 10. FEATURES / COMING SOON GRID === */

.home-features {
  background: var(--color-bg);
}

.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.feature .feature-image figure {
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--color-accent-light);
  margin: 0;
}

.feature .feature-image figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.feature .feature-content {
  padding: 1rem 0;
}

.feature .feature-content h3 {
  font-family: var(--font-display);
  color: var(--color-dark);
  font-size: 1.1rem;
  text-transform: uppercase;
}

/* Coming Soon page */
.coming-soon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1.5rem;
}

.coming-soon-card {
  text-align: center;
}

.coming-soon-card__poster {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 0.6rem;
  background: var(--color-nav-bg);
}

.coming-soon-card__title {
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-display);
  text-transform: uppercase;
  color: var(--color-dark);
}

/* Home coming soon strip */
.coming-soon-strip {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.coming-soon-strip::-webkit-scrollbar {
  height: 4px;
}

.coming-soon-strip::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
}

.coming-soon-strip::-webkit-scrollbar-thumb {
  background: var(--color-peach);
  border-radius: 2px;
}

.strip-card {
  flex-shrink: 0;
  width: 140px;
  scroll-snap-align: start;
  text-align: center;
}

.strip-card__poster {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 0.4rem;
  background: rgba(255,255,255,0.1);
}

.strip-card__title {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.3;
}

/* === 11. HOME FEATURE (Sponsor section) === */

.home-feature {
  background: var(--color-bg);
}

.home-feature .container > div {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.home-feature .feature-image {
  flex: 1;
}

.home-feature .feature-image figure {
  padding-bottom: 0;
  position: static;
}

.home-feature .feature-image img {
  width: 100%;
  max-height: 200px;
  object-fit: contain;
}

/* Sponsor slider (image list) */
.sponsors-intro {
  text-align: center;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

.image-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: center;
}

.image-slider figure {
  flex: 0 0 auto;
  max-width: 180px;
}

.image-slider img {
  width: 100%;
  height: auto;
  object-fit: contain;
  max-height: 80px;
}

.home-feature .feature-content {
  padding: 1.5rem 0;
}

.home-feature .feature-content h2 {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

/* === 12. FORMS === */

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

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
  color: var(--color-text);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  background: white;
  border: 1px solid rgba(45, 57, 55, 0.25);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--transition);
  -webkit-appearance: none;
  appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-accent-dark);
}

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

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239fa9af' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-hint,
.admin-hint {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 0.25rem;
}

/* === 13. MAILING LIST === */

.mailing-list-section {
  text-align: center;
  padding-block: 3rem;
  background: var(--color-nav-bg);
  border-top: 1px solid var(--color-border);
}

.mailing-list-section h2 {
  font-family: var(--font-display);
  color: var(--color-dark);
  text-transform: uppercase;
}

.mailing-list-section p {
  color: var(--color-text-muted);
  max-width: 500px;
  margin-inline: auto;
  margin-bottom: 1.5rem;
}

.mailing-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  max-width: 480px;
  margin-inline: auto;
}

.mailing-form input[type="email"] {
  flex: 1;
  min-width: 200px;
}

/* === 14. CONCESSIONS === */

.menu-category {
  margin-bottom: 2.5rem;
}

.menu-category h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent-dark);
  border-bottom: 2px solid var(--color-border);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.menu-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 1.5rem 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.menu-item__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 0.5rem;
}

.menu-item__name {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--color-text);
}

.menu-item__price {
  margin-top: -0.25rem;
  font-weight: 600;
  color: var(--color-accent-dark);
}

/* === 15. FAQ === */

.faq-list {
  max-width: 760px;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

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

.faq-item summary {
  padding: 1rem 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  -webkit-user-select: none;
  user-select: none;
  color: var(--color-dark);
  font-family: var(--font-display);
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  flex-shrink: 0;
  font-size: 1.4rem;
  color: var(--color-accent-dark);
  font-weight: 300;
  line-height: 1;
  transition: transform var(--transition);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 0 1.25rem;
  color: var(--color-text);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* === 16. ABOUT PAGE === */

.info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.info-table th,
.info-table td {
  padding: 0.6rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.info-table th {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-dark);
  background: var(--color-accent-light);
  width: 40%;
}

.info-table td {
  color: var(--color-text);
}

.policy-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.policy-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.policy-icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  background: var(--color-accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

/* === 17. CONTACT PAGE === */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.contact-aside {
  font-size: 0.95rem;
}

.contact-aside h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  color: var(--color-accent-dark);
  margin-bottom: 0.75rem;
}

/* === 18. FOOTER === */

.site-footer-main {
  background-color: var(--color-nav-bg);
}

.site-footer-main .container {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.site-footer-main .brand a {
  display: block;
  width: 200px;
  margin: 0 auto;
}

.site-footer-main .brand img {
  width: 100%;
}

.info-links {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-nav,
.now-showing {
  margin-bottom: 1.5rem;
}

.footer-nav h4,
.now-showing h4 {
  color: var(--color-text-muted);
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
}

.footer-nav a,
.footer-nav span,
.now-showing a,
.now-showing span {
  display: block;
  color: var(--color-dark);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  line-height: 2;
}

.footer-nav a:hover,
.now-showing a:hover {
  color: var(--color-peach);
}

.info-signup h4 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-dark);
  margin-bottom: 0.5rem;
}

.info-signup form {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.info-signup form input[type="email"] {
  flex: 1;
  min-width: 180px;
  padding: 0.5rem 0.75rem;
  border: 1px solid rgba(45,57,55,0.25);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  background: white;
  color: var(--color-dark);
}

.info-footer-hr {
  border: none;
  border-top: 1px dashed var(--color-text-muted);
  margin: 1.5rem 0;
  width: 100%;
}

/* Social icons in footer */
.social-footer {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
}

.social-footer a {
  border-radius: 50%;
  display: block;
  height: 32px;
  width: 32px;
  overflow: hidden;
  text-indent: -9999px;
}

.social-footer a.instagram {
  background: var(--color-peach) url('/images/icn/instagram.svg') center/16px no-repeat;
}

.social-footer a.facebook {
  background: var(--color-rust) url('/images/icn/facebook.svg') center/auto 16px no-repeat;
}

/* Footer credits bar */
.site-footer-credits {
  background-color: var(--color-dark);
  color: white;
}

.site-footer-credits .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  text-align: center;
}

.site-footer-credits span {
  display: block;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
}

/* === 19. ANNIVERSARY BANNER === */

.anniversary-banner {
  background: linear-gradient(135deg, var(--color-rust), var(--color-peach));
  color: white;
  text-align: center;
  padding: 0.6rem 1rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* === 20. HOMEPAGE FAQ === */

.home-faq-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  max-width: 720px;
}

.home-faq-item {
  border-bottom: 1px solid var(--color-border);
}

.home-faq-item:first-child {
  border-top: 1px solid var(--color-border);
}

.home-faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--color-dark);
}

.faq-index {
  flex-shrink: 0;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.05em;
  width: 1.5rem;
}

.faq-q-text {
  flex: 1;
}

.faq-icon {
  flex-shrink: 0;
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--color-accent-dark);
  line-height: 1;
  transition: transform 300ms ease;
}

.home-faq-item.is-open .faq-icon {
  transform: rotate(45deg);
}

/* Slide animation via grid-template-rows */
.home-faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 300ms ease;
}

.home-faq-item.is-open .home-faq-answer {
  grid-template-rows: 1fr;
}

.home-faq-answer-inner {
  overflow: hidden;
}

.home-faq-answer-inner p {
  padding-bottom: 1.25rem;
  color: var(--color-text);
  line-height: 1.7;
  font-size: 0.95rem;
  margin: 0;
}

/* === 21. ADMIN STYLES === */

.admin-body {
  background: #f0f0f5;
  color: #1a1a2e;
  min-height: 100vh;
  font-family: var(--font-body);
}

.admin-login-screen {
  max-width: 360px;
  margin: 10vh auto;
  padding: 2rem;
  background: white;
  border-radius: var(--radius);
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
}

.admin-login-screen h1 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #1a1a2e;
  text-align: center;
}

.admin-login-screen .form-input {
  background: #f5f5f5;
  color: #1a1a2e;
  border-color: #d0d0d8;
}

.admin-login-screen .btn-primary {
  background: #1565c0;
  border-color: #1565c0;
  color: white;
  width: 100%;
}

.admin-login-screen .btn-primary:hover {
  background: #0d47a1;
  border-color: #0d47a1;
  color: white;
}

.admin-error {
  color: var(--color-error);
  font-size: 0.9rem;
  margin-top: 0.75rem;
  text-align: center;
}

/* Admin app layout */
.admin-app {
  max-width: 960px;
  margin-inline: auto;
  padding: 1.5rem 1rem;
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #d0d0d8;
}

.admin-header h1 {
  font-size: 1.4rem;
  color: #1a1a2e;
  margin: 0;
}

.admin-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid #d0d0d8;
  margin-bottom: 1.5rem;
}

.admin-tab {
  padding: 0.6rem 1.25rem;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  color: #555;
  transition: color var(--transition), border-color var(--transition);
}

.admin-tab.active {
  color: #1565c0;
  border-bottom-color: #1565c0;
}

.admin-tab-content {
  display: none;
}

.admin-tab-content.active {
  display: block;
}

.admin-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.admin-section-header h2 {
  font-size: 1.1rem;
  color: #1a1a2e;
  margin: 0;
}

/* Admin forms */
.admin-form {
  background: white;
  border: 1px solid #d0d0d8;
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.admin-form .form-label {
  color: #333;
}

.admin-form .form-input,
.admin-form .form-select,
.admin-form .form-textarea {
  background: white;
  color: #1a1a2e;
  border-color: #d0d0d8;
}

.admin-form .form-input:focus,
.admin-form .form-select:focus,
.admin-form .form-textarea:focus {
  border-color: #1565c0;
}

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

.admin-form-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e0e0e8;
}

.admin-form-actions .btn-primary {
  background: #1565c0;
  border-color: #1565c0;
  color: white;
}

.admin-form-actions .btn-primary:hover {
  background: #0d47a1;
}

.admin-form-actions .btn-outline {
  background: transparent;
  color: #555;
  border-color: #d0d0d8;
}

/* Admin list */
.admin-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.admin-list-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: white;
  border: 1px solid #d0d0d8;
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
}

.admin-list-item__thumb {
  width: 36px;
  height: 54px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: #e0e0e8;
  flex-shrink: 0;
}

.admin-list-item__info {
  flex: 1;
  min-width: 0;
}

.admin-list-item__title {
  font-weight: 600;
  font-size: 0.95rem;
  color: #1a1a2e;
}

.admin-list-item__meta {
  font-size: 0.8rem;
  color: #777;
}

.admin-list-item__actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.admin-badge {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  background: #e8f4fd;
  color: #1565c0;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.admin-badge--coming-soon {
  background: #fff3e0;
  color: #e65100;
}

/* Admin buttons */
.btn-admin-primary {
  background: #1565c0;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background var(--transition);
}

.btn-admin-primary:hover { background: #0d47a1; }

.btn-admin-secondary {
  background: #f0f0f5;
  color: #333;
  border: 1px solid #d0d0d8;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background var(--transition);
}

.btn-admin-secondary:hover { background: #e0e0e8; }

.btn-admin-danger {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background var(--transition);
}

.btn-admin-danger:hover { background: #fee2e2; }

/* Admin status bar */
.admin-status {
  position: sticky;
  top: 0;
  z-index: 50;
  background: white;
  border-bottom: 1px solid #d0d0d8;
  padding: 0.6rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.admin-status-msg {
  font-size: 0.85rem;
  font-weight: 500;
}

.admin-status-msg.info    { color: #555; }
.admin-status-msg.success { color: #2e7d32; }
.admin-status-msg.error   { color: #c62828; }
.admin-status-msg.warning { color: #f57c00; }
.admin-status-msg.loading { color: #1565c0; }

/* Poster upload area */
.poster-upload-area {
  border: 2px dashed #d0d0d8;
  border-radius: var(--radius);
  padding: 1rem;
  cursor: pointer;
  text-align: center;
  transition: border-color var(--transition);
  background: #f9f9fb;
}

.poster-upload-area:hover {
  border-color: #1565c0;
}

.poster-preview {
  width: 80px;
  height: 120px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  display: none;
  margin: 0 auto 0.5rem;
}

.poster-upload-label {
  font-size: 0.85rem;
  color: #777;
}

/* Screening rows in admin block form */
.screen-section {
  margin-bottom: 1rem;
}

.screening-rows {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.screening-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr auto;
  gap: 0.5rem;
  align-items: center;
  background: #f5f5fa;
  border: 1px solid #e0e0e8;
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.75rem;
}

.add-screening-btn {
  font-size: 0.8rem;
  padding: 0.3rem 0.75rem;
  background: #e8f4fd;
  color: #1565c0;
  border: 1px solid #bbdefb;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.admin-checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #333;
  cursor: pointer;
}

.admin-checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}

/* Per-day showtime editor (current-movie form): one row per weekday with a
   "playing" checkbox, that day's start time, and an "open captions" toggle. */
.admin-day-rows {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.admin-day-row {
  display: grid;
  grid-template-columns: 7rem 1fr auto;
  align-items: center;
  gap: 0.75rem;
}

.admin-day-row .form-input:disabled {
  opacity: 0.45;
}

.admin-day-row .admin-checkbox-label input:disabled {
  cursor: default;
}

@media (max-width: 540px) {
  .admin-day-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-border);
  }
}

/* Event movie picker: checkbox list of Coming Soon titles to attach to an event. */
.event-movie-picker {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  max-height: 14rem;
  overflow-y: auto;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
}

.event-movie-picker .admin-hint {
  margin: 0;
}

.event-movie-picker__stale {
  color: var(--color-rust);
  font-size: 0.8rem;
}

/* === 22. RESPONSIVE — 768px+ === */

@media (min-width: 768px) {
  .home-hero-banner .container {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .hero-layout {
    flex-direction: row;
    align-items: center;
    gap: 3rem;
  }

  .hero-schedule-col {
    flex: 0 0 55%;
    min-width: 0;
  }

  .hero-text-col {
    flex: 1;
    min-width: 0;
    border-left: 1px dashed rgba(255, 255, 255, 0.45);
    padding-left: 3rem;
  }

  /* When a screen has more than two films, give the schedule column more
     horizontal room so titles don't squish. Toggled by JS via the
     .hero-layout--wide-schedule class. Films may wrap to a second row rather
     than cram into one. */
  .hero-layout--wide-schedule .hero-schedule-col {
    flex-basis: 72%;
  }
  .hero-layout--wide-schedule .schedule-widget .screen-movies {
    flex-wrap: wrap;
  }
  .hero-layout--wide-schedule .schedule-widget .screen-movies .movie {
    flex: 1 1 200px;
  }

  .hero-text-col h1 {
    font-size: clamp(2rem, 3.5vw, 3rem);
  }

  .hero-text-col .tagline {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
  }

  .navbar .brand a {
    width: 258px;
    height: 63px;
  }


  .schedule-widget .screen-movies {
    flex-direction: row;
    gap: 2rem;
  }

  .schedule-widget .screen-movies .movie {
    flex: 1;
    min-width: 0;
  }

  .schedule-widget .movie-artwork {
    width: 115px;
  }

  .schedule-tabs-mobile {
    display: none;
  }

  .schedule-tabs {
    display: flex;
  }

  .schedule-main {
    padding: 3rem;
    border-radius: 0 0.5rem 0.5rem 0.5rem;
  }

  .schedule-sidebar {
    display: flex;
    gap: 2.5rem;
    border-bottom: none;
    padding-bottom: 0;
    border-bottom: 1px dashed var(--color-accent);
    padding-bottom: 2rem;
    margin-bottom: 2rem;
  }

  .schedule-sidebar .schedule-info {
    flex: 1;
    border-right: 1px dashed var(--color-accent);
    padding-right: 2.5rem;
    margin-bottom: 0;
  }

  .schedule-sidebar .schedule-admission {
    flex: 1;
    padding-left: 0;
  }

  .schedule-screen .screen-movies {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2rem;
  }

  .schedule-screen .movie {
    flex: 0 0 calc(50% - 1rem);
    max-width: calc(50% - 1rem);
  }

  .schedule-screen .movie-artwork {
    width: 45%;
  }

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

  .home-feature .container > div {
    flex-direction: row;
  }

  .home-feature .feature-image {
    width: 60%;
  }

  .home-feature .feature-content {
    width: 35%;
    padding: 1.5rem 4rem;
  }

  .info-links {
    flex-direction: row;
    justify-content: space-between;
  }

  .site-footer-main .container {
    flex-direction: row;
    align-items: flex-start;
    gap: 2rem;
  }

  .site-footer-main .brand a {
    width: 240px;
    margin: 0;
  }

  .site-footer-main .info {
    flex: 1;
    max-width: 500px;
    margin-left: 4rem;
  }

  .site-footer-credits .container {
    flex-direction: row;
    text-align: left;
  }

  .contact-grid {
    grid-template-columns: 1fr 2fr;
  }
}

/* === 23. RESPONSIVE — 1024px+ (desktop nav) === */

@media (min-width: 1024px) {
  .mobile-nav-btn {
    display: none;
  }

  .navbar .container-full {
    padding-top: 0;
    padding-bottom: 0;
  }

  .navbar .site-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    position: static;
    background: none;
    padding: 0;
    height: var(--nav-height);
    gap: 0;
  }

  .navbar .site-nav .menu {
    flex-direction: row;
    margin: 0 1.5rem 0 0;
  }

  .navbar .site-nav .menu > li > a {
    font-size: 0.875rem;
    line-height: 1.25rem;
    padding: 0 1rem;
    border-bottom: none;
    border-right: 1px solid #9fa9ae;
    font-size: 0.9rem;
  }

  .navbar .site-nav .menu > li:last-child > a {
    border-right: none;
  }

  .navbar .site-nav .menu > li.active > a {
    color: var(--color-gold);
  }

  .navbar .nav-social {
    margin-top: 0;
  }
}

/* === Header mailing-list signup (Buttondown) === */
.header-signup {
  background: var(--color-accent-light);
  border-top: 1px solid var(--color-border);
  padding: 0.55rem 1rem;
}

.header-signup .embeddable-buttondown-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  max-width: 760px;
  margin: 0 auto;
}

.header-signup label {
  font-family: var(--font-display);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-dark);
}

.header-signup input[type="email"] {
  flex: 1 1 220px;
  max-width: 280px;
  padding: 0.4rem 0.65rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font: inherit;
}

.header-signup input[type="submit"] {
  padding: 0.4rem 1rem;
  border: none;
  border-radius: var(--radius-sm);
  background: var(--color-rust);
  color: #fff;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.header-signup input[type="submit"]:hover {
  background: var(--color-accent-dark);
}

.header-signup p {
  flex-basis: 100%;
  margin: 0;
  text-align: center;
  font-size: 0.7rem;
}

.header-signup p a {
  color: var(--color-text-muted);
}

/* === MESA EVENTS PAGE === */

/* Outer container: a column that stacks each event so they read as clearly
   separate blocks. Each .event-card is a self-contained group. */
.events-list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-top: 2rem;
}

.event-card {
  background: var(--color-surface-raised);
  border: 1px solid var(--color-border);
  border-left: 5px solid var(--color-accent);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
}

/* Title + date/price badges share a wrapping row so they sit inline on
   desktop and stack gracefully on narrow screens. */
.event-card__header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 0.9rem;
  margin-bottom: 0.85rem;
}

.event-title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.6vw, 1.6rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.1;
  color: var(--color-accent-dark);
  margin: 0;
  margin-right: auto;   /* push date/price badges to the right on wide rows */
}

.event-date,
.event-price {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.28rem 0.65rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.event-date {
  color: var(--color-rust);
  background: rgba(175, 85, 51, 0.1);
}

.event-price {
  color: #8a6410;
  background: rgba(229, 161, 44, 0.18);
}

.event-desc {
  color: var(--color-text);
  margin: 0 0 1.1rem;
  max-width: 62ch;
}

/* Small caption introducing the film group inside an event. */
.event-films__label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin: 0 0 0.6rem;
}

/* The films within one event: a wrapping flex row of chips, clearly grouped
   together and distinct from other events' films. */
.event-films {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.film-chip {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-dark);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 2rem;
  padding: 0.4rem 0.95rem;
  line-height: 1.3;
}

.film-chip .film-year {
  color: var(--color-text-muted);
  font-weight: 400;
  margin-left: 0.25rem;
}

.event-actions {
  margin-top: 0.25rem;
}

/* Movie posters attached to an event (snapshotted from Coming Soon): a wrapping
   row of small poster thumbnails with a title caption under each. */
.event-posters {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.event-poster {
  width: 110px;
  margin: 0;
  text-align: center;
}

.event-poster img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: var(--color-bg);
}

.event-poster figcaption {
  margin-top: 0.35rem;
  font-size: 0.78rem;
  line-height: 1.2;
  color: var(--color-text-muted);
}

@media (max-width: 480px) {
  .event-card {
    padding: 1.25rem 1.25rem;
  }
  /* On the narrowest screens let the title own its line and the badges wrap
     underneath it, left-aligned. */
  .event-title {
    margin-right: 0;
    flex-basis: 100%;
  }
}

/* === NEWSLETTER (Buttondown) inline submit status === */
.bd-status {
  flex-basis: 100%;
  width: 100%;
  margin: 0.4rem 0 0;
  font-size: 0.85rem;
  line-height: 1.35;
}
.bd-status--success { color: var(--color-success); }
.bd-status--error   { color: var(--color-error); }
