/* ==========================================================================
   Salam Africa — Homepage CSS v3
   Fun, high-contrast, alive. Hope-inspired.
   ========================================================================== */ /* ═══ HERO ══════════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  height: 100svh;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
} /* Slides live behind */
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: background-image 0.1s;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.1) translateX(10px);
  transition:
    opacity 2s cubic-bezier(0.4, 0, 0.2, 1),
    transform 10s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-slide.active {
  opacity: 1;
  transform: scale(1) translateX(0);
}
@keyframes kenburns {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.07);
  }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.88) 0%,
    rgba(0, 0, 0, 0.5) 42%,
    rgba(0, 0, 0, 0.18) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 var(--pad);
  max-width: 900px;
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(4.5rem, 9vw, 8rem);
  font-weight: 300;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin-bottom: 0.9rem;
}

.hero-title-accent {
  color: var(--gold);
  text-shadow: 4px 4px 4px var(--black);
}

@media (max-width: 420px) {
  .hero-title {
    font-size: 3.2rem;
    line-height: 1.05;
  }
}

/* .hero-title .script removed — script element deleted from markup */
.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: 500;
  color: var(--white);
  max-width: 52ch;
  margin: 0 auto var(--sp-md);
  line-height: 1.65;
  letter-spacing: 0.01em;
}
.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--sp-md);
  flex-wrap: wrap;
} /* slide dots */
.hero-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
  z-index: 3;
}
.hero-dot {
  width: 28px;
  height: 3px;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition:
    background 0.3s,
    width 0.3s;
  border: none;
}
.hero-dot.active {
  background: var(--gold);
  width: 44px;
} /* scroll hint */
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  right: var(--pad);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--sans);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 1);
  writing-mode: vertical-rl;
  z-index: 3;
}
.hero-scroll::before {
  content: "";
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent);
} /* ═══ MANIFESTO ═════════════════════════════════════════════════════════════ */
#manifesto-zebra {
  position: relative;
  background: var(--white);
  overflow: hidden;
}
#manifesto-zebra::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/zebra.jpg");
  background-size: cover;
  background-position: center 30%;
  opacity: 0.07;
  pointer-events: none;
} /* ═══ OPENING SPLIT ══════════════════════════════════════════════════════════ */
.opening-split {
  background: var(--gold);
  padding: var(--sp-3xl) 0;
}
.opening-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: center;
} /* photo collage */
.opening-photos {
  position: relative;
  height: 560px;
}
.op-photo {
  position: absolute;
  border: 8px solid var(--white);
  box-shadow: 0 12px 40px rgba(59, 47, 47, 0.18);
  overflow: hidden;
}
.op-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.6s var(--ease-out);
}
.op-photo:hover {
  z-index: 2;
}
.op-photo:hover img {
  transform: scale(1.05);
}

.op-photo-1 {
  width: 68%;
  aspect-ratio: 3/4;
  top: 0;
  left: 0;
  transform: rotate(-2.5deg);
  transition:
    transform 0.4s var(--ease-spring),
    box-shadow 0.4s;
}
.op-photo-1:hover {
  transform: rotate(0deg) scale(1.02);
  box-shadow: 0 20px 60px rgba(59, 47, 47, 0.28);
}

.op-photo-2 {
  width: 52%;
  aspect-ratio: 1;
  bottom: 0;
  right: 0;
  transform: rotate(2deg);
  transition:
    transform 0.4s var(--ease-spring),
    box-shadow 0.4s;
}
.op-photo-2:hover {
  transform: rotate(0deg) scale(1.03);
  box-shadow: 0 20px 60px rgba(59, 47, 47, 0.25);
}

.opening-text h2 {
  margin-bottom: var(--sp-md);
  word-break: break-word;
  hyphens: auto;
  color: var(--forest);
}
.opening-text p {
  margin-bottom: var(--sp-md);
  /* explicit dark colour — --muted fails WCAG on var(--gold) background */
  color: var(--brown);
}

.opening-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-md);
  margin-top: var(--sp-xl);
  padding-top: var(--sp-lg);
  /* forest-tinted border — var(--border) is invisible on the gold background */
  border-top: 1px solid rgba(19, 44, 8, 0.25);
}
.opening-stat-num {
  font-family: var(--serif);
  font-size: 2.8rem;
  font-weight: 300;
  color: var(--forest);
  line-height: 1;
  display: block;
}
.opening-stat-label {
  font-family: var(--sans);
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  /* --muted (#6f6f6f) fails WCAG on gold — use forest for strong contrast */
  color: var(--forest);
  margin-top: 0.35rem;
  display: block;
} /* ═══ FEATURED JOURNEY ══════════════════════════════════════════════════════ */
.featured-journey {
  background: var(--forest);
  position: relative;
  overflow: hidden;
  padding: var(--sp-3xl) 0;
}

/* ─── HEROIC FEATURED LAYOUT (Adapted from page-destinations.php) ─── */
.dest-feature {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  background: var(--charcoal);
  min-height: 580px;
  text-decoration: none;
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
}

.dest-feature-img-side {
  position: relative;
  overflow: hidden;
}

.dest-feature-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(27, 20, 12, 0.4), transparent);
  z-index: 1;
}

.main-feat-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 12s linear;
}

.dest-feature:hover .main-feat-img {
  transform: scale(1.1);
}

.feat-eyebrow {
  position: absolute;
  top: 2rem;
  left: 2rem;
  z-index: 2;
}

.dest-feature-strip {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  display: flex;
  gap: 0.75rem;
  z-index: 2;
}

.dest-feature-strip img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border: 2px solid var(--white);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.dest-feature-body {
  padding: clamp(2rem, 5vw, 5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  color: var(--white);
}

.pkg-badge {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
  display: block;
}

.dest-feature-body h2 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.1;
  margin-bottom: 1.2rem;
}

.dest-feature-body p {
  color: var(--sage-light);
  max-width: 44ch;
  margin-bottom: 2.5rem;
}

.dest-feature-img-side::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(27, 20, 12, 0);
  transition: background 0.4s ease;
  z-index: 2;
}
.dest-feature:hover .dest-feature-img-side::after {
  background: rgba(27, 20, 12, 0.25);
}

.dest-feature-body .sa-card-arrow {
  position: absolute;
  top: 2.5rem;
  right: 2.5rem;
  transition:
    transform 0.3s var(--ease-spring),
    filter 0.3s;
  filter: brightness(1);
}
.dest-feature:hover .sa-card-arrow {
  transform: scale(1.1);
  filter: brightness(1.3);
}

@media (max-width: 1024px) {
  .dest-feature {
    grid-template-columns: 1fr;
  }
  .dest-feature-img-side {
    height: 400px;
  }
}
@media (max-width: 640px) {
  .dest-feature-img-side {
    height: 300px;
  }
  .dest-feature-strip {
    display: none;
  }
} /* ═══ SAFARIS EDITORIAL GRID ════════════════════════════════════════════════ */ /* e-card base */ /* grid layout */ /* hover reveal overlay */ /* bottom row of 3 small cards */ /* ═══ DESTINATIONS STRIP ════════════════════════════════════════════════════ */

.dest-strip-wrap {
  overflow: hidden;
  cursor: grab;
}
.dest-strip-wrap:active {
  cursor: grabbing;
}
.dest-strip-track {
  display: flex;
  gap: var(--sp-md);
  padding: var(--sp-sm) var(--pad) var(--sp-2xl);
  padding-bottom: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  user-select: none;
}
.dest-strip-track::-webkit-scrollbar {
  display: none;
}
@keyframes strip-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.dest-card {
  flex-shrink: 0;
  width: clamp(220px, 25vw, 300px);
  position: relative;
  overflow: hidden;
  display: block;
  text-decoration: none;
  cursor: pointer;
  transform: rotate(var(--tilt, 0deg));
  transition:
    transform 0.4s var(--ease-spring),
    box-shadow 0.4s;
  background: var(--charcoal);
}
.dest-card:hover {
  transform: rotate(0deg) scale(1.03);
  z-index: 2;
}
.dest-card:nth-child(odd) {
  --tilt: -1.5deg;
}
.dest-card:nth-child(even) {
  --tilt: 1.5deg;
}

.dest-card-img-wrap {
  aspect-ratio: 3/4;
  overflow: hidden;
  position: relative;
}
.dest-card-img-wrap .sa-card-arrow {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 5;
  transform: scale(0.8);
  transition:
    transform 0.3s var(--ease-spring),
    filter 0.3s;
  filter: brightness(0.9);
}
.dest-card:hover .sa-card-arrow {
  transform: scale(1);
  filter: brightness(1.2);
  animation: arrow-bounce 0.6s var(--ease-spring) forwards;
}
@keyframes arrow-bounce {
  0%,
  100% {
    transform: scale(1) translateY(0);
  }
  50% {
    transform: scale(1.1) translateY(-5px);
  }
}
@media (max-width: 768px) {
  .dest-card-img-wrap {
    aspect-ratio: 2/3;
  }
  .dest-strip-track .dest-card {
    width: clamp(130px, 38vw, 155px) !important;
  }
  .dest-card-excerpt {
    display: none;
  }
  .dest-strip-track {
    gap: 0.8rem;
    padding-inline: var(--sp-sm);
  }
}
.dest-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--ease-out);
}
.dest-card:hover .dest-card-img {
  transform: scale(1.06);
}
.dest-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(27, 20, 12, 0.5) 0%,
    transparent 100%
  );
  pointer-events: none;
}
.dest-card-body {
  padding: var(--sp-md);
  color: var(--white);
}
.dest-card-eyebrow {
  font-family: var(--sans);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.3rem;
}
.dest-card-title {
  color: var(--white);
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  margin-bottom: 0.4rem;
}
.dest-card-excerpt {
  font-size: 0.8rem;
  color: var(--sage-light);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
} /* ═══ OUR PHILOSOPHY (replaces "Janar knows Africa") ════════════════════════ */
.philosophy-section {
  background: var(--brown);
  padding: var(--sp-3xl) 0;
  position: relative;
  overflow: hidden;
}
/* Text on dark forest background — must be explicitly white or near-white */
.philosophy-section h2 {
  color: var(--white);
}
.philosophy-section p {
  color: var(--white);
} /* decorative zebra bg */
.philosophy-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/zebra_pattern.svg") center / cover;
  opacity: 0.04;
  pointer-events: none;
}

.philosophy-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: center;
  position: relative;
} /* stacked photos in philosophy */
.phil-photos {
  position: relative;
  height: 520px;
}
.phil-photo {
  position: absolute;
  border: 7px solid var(--white);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}
.phil-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}
.phil-photo-1 {
  width: 65%;
  aspect-ratio: 2/3;
  top: 0;
  right: 0;
  transform: rotate(2deg);
  transition: transform 0.4s var(--ease-spring);
}
.phil-photo-1:hover {
  transform: rotate(0deg);
}
.phil-photo-2 {
  width: 55%;
  aspect-ratio: 3/4;
  bottom: 0;
  left: 0;
  transform: rotate(-1.8deg);
  transition: transform 0.4s var(--ease-spring);
}
.phil-photo-2:hover {
  transform: rotate(0deg);
}

.phil-beliefs {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
  margin-top: var(--sp-lg);
}
.phil-belief {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-sm);
  font-family: var(--sans);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 1);
  line-height: 1.6;
}
.phil-belief-dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.5rem;
} /* ═══ JOURNAL ═══════════════════════════════════════════════════════════════ */
.journal-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
}
.journal-mini {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: var(--sp-md);
  align-items: start;
  text-decoration: none;
  color: inherit;
}
.journal-mini-img {
  overflow: hidden;
  height: 88px;
  transform: rotate(1.2deg);
  transition: transform 0.35s var(--ease-spring);
}
.journal-mini:hover .journal-mini-img {
  transform: rotate(0deg);
}
.journal-mini-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.journal-mini:hover .journal-mini-img img {
  transform: scale(1.08);
}
.journal-mini-cat {
  font-family: var(--sans);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  /* --olive (#6b7a4e) is ~3.4:1 on white — upgrade to forest for AA compliance */
  color: var(--forest);
}
.journal-mini h4 {
  font-size: 1.1rem;
  line-height: 1.3;
  margin: 0.25rem 0 0.35rem;
}
.journal-mini-date {
  font-size: 0.72rem;
  /* --muted is borderline AA — use --text for reliable legibility */
  color: var(--text);
  font-weight: 300;
} /* ═══ TESTIMONY ══════════════════════════════════════════════════════════════ */
.testimony-section {
  background: var(--bg);
  padding: var(--pad);
  text-align: center;
}
.testimony-inner {
  max-width: 680px;
  margin: 0 auto;
}
.testimony-slider-container {
  position: relative;
  min-height: 280px;
  margin-bottom: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.testimony-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
  transform: translateY(10px);
}
.testimony-slide.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.testimony-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  line-height: 1.4;
  color: var(--brown);
  letter-spacing: -0.015em;
  margin-bottom: var(--sp-md);
}
.testimony-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-md);
}
.testimony-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold-pale);
}
.testimony-initials {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gold-pale);
  color: var(--gold-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  border: 3px solid var(--gold);
}
.testimony-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--brown);
  text-align: left;
}
.testimony-loc {
  font-size: 0.75rem;
  color: var(--text);
  font-weight: 300;
  margin-top: 0.15rem;
  text-align: left;
}
.testimony-dot {
  width: 32px;
  height: 3px;
  background: var(--border);
  cursor: pointer;
  transition:
    background 0.3s,
    width 0.3s;
  border: none;
}
.testimony-dot.active {
  background: var(--gold);
  width: 48px;
} /* ═══ NEWSLETTER / MAGIC CTA ════════════════════════════════════════════════ */ /* ═══ RESPONSIVE ═════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .opening-inner {
    grid-template-columns: 1fr;
  }

  .opening-photos {
    height: 420px;
    margin-bottom: 2rem;
  }

  .featured-journey-grid {
    grid-template-columns: 1fr;
  }

  .featured-journey-img {
    aspect-ratio: 16/9;
    min-height: auto;
  }

  .philosophy-inner {
    grid-template-columns: 1fr;
  }

  .phil-photos {
    height: 380px;
    margin-bottom: 2rem;
  }

  .journal-layout {
    grid-template-columns: 1fr;
  }
}
/* ─── TABLET (768–1024px) ─────────────────────────────────────────────────── */
@media (min-width: 768px) and (max-width: 1024px) {
  /* Opening split: side-by-side but tighter */

  .opening-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
  }

  .opening-photos {
    height: 380px;
    margin-bottom: 0;
  }

  .op-photo-1 {
    width: 75%;
  }

  .op-photo-2 {
    width: 58%;
  }
  /* Philosophy: side-by-side on tablet */

  .philosophy-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
  }

  .phil-photos {
    height: 340px;
    margin-bottom: 0;
  }

  .phil-photo-1 {
    width: 70%;
  }

  .phil-photo-2 {
    width: 60%;
  }
  /* Feature journey stays stacked but image shorter */

  .featured-journey-img {
    aspect-ratio: 21/9;
  }
  /* Safaris: 2+2 not collapse to 1 */
  /* Journal */

  .journal-layout {
    grid-template-columns: 1fr 1fr;
  }
}
/* ─── PACKAGE CARDS ──────────────────────────────────────────────────────── */
.pkg-card {
  background: var(--white);
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
  transition:
    transform 0.35s var(--ease-out),
    box-shadow 0.35s var(--ease-out);
}
.pkg-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(59, 47, 47, 0.14);
}
.partner-item {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--border);
  padding: 1.2rem;
  transition: box-shadow 0.2s;
}
.partner-item:hover {
  box-shadow: 0 4px 16px rgba(59, 47, 47, 0.1);
}
.partner-item img {
  max-height: 60px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

/* ═══ MARQUEE / PARTNERS ════════════════════════════════════════════════════ */
.marquee-section {
  overflow: hidden;
  padding: var(--sp-xl) 0;
  background: var(--bg-alt);
}
.marquee-label {
  text-align: center;
  margin-bottom: var(--sp-lg);
}
.marquee-wrap {
  overflow: hidden;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  animation: marquee 60s linear infinite;
  width: max-content;
}
.marquee-track:hover {
  animation-play-state: paused;
}
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.marquee-item {
  flex-shrink: 0;
}
.partner-box {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 1.2rem;
  width: 140px;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.3s;
}
.partner-box:hover {
  box-shadow: 0 10px 30px rgba(59, 47, 47, 0.1);
}
.partner-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(1) opacity(0.65);
  transition:
    filter 0.3s,
    transform 0.3s;
}
.partner-box:hover img {
  filter: grayscale(0) opacity(1);
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .partner-box {
    width: 100px;
  }
}

/* ═══ JOURNAL GRID (Modeled after sa-pkg-card) ════════════════════════════════ */
.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: var(--sp-2xl);
}

.journal-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 440px;
  overflow: hidden;
  text-decoration: none;
  background: var(--charcoal);
  border-radius: 2px;
}

.journal-card-img {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.journal-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-out);
}

.journal-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    to top,
    rgba(13, 8, 3, 0.95) 0%,
    rgba(13, 8, 3, 0.4) 50%,
    rgba(13, 8, 3, 0.1) 100%
  );
  opacity: 0.85;
  transition: opacity 0.5s ease;
}

.journal-card-info {
  position: relative;
  z-index: 3;
  padding: var(--sp-xl) var(--sp-lg) var(--sp-lg);
  color: var(--white);
  transform: translateY(0);
  transition: transform 0.5s var(--ease-spring);
}

.journal-card-info h4 {
  color: var(--white);
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.25;
  margin: 0.4rem 0 0.8rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.journal-card-meta {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--gold);
  text-transform: uppercase;
}

.journal-card-info .eyebrow {
  margin-bottom: 0.2rem;
  color: var(--gold);
  font-size: 0.65rem;
}

/* Arrow Positioning */
.journal-card .sa-card-arrow {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 4;
}

/* Hover Effects */
.journal-card:hover .journal-card-img img {
  transform: scale(1.1);
}

.journal-card:hover .journal-card-overlay {
  opacity: 0.95;
}

.journal-card:hover .sa-card-arrow {
  animation: arrow-bounce 0.6s var(--ease-spring) forwards;
  filter: brightness(1.2);
}

/* Redundant button styles removed — moved to components.css */

/* ─── MOBILE CONSOLIDATION ────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .journal-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  .journal-card {
    min-height: 380px;
  }
}

@media (max-width: 768px) {
  .dest-strip-track {
    animation: strip-scroll 30s linear infinite;
    width: max-content;
    overflow: visible;
  }
  .dest-strip-wrap {
    overflow: hidden;
    cursor: default;
  }
}

@media (max-width: 640px) {
  .journal-grid {
    grid-template-columns: 1fr;
  }
  .journal-card {
    min-height: 340px;
  }
  .opening-photos,
  .phil-photos {
    height: 300px;
  }
  .hero-scroll {
    display: none;
  }
}
