/* "Old journal" quote carousel — index.html, above the raw-cashew section */

.journal-carousel {
  position: relative;
  width: 100%;
  height: 560px;
  overflow: hidden;
  background: #0c0803;
}

.journal-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 1;
  transition: opacity 1s ease;
  pointer-events: none;
}

.journal-slide.active {
  opacity: 1;
  z-index: 2;
  pointer-events: auto;
}

.journal-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: sepia(0.45) contrast(1.05) brightness(0.8);
  transform: scale(1);
  transition: transform 3.6s linear;
}

.journal-slide.active .journal-slide-bg {
  transform: scale(1.08);
}

.journal-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(ellipse at center, rgba(20, 10, 0, 0.25) 0%, rgba(8, 4, 0, 0.8) 100%);
}

.journal-slide-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 12%;
  color: #f7f1e6;
}

.journal-quote-mark {
  font-family: "Playfair Display", serif;
  font-size: 5rem;
  line-height: 0.5;
  color: var(--copper);
  opacity: 0.85;
  margin-bottom: 14px;
  display: block;
}

.journal-quote {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-weight: 600;
  font-size: 2rem;
  line-height: 1.35;
  max-width: 900px;
  margin: 0 0 22px 0;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.65);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.9s ease 0.3s, transform 0.9s ease 0.3s;
}

.journal-slide.active .journal-quote {
  opacity: 1;
  transform: translateY(0);
}

.journal-attribution {
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--copper2);
  position: relative;
  padding-top: 16px;
  opacity: 0;
  transition: opacity 0.9s ease 0.5s;
}

.journal-slide.active .journal-attribution {
  opacity: 1;
}

.journal-attribution::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: var(--copper);
}

.journal-attribution span {
  display: block;
  text-transform: none;
  letter-spacing: 0.5px;
  font-weight: 400;
  opacity: 0.85;
  margin-top: 4px;
  font-size: 0.85rem;
}

.journal-progress {
  position: absolute;
  top: 18px;
  left: 5%;
  width: 90%;
  z-index: 5;
  display: flex;
  gap: 6px;
}

.journal-progress .segment {
  flex: 1;
  height: 3px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  overflow: hidden;
}

.journal-progress .fill {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--copper);
}

@media (max-width: 768px) {
  .journal-carousel {
    height: 460px;
  }

  .journal-quote {
    font-size: 1.3rem;
  }

  .journal-quote-mark {
    font-size: 3.5rem;
  }

  .journal-slide-content {
    padding: 50px 8%;
  }

  .journal-attribution {
    font-size: 0.8rem;
  }
}
