/* Crisis Hotline - exact visual match rebuild */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  background-color: #000000;
  color: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  min-height: 100vh;
  line-height: 1.4;
}

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.8;
}

/* ========== HEADER / NAV ========== */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px 16px;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.logo {
  display: block;
  height: 144px;
  width: auto;
}

.logo img {
  height: 144px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  gap: 36px;
  align-items: center;
}

.main-nav a {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #ffffff;
}

.main-nav a.active,
.main-nav a:hover {
  color: #f5c518; /* yellow/gold */
}

/* ========== LANDING PAGE ========== */
.landing {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px 60px;
  position: relative;
}

.landing-links {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 50px;
}

.landing-links a {
  font-size: 28px;
  font-weight: 700;
  color: #f5c518;
  text-decoration: underline;
  text-underline-offset: 6px;
  letter-spacing: 1px;
}

.landing-links a:hover {
  opacity: 0.85;
}

.cd-wrapper {
  background: #ffffff;
  padding: 12px;
  display: inline-block;
  margin-bottom: 50px;
  max-width: 420px;
  width: 90%;
}

.cd-wrapper img {
  display: block;
  width: 100%;
  height: auto;
}

/* Newsletter box - lime green exact match */
.newsletter-box {
  background-color: #c6e55b; /* lime/chartreuse */
  color: #000000;
  padding: 22px 28px;
  max-width: 420px;
  width: 90%;
  text-align: left;
}

.newsletter-box h2 {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-end;
}

.newsletter-form label {
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
  font-weight: 600;
}

.newsletter-form input[type="email"] {
  flex: 1;
  min-width: 180px;
  padding: 10px 12px;
  border: 1px solid #000;
  background: #fff;
  font-size: 14px;
  color: #000;
}

.newsletter-form button {
  padding: 10px 20px;
  background: transparent;
  border: 1.5px solid #000;
  color: #000;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.newsletter-form button:hover {
  background: #000;
  color: #c6e55b;
}

/* ========== CONTENT PAGES (ART / FILM / MUSIC) ========== */
.page-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 40px 80px;
}

.section-label {
  color: #f5c518;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 30px;
  text-align: center;
}

.marquee-bar {
  color: #f5c518;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  overflow: hidden;
  margin-bottom: 48px;
  width: 100%;
  line-height: 1.4;
  padding: 8px 0;
  border-top: 1px solid #333;
  border-bottom: 1px solid #333;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll var(--marquee-dur, 40s) linear infinite;
  will-change: transform;
}
/* Two identical groups; each is at least as wide as the bar, so translateX(-50%) loops seamlessly */
.marquee-group {
  display: flex;
  flex-shrink: 0;
}
.marquee-item {
  flex-shrink: 0;
  white-space: nowrap;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
/* Marquee always scrolls (intentionally no prefers-reduced-motion freeze; Android "Remove animations"/battery saver would stop it) */

/* Standard grid (used by MUSIC) */
/* MUSIC page album grid: exactly 3 per row on desktop, centered, capped width (mobile.css keeps 3-up on phones) */
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px 32px;
  justify-items: center;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.grid-item {
  text-align: center;
  max-width: 300px;
  width: 100%;
}

.grid-item img,
.grid-item .poster {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid #222;
  background: #111;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.grid-item .caption {
  margin-top: 10px;
  font-size: 13px;
  color: #aaa;
  line-height: 1.35;
}

.grid-item .caption strong {
  color: #fff;
  display: block;
  margin-bottom: 2px;
  font-weight: 600;
}

/* ========== LETTERBOXD-STYLE FILMOGRAPHY GRID ========== */
.film-filters {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 0 0 32px;
  flex-wrap: wrap;
}
.filter-btn {
  background: transparent;
  border: 1px solid #444;
  color: #ccc;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.15s;
}
.filter-btn:hover,
.filter-btn.active {
  border-color: #f5c518;
  color: #f5c518;
}
.film-row {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 0 8px 28px;
  margin-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: #333 transparent;
}
.film-row::-webkit-scrollbar { height: 6px; }
.film-row::-webkit-scrollbar-thumb { background: #333; border-radius: 3px; }

.lb-item {
  text-align: left;
  flex: 0 0 200px;
  min-width: 180px;
}

.lb-item a {
  display: block;
}

.lb-poster {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  display: block;
  background: #111;
  border: 1px solid #333;
  border-radius: 2px;
  transition: opacity 0.15s ease, border-color 0.15s ease;
}

.lb-item a:hover .lb-poster {
  opacity: 0.85;
  border-color: #f5c518;
}

.lb-meta {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.35;
}

.lb-title {
  color: #fff;
  font-weight: 600;
  display: block;
}

.lb-year {
  color: #888;
  font-weight: 400;
}

.lb-roles {
  color: #666;
  font-size: 11px;
  margin-top: 2px;
  display: block;
}

/* Artwork page - mosaic / masonry style (equal weight, equal gaps, no crop) */
.art-grid {
  column-count: 3;
  column-gap: 28px;
  max-width: 1600px;
  margin: 0 auto;
}

.art-grid .item {
  break-inside: avoid;
  margin-bottom: 28px;
  width: 100%;
}

.art-grid img {
  width: 100%;
  height: auto;
  display: block;
  border: none;
  border-radius: 0;
  background: #111;
  object-fit: contain;
}

@media (max-width: 1000px) {
  .art-grid {
    column-count: 2;
    column-gap: 20px;
  }
  .art-grid .item {
    margin-bottom: 20px;
  }
}

@media (max-width: 560px) {
  .art-grid {
    column-count: 1;
  }
}

/* ========== CONTACT PAGE ========== */
.contact-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  text-align: center;
  padding: 40px 20px;
}

.contact-email {
  font-size: 28px;
  font-weight: 700;
  color: #f5c518;
  margin-bottom: 40px;
  letter-spacing: 0.5px;
}

.contact-photo {
  background: #fff;
  padding: 12px;
  max-width: 320px;
  width: 90%;
}

.contact-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.contact-caption {
  margin-top: 16px;
  font-size: 16px;
  font-weight: 700;
  color: #000;
  background: #fff;
  padding: 8px;
  text-transform: uppercase;
}

/* ========== FOOTER ========== */
.site-footer {
  text-align: center;
  padding: 30px 20px;
  font-size: 12px;
  color: #666;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .site-header {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
  }

  .main-nav {
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .landing-links a {
    font-size: 22px;
  }

  .page-content {
    padding: 20px 16px 60px;
  }

  .art-grid {
    grid-template-columns: 1fr 1fr;
  }

  .art-grid .item,
  .art-grid .item.wide {
    grid-column: span 1;
  }

  .letterboxd-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 20px 12px;
  }
}

@media (max-width: 500px) {
  .main-nav {
    gap: 14px;
  }

  .main-nav a {
    font-size: 13px;
  }

  .landing-links a {
    font-size: 20px;
  }

  .newsletter-form {
    flex-direction: column;
    align-items: stretch;
  }

  .newsletter-form button {
    width: 100%;
  }

  .art-grid {
    grid-template-columns: 1fr;
  }
}

/* Utility */
.hidden {
  display: none;
}

img {
  max-width: 100%;
  height: auto;
}


/* Social icons above copyright */
.social-footer {
  display: flex;
  justify-content: center;
  gap: 18px;
  padding: 20px 0 8px;
}
.social-footer a img {
  width: 36px;
  height: 36px;
  display: block;
  opacity: 0.9;
  transition: opacity 0.15s;
}
.social-footer a:hover img {
  opacity: 1;
}
