/* I Was There - Film Website */



/* ============================================
   CSS Variables
   ============================================ */
:root {
  --color-bg: #faf9f7;
  --color-bg-alt: #f0efed;
  --color-text: #2d2d2d;
  --color-text-light: #5a5a5a;
  --color-accent: #8b7355;
  --color-border: #e0ddd8;
  
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-xxl: 10rem;
  
  --max-width: 1200px;
  --max-width-text: 720px;
}

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

html {
  font-size: 22px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

h1 {
  font-size: 3rem;
  margin-bottom: var(--space-md);
}

h2 {
  font-size: 1.75rem;
  margin-bottom: var(--space-md);
  color: var(--color-text);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 500;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
}

.section-title--spaced {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-xl);
  text-align: center;
}

p {
  margin-bottom: var(--space-sm);
}

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

a {
  color: var(--color-accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

a:hover {
  border-bottom-color: var(--color-accent);
}

/* External link indicator for links opening in new tabs */
a[target="_blank"]::after {
  content: " ↗";
  font-size: 0.75em;
  vertical-align: super;
  opacity: 0.7;
}

/* Exclude external indicator from nav links and credit links */
.nav__link[target="_blank"]::after,
.credit-link[target="_blank"]::after,
.book-image-link[target="_blank"]::after {
  content: none;
}

em, .film-title {
  font-style: italic;
}

blockquote {
  font-size: 1.35rem;
  font-style: italic;
  color: var(--color-text-light);
  border-left: 2px solid var(--color-border);
  padding-left: var(--space-md);
  margin: var(--space-lg) 0;
}

blockquote cite {
  display: block;
  font-size: 1rem;
  font-style: normal;
  margin-top: var(--space-sm);
  color: var(--color-text);
}

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

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

section {
  padding: var(--space-xl) 0;
}

section + section {
  border-top: 1px solid var(--color-border);
}

/* ============================================
   Navigation
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-md);
}

.nav__toggle {
  width: 48px;
  height: 48px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.nav__toggle:hover {
  background: rgba(0, 0, 0, 0.8);
  border-color: rgba(255, 255, 255, 0.3);
}

.nav__icon {
  width: 20px;
  height: 2px;
  background: #faf9f7;
  position: relative;
  transition: all 0.3s ease;
}

.nav__icon::before,
.nav__icon::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 2px;
  background: #faf9f7;
  left: 0;
  transition: all 0.3s ease;
}

.nav__icon::before {
  top: -6px;
}

.nav__icon::after {
  top: 6px;
}

/* Hamburger to X animation */
.nav--open .nav__icon {
  background: transparent;
}

.nav--open .nav__icon::before {
  top: 0;
  transform: rotate(45deg);
}

.nav--open .nav__icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav__menu {
  position: absolute;
  top: calc(100% + var(--space-xs));
  right: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: var(--space-sm) 0;
  min-width: 200px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.nav--open .nav__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__list {
  list-style: none;
  margin: 0;
  padding: 0 0 var(--space-md) 0; /* Extra space at bottom for last item */
}

.nav__link {
  display: block;
  padding: var(--space-sm) var(--space-md);
  color: #faf9f7;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-decoration: none;
  border-bottom: none;
  transition: all 0.2s ease;
}

.nav__link:hover {
  background: rgba(255, 255, 255, 0.1);
  border-bottom: none;
}

/* Close button - hidden by default on desktop dropdown */
.nav__close {
  display: none;
}

/* Navigation - Mobile full-width menu */
@media (max-width: 500px) {
  .nav {
    padding: var(--space-xs) var(--space-sm);
    top: 0;
  }
  
  /* Move hamburger up to avoid touching hero title */
  .nav__toggle {
    width: 44px;
    height: 44px;
  }
  
  .nav__menu {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    min-width: unset;
    max-height: 100vh;
    border-radius: 0;
    padding: var(--space-xl) var(--space-md) var(--space-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
  }
  
  /* Show close button on mobile */
  .nav__close {
    display: flex;
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    width: 50px;
    height: 50px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.2s ease;
    align-items: center;
    justify-content: center;
    line-height: 1;
  }
  
  .nav__close:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
  }
  
  .nav__list {
    width: 100%;
    text-align: center;
  }
  
  .nav__link {
    font-size: 1.1rem;
    padding: var(--space-md) var(--space-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .nav__link:last-child {
    border-bottom: none;
  }
}

/* ============================================
   Header / Hero
   ============================================ */
.hero {
  background-color: #1a1a1a;
  color: #faf9f7;
}

.hero__image-container {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__image {
  width: 100%;
  height: auto;
  display: block;
}

.hero__title {
  position: absolute;
  font-size: clamp(2.5rem, 10vw, 6rem);
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-align: center;
  color: #faf9f7;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
  margin: 0;
  padding: 0 var(--space-md);
}

.hero__info {
  text-align: center;
  padding: var(--space-xl) var(--space-md) var(--space-lg);
  background-color: #1a1a1a;
}

.hero__tagline {
  font-size: 1.2rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  opacity: 0.9;
  margin-bottom: var(--space-sm);
}

.hero__meta {
  font-size: 1rem;
  letter-spacing: 0.05em;
  opacity: 0.6;
}

/* ============================================
   Next Screening
   ============================================ */
.next-screening {
  background-color: var(--color-bg);
  color: var(--color-text);
  padding: var(--space-xl) 0;
  border-top: none;
}

.next-screening + section {
  border-top: none;
}


.next-screening__wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
}

.next-screening__laurel {
  flex-shrink: 0;
}

.next-screening__laurel img {
  height: 180px;
  width: auto;
}

.next-screening__info {
  text-align: left;
}

.next-screening__festival {
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
  color: var(--color-text);
}

.next-screening__dates {
  display: flex;
  gap: var(--space-lg);
}

.next-screening__event {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-left: var(--space-sm);
  border-left: 2px solid var(--color-accent);
}

.next-screening__date {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--color-text);
}

.next-screening__venue {
  font-size: 0.9rem;
  color: var(--color-text-light);
}

.next-screening__address {
  font-size: 0.75rem;
  color: var(--color-text-light);
  letter-spacing: 0.02em;
}

.next-screening__tickets {
  display: inline-block;
  margin-top: var(--space-xs);
  padding: 0.4em 1em;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-bg);
  background: var(--color-accent);
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.next-screening__tickets:hover {
  background: var(--color-text);
  transform: translateY(-1px);
}

.next-screening__venue-info {
  margin-top: var(--space-md);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

@media (max-width: 900px) {
  .next-screening__wrap {
    flex-direction: column;
    text-align: center;
    gap: var(--space-md);
  }
  
  .next-screening__info {
    text-align: center;
  }
  
  .next-screening__dates {
    flex-direction: column;
    gap: var(--space-md);
  }
  
  .next-screening__event {
    border-left: none;
    border-top: 2px solid var(--color-accent);
    padding-left: 0;
    padding-top: var(--space-sm);
  }
  
  .next-screening__laurel img {
    height: 140px;
  }
  
  .next-screening__venue-info {
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 500px) {
  .next-screening__laurel img {
    height: 120px;
  }
  
  .next-screening__festival {
    font-size: 1.2rem;
  }
}

/* ============================================
   Logline Only Section
   ============================================ */
/* Synopsis Section - matches About section styling */
#synopsis {
  padding: var(--space-xl) 0;
}

/* ============================================
   Poster Section
   ============================================ */
.poster-section {
  background-color: var(--color-bg-alt);
}

.poster-display {
  display: flex;
  justify-content: center;
}

.poster-display__img {
  max-width: 400px;
  width: 100%;
  height: auto;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.poster-display__img:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

@media (max-width: 500px) {
  .poster-display__img {
    max-width: 300px;
  }
}

.synopsis-text {
  font-size: 1.5rem;
  line-height: 1.8;
  color: var(--color-text-light);
  margin-bottom: var(--space-md);
}

.synopsis-text:last-child {
  margin-bottom: 0;
}

@media (max-width: 600px) {
  .synopsis-text {
    font-size: 1.25rem;
  }
}

/* ============================================
   Trailer Video
   ============================================ */
.trailer-section {
  background-color: #1a1a1a;
  padding: var(--space-xl) 0;
}

.trailer-section h2 {
  color: #faf9f7;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  max-width: 1125px;
  margin: 0 auto;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ============================================
   Laurels
   ============================================ */
.laurels-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg) 0;
}

.laurels-winner {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-md);
}

.laurels-winner img {
  height: 240px;
  width: auto;
  opacity: 0.9;
  filter: grayscale(100%);
  transition: all 0.3s ease;
}

.laurels-winner img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

.laurels-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-lg);
}

.laurels-row img {
  height: 180px;
  width: auto;
  opacity: 0.85;
  filter: grayscale(100%);
  transition: all 0.3s ease;
}

.laurels-row img:hover {
  opacity: 1;
  filter: grayscale(0%);
}


/* ============================================
   Film Stills Gallery
   ============================================ */
.stills-section {
  padding: var(--space-xl) 0;
  overflow: hidden;
  background-color: #1a1a1a;
}

.stills-section h2 {
  margin-top: var(--space-lg);
  color: #faf9f7;
}

/* ============================================
   Image Carousel
   ============================================ */
.carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  max-width: 1125px;
  margin: 0 auto;
}

.carousel__viewport {
  overflow: hidden;
  flex: 1;
  border-radius: 2px;
}

.carousel__track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel__img {
  width: 100%;
  height: auto;
  flex-shrink: 0;
  cursor: pointer;
  display: block;
}

.carousel__btn {
  position: relative;
  width: 50px;
  height: 50px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  font-size: 1.8rem;
  color: var(--color-text);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
  padding-bottom: 4px;
}

.carousel__btn:hover {
  background: var(--color-text);
  color: var(--color-bg);
  border-color: var(--color-text);
}


.carousel__dots {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.carousel__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-border);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  /* Expand touch target with padding while keeping visual size small */
  padding: 0;
  position: relative;
}

/* Invisible touch target expansion */
.carousel__dot::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.carousel__dot:hover {
  background: var(--color-text-light);
}

.carousel__dot--active {
  background: var(--color-accent);
  transform: scale(1.3);
}

/* ============================================
   Lightbox
   ============================================ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox--open {
  display: flex;
  opacity: 1;
}

.lightbox__content {
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
}

.lightbox__close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 50px;
  height: 50px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.lightbox__close:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
}

.lightbox__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding-bottom: 5px;
}

.lightbox__btn:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
}

.lightbox__btn--prev {
  left: var(--space-md);
}

.lightbox__btn--next {
  right: var(--space-md);
}

.lightbox__counter {
  position: absolute;
  bottom: var(--space-md);
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
}

/* ============================================
   Responsive - Galleries
   ============================================ */
@media (max-width: 768px) {
  .carousel__btn {
    width: 40px;
    height: 40px;
    font-size: 1.4rem;
  }
  
  .lightbox__btn {
    width: 45px;
    height: 45px;
    font-size: 1.8rem;
  }
  
  .lightbox__btn--prev {
    left: var(--space-sm);
  }
  
  .lightbox__btn--next {
    right: var(--space-sm);
  }
}

@media (max-width: 500px) {
  .carousel {
    flex-direction: column;
    gap: var(--space-sm);
  }
  
  .carousel__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.9);
  }
  
  .carousel__btn--prev {
    left: var(--space-xs);
  }
  
  .carousel__btn--next {
    right: var(--space-xs);
  }
}

/* ============================================
   Section Divider
   ============================================ */
.section-divider {
  width: 200px;
  height: 1px;
  background: var(--color-border);
  margin: var(--space-md) auto;
  opacity: 0.8;
}

/* ============================================
   Text Sections
   ============================================ */
.text-section {
  max-width: var(--max-width-text);
  margin: 0 auto;
}

.text-section h2 {
  text-align: center;
}

/* ============================================
   Screenings List
   ============================================ */
.screenings-section {
  background-color: var(--color-bg-alt);
}

/* Widen this section only so long festival names fit on one line.
   Falls back to a fluid width on smaller viewports. */
.screenings-section .container--narrow {
  max-width: 920px;
}

.laurels-section {
  background-color: var(--color-bg);
}

.laurels-section h2 {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.screenings-year {
  margin-bottom: var(--space-lg);
}

.screenings-year h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

.screenings-list {
  list-style: none;
}

.screenings-list li {
  padding: var(--space-xs) 0;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

.screenings-list li:last-child {
  border-bottom: none;
}

.screening-name {
  font-weight: 500;
}

.screening-location {
  color: var(--color-text-light);
}

.screening-item--award {
  flex-wrap: wrap;
}

.screening-item--award .screening-award {
  flex-basis: 100%;
  margin-left: 0;
  font-size: 0.85rem;
  color: #666;
  margin-top: -0.5rem;
}


/* ============================================
   Technical Details
   ============================================ */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-md);
}

.tech-item {
  padding: var(--space-sm) 0;
  text-align: center;
}

.tech-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-text-light);
  margin-bottom: var(--space-xs);
}

.tech-value {
  font-size: 1.1rem;
}

.tech-note {
  margin-top: var(--space-md);
  color: var(--color-text-light);
  font-size: 0.9rem;
  text-align: center;
}

/* ============================================
   Credits
   ============================================ */
.credits-section {
  background-color: var(--color-bg-alt);
}

.credit-featured {
  text-align: center;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--color-border);
}

.tech-value--large {
  font-size: 1.5rem;
  font-weight: 500;
}

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

.credits-grid .tech-item {
  text-align: center;
}

@media (max-width: 500px) {
  .credits-grid {
    grid-template-columns: 1fr;
  }
  
  /* Reduce footer height on phones */
  .footer__image-container {
    min-height: 320px;
  }
}

/* Credit Links - No decoration by default, subtle hover */
.credit-link {
  color: inherit;
  text-decoration: none;
  border-bottom: none;
  transition: opacity 0.2s ease;
}

.credit-link:hover {
  opacity: 0.6;
  border-bottom: none;
}

/* ============================================
   Companion Book
   ============================================ */
.book-section {
  background-color: var(--color-bg-alt);
}

.book-section > .container > h2 {
  text-align: center;
}

.book-wrap {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--space-xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.book-image-link {
  display: block;
  border: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.book-image-link:hover {
  transform: translateY(-4px);
  border: none;
}

.book-image {
  width: 100%;
  height: auto;
  display: block;
  box-shadow: 
    0 4px 6px rgba(0, 0, 0, 0.1),
    0 10px 30px rgba(0, 0, 0, 0.15),
    -4px 0 10px rgba(0, 0, 0, 0.05);
  border-radius: 2px;
}

.book-image-link:hover .book-image {
  box-shadow: 
    0 8px 12px rgba(0, 0, 0, 0.12),
    0 20px 40px rgba(0, 0, 0, 0.2),
    -6px 0 15px rgba(0, 0, 0, 0.08);
}

.book-content {
  padding: var(--space-md) 0;
}

.book-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
  font-weight: 500;
}

.book-title {
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  margin-bottom: var(--space-xs);
  text-transform: none;
  color: var(--color-text);
}

.book-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-light);
  margin-bottom: var(--space-md);
}

.book-description {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-text);
  margin-bottom: var(--space-md);
}

.book-details {
  font-size: 0.95rem;
  color: var(--color-text-light);
}

.book-details a {
  color: var(--color-accent);
  font-weight: 500;
}

@media (max-width: 768px) {
  .book-wrap {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-lg);
  }
  
  .book-image-link {
    max-width: 220px;
    margin: 0 auto;
  }
}

/* ============================================
   Contact / Footer
   ============================================ */
.footer {
  text-align: center;
  color: #faf9f7;
  font-size: 1.1rem;
}

.footer__image-container {
  position: relative;
  width: 100%;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.footer__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.footer__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.6) 50%,
    rgba(0, 0, 0, 0.8) 100%
  );
}

.footer__content {
  position: relative;
  z-index: 1;
  padding: var(--space-xl) var(--space-md);
}

.footer a {
  color: #faf9f7;
  opacity: 0.85;
  transition: opacity 0.3s ease;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.footer a:hover {
  opacity: 1;
  border-bottom-color: #faf9f7;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.footer-links__row {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
}

@media (max-width: 400px) {
  .footer-links__row {
    flex-direction: column;
    gap: var(--space-sm);
  }
}

.footer__copyright {
  margin-top: var(--space-lg);
  font-size: 0.9rem;
  opacity: 0.6;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 900px) {
  html {
    font-size: 18px; /* First step down from 22px desktop */
  }
}

@media (max-width: 600px) {
  /* Second step down from 18px tablet */
  html {
    font-size: 16px;
  }
  
  section {
    padding: var(--space-lg) 0;
  }
  
  .hero__title {
    letter-spacing: 0.15em;
  }
  
  .laurels-winner img {
    height: 180px;
  }
  
  .laurels-row img {
    height: 120px;
  }
  
  .screenings-list li {
    flex-direction: column;
  }
  
  /* Reduce blockquote size on smaller screens */
  blockquote {
    font-size: 1.15rem;
  }
}

/* ============================================
   Small Phone Breakpoint (iPhone SE, etc.)
   ============================================ */
@media (max-width: 375px) {
  html {
    font-size: 15px; /* Final step for smallest screens */
  }
  
  /* Tighter container padding */
  .container {
    padding: 0 var(--space-sm);
  }
  
  /* Smaller H2 headings */
  h2 {
    font-size: 1.4rem;
    letter-spacing: 0.1em;
  }
  
  /* Reduced section title spacing */
  .section-title--spaced {
    margin-top: var(--space-lg);
    margin-bottom: var(--space-lg);
  }
  
  /* Smaller laurels for small phones */
  .laurels-winner img {
    height: 140px;
  }
  
  .laurels-row img {
    height: 90px;
  }
  
  .laurels-row {
    gap: var(--space-md);
  }
  
  /* Tighter Next Screening section */
  .next-screening__laurel img {
    height: 100px;
  }
  
  .next-screening__festival {
    font-size: 1rem;
  }
  
  /* Smaller book title */
  .book-title {
    font-size: 1.5rem;
  }
}

