/* Home page showcase sections — Featured Products spotlight, "Why Export
   Partners Choose" hub, and the "Our Process" farm-to-port journey.
   Behaviour lives in home.blade.php's scripts. Uses the site's CSS
   variables so everything follows Admin > Site Settings > Colors, and the
   site's cut-corner shape for featured imagery. */

/* ================================================================
   Shared header
   ================================================================ */
.showcase-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 56px;
}

.showcase-header-center {
  justify-content: center;
  text-align: center;
}

.showcase-header-center > div {
  max-width: 760px;
}

.showcase-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 18px 6px 6px;
  border: 1px dashed color-mix(in srgb, var(--accent-color), transparent 45%);
  border-radius: 30px;
  color: var(--heading-color);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 18px;
}

.showcase-badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--heading-color);
  color: #fff;
  font-size: 13px;
}

.showcase-title {
  font-size: calc(2.6rem * var(--type-display-scale, 1));
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.showcase-title .accent-highlight {
  color: var(--accent-color);
}

.showcase-lead {
  max-width: 620px;
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
}

.showcase-header-center .showcase-lead {
  margin: 0 auto;
}

.showcase-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 8px 8px 22px;
  border-radius: 40px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 82%);
  color: var(--heading-color);
  font-weight: 700;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.showcase-link-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent-color);
  color: #fff;
  transition: transform 0.4s ease;
}

.showcase-link:hover {
  color: #fff;
  background: var(--heading-color);
  border-color: var(--heading-color);
}

.showcase-link:hover .showcase-link-arrow {
  transform: rotate(45deg);
}

/* ================================================================
   1. Featured Products — spotlight
   ================================================================ */
.spotlight-section {
  position: relative;
  overflow: clip;
}

.spotlight {
  position: relative;
  padding: 48px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 12% 20%, color-mix(in srgb, var(--accent-color), transparent 88%), transparent 45%),
    linear-gradient(135deg, color-mix(in srgb, var(--accent-color), var(--surface-color) 95%), var(--surface-color));
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 82%);
  box-shadow: 0 30px 70px color-mix(in srgb, var(--heading-color), transparent 92%);
}

/* All slides share one grid cell, so the stage is as tall as the tallest. */
.spotlight-stage {
  display: grid;
}

.spotlight-slide {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.6s ease, visibility 0s linear 0.6s;
}

.spotlight-slide.is-active {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.6s ease;
}

/* ---------- Media ---------- */
.spotlight-media {
  position: relative;
  padding: 24px 24px 24px 0;
}

.spotlight-media-ring {
  position: absolute;
  top: -8px;
  left: -26px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  border: 2px dashed color-mix(in srgb, var(--accent-color), transparent 45%);
  animation: showcase-spin 30s linear infinite;
}

.spotlight-media-frame {
  position: relative;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  border-radius: 70px 17px 70px 17px;
  background: var(--surface-color);
  box-shadow: 0 30px 60px color-mix(in srgb, var(--heading-color), transparent 85%);
  transform: scale(0.94);
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.spotlight-slide.is-active .spotlight-media-frame {
  transform: none;
}

.spotlight-media-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

img.spotlight-media-image,
.spotlight-media-image img {
  animation: showcase-slow-zoom 14s ease-in-out infinite alternate;
}

.spotlight-media-number {
  position: absolute;
  right: 4px;
  bottom: -6px;
  font-family: var(--heading-font);
  font-size: calc(4rem * var(--type-display-scale, 1));
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1.5px color-mix(in srgb, var(--accent-color), transparent 35%);
  pointer-events: none;
}

/* ---------- Info ---------- */
.spotlight-info > * {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.spotlight-slide.is-active .spotlight-info > * {
  opacity: 1;
  transform: none;
}

.spotlight-slide.is-active .spotlight-info > :nth-child(2) { transition-delay: 0.08s; }
.spotlight-slide.is-active .spotlight-info > :nth-child(3) { transition-delay: 0.16s; }
.spotlight-slide.is-active .spotlight-info > :nth-child(4) { transition-delay: 0.24s; }
.spotlight-slide.is-active .spotlight-info > :nth-child(5) { transition-delay: 0.32s; }

.spotlight-counter {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--accent-color);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.spotlight-counter span {
  color: color-mix(in srgb, var(--default-color), transparent 32%);
}

.spotlight-name {
  font-size: calc(2.6rem * var(--type-display-scale, 1));
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.spotlight-desc {
  margin-bottom: 28px;
  font-size: 1.02rem;
  line-height: 1.75;
  color: color-mix(in srgb, var(--default-color), transparent 22%);
}

.spotlight-specs {
  display: grid;
  gap: 12px;
  margin: 0 0 32px;
}

.spotlight-spec {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-radius: 14px;
  background: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.spotlight-spec dt {
  flex-shrink: 0;
  color: color-mix(in srgb, var(--default-color), transparent 32%);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.spotlight-spec dd {
  margin: 0;
  color: var(--heading-color);
  font-weight: 700;
  font-size: 0.92rem;
  text-align: right;
}

.spotlight-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.spotlight-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 40px;
  font-weight: 700;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.spotlight-btn:hover {
  transform: translateY(-2px);
}

.spotlight-btn-primary {
  background: var(--accent-color);
  color: #fff;
  box-shadow: 0 14px 30px color-mix(in srgb, var(--accent-color), transparent 65%);
}

.spotlight-btn-primary:hover {
  background: var(--heading-color);
  color: #fff;
}

.spotlight-btn-primary i {
  transition: transform 0.3s ease;
}

.spotlight-btn-primary:hover i {
  transform: translateX(4px);
}

.spotlight-btn-ghost {
  border: 1.5px solid color-mix(in srgb, var(--heading-color), transparent 75%);
  color: var(--heading-color);
}

.spotlight-btn-ghost:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
}

/* ---------- Tabs ---------- */
.spotlight-tabs {
  display: grid;
  grid-template-columns: repeat(var(--spotlight-count, 4), minmax(0, 1fr));
  gap: 14px;
  margin-top: 44px;
}

.spotlight-tab {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
  background: color-mix(in srgb, var(--surface-color), transparent 30%);
  color: var(--heading-color);
  text-align: left;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.spotlight-tab:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent-color), transparent 55%);
}

.spotlight-tab.is-active {
  background: var(--surface-color);
  border-color: color-mix(in srgb, var(--accent-color), transparent 40%);
  box-shadow: 0 16px 34px color-mix(in srgb, var(--accent-color), transparent 84%);
}

.spotlight-tab-thumb {
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  overflow: hidden;
  border-radius: 15px 8px 15px 8px;
}

.spotlight-tab-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.6);
  transition: filter 0.4s ease, transform 0.4s ease;
}

.spotlight-tab.is-active .spotlight-tab-thumb img,
.spotlight-tab:hover .spotlight-tab-thumb img {
  filter: none;
  transform: scale(1.08);
}

.spotlight-tab-text {
  min-width: 0;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.3;
}

.spotlight-tab-text small {
  display: block;
  color: var(--accent-color);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.spotlight-tab-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: color-mix(in srgb, var(--accent-color), transparent 85%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.spotlight-tab.is-active .spotlight-tab-progress {
  opacity: 1;
}

.spotlight-tab-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--accent-color);
  transform: scaleX(0);
  transform-origin: left;
}

.spotlight-tab.is-running .spotlight-tab-progress span {
  animation: spotlight-progress var(--spotlight-interval, 6000ms) linear forwards;
}

@keyframes spotlight-progress {
  to { transform: scaleX(1); }
}

/* ================================================================
   2. Why Export Partners Choose — hub
   ================================================================ */
.partners-section {
  position: relative;
  overflow: clip;
  padding-bottom: 110px;
  background:
    radial-gradient(color-mix(in srgb, var(--accent-color), transparent 80%) 1px, transparent 1.5px) 0 0 / 26px 26px,
    linear-gradient(180deg, var(--background-color), color-mix(in srgb, var(--accent-color), var(--background-color) 95%));
}

.partners-layout {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 380px) 1fr;
  gap: 48px;
  align-items: center;
}

.partners-column {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* ---------- Cards ---------- */
.partner-card {
  position: relative;
  padding: 32px 30px;
  border-radius: 26px;
  background: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  box-shadow: 0 16px 40px color-mix(in srgb, var(--heading-color), transparent 93%);
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.partner-card:hover {
  transform: translateY(-8px);
  border-color: color-mix(in srgb, var(--accent-color), transparent 55%);
  box-shadow: 0 26px 54px color-mix(in srgb, var(--accent-color), transparent 82%);
}

/* Cursor-following glow (position set from JS). */
.partner-card-glow {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(260px circle at var(--glow-x, 50%) var(--glow-y, 50%), color-mix(in srgb, var(--accent-color), transparent 85%), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.partner-card:hover .partner-card-glow {
  opacity: 1;
}

/* Dashed connector from each card towards the hub. */
.partner-card::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 48px;
  height: 2px;
  background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--accent-color), transparent 35%) 0 6px, transparent 6px 12px);
}

.partner-card::before {
  content: "";
  position: absolute;
  top: calc(50% - 5px);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-color);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent-color), transparent 80%);
}

.partners-column-left .partner-card::after {
  left: 100%;
}

.partners-column-left .partner-card::before {
  right: -6px;
}

.partners-column-right .partner-card::after {
  right: 100%;
}

.partners-column-right .partner-card::before {
  left: -6px;
}

.partner-card > * {
  position: relative;
}

.partner-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 22px;
}

.partner-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), var(--heading-color) 40%));
  color: #fff;
  font-size: 25px;
  box-shadow: 0 14px 28px color-mix(in srgb, var(--accent-color), transparent 68%);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.partner-card:hover .partner-card-icon {
  transform: rotate(-10deg) scale(1.08);
}

.partner-card-number {
  font-family: var(--heading-font);
  font-size: calc(2.8rem * var(--type-display-scale, 1));
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px color-mix(in srgb, var(--accent-color), transparent 65%);
  transition: -webkit-text-stroke-color 0.4s ease;
}

.partner-card:hover .partner-card-number {
  -webkit-text-stroke-color: var(--accent-color);
}

.partner-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 10px;
}

.partner-card p {
  margin-bottom: 18px;
  font-size: 0.93rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
}

.partner-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.partner-card-tags span {
  padding: 5px 12px;
  border-radius: 30px;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: color-mix(in srgb, var(--accent-color), var(--heading-color) 35%);
  font-size: 0.75rem;
  font-weight: 700;
}

/* ---------- Hub ---------- */
.partners-hub {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partners-hub-ring {
  position: absolute;
  border-radius: 50%;
}

.partners-hub-ring-outer {
  inset: 0;
  border: 2px dashed color-mix(in srgb, var(--accent-color), transparent 45%);
  animation: showcase-spin 40s linear infinite;
}

.partners-hub-ring-inner {
  inset: 9%;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 70%);
  background: radial-gradient(circle, color-mix(in srgb, var(--accent-color), transparent 88%), transparent 70%);
}

/* A small globe that orbits along the outer ring. */
.partners-hub-orbit {
  position: absolute;
  inset: 0;
  animation: showcase-spin 16s linear infinite;
}

.partners-hub-orbit i {
  position: absolute;
  top: -20px;
  left: calc(50% - 20px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-color);
  color: #fff;
  font-size: 18px;
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent-color), transparent 80%);
  animation: showcase-spin 16s linear infinite reverse;
}

.partners-hub-core {
  position: relative;
  width: 72%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 50%;
  box-shadow: 0 30px 60px color-mix(in srgb, var(--heading-color), transparent 75%), 0 0 0 10px var(--surface-color);
}

.partners-hub-core img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: showcase-slow-zoom 16s ease-in-out infinite alternate;
}

.partners-hub-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, color-mix(in srgb, var(--heading-color), transparent 25%), color-mix(in srgb, var(--heading-color), transparent 5%));
  color: #fff;
  text-align: center;
}

.partners-hub-content strong {
  font-family: var(--heading-font);
  font-size: calc(4.6rem * var(--type-display-scale, 1));
  font-weight: 800;
  line-height: 1;
  color: var(--accent-color);
}

.partners-hub-content span {
  margin-top: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ---------- Ribbon ---------- */
.partners-ribbon {
  position: relative;
  margin: 100px -20px 0;
  padding: 18px 0;
  overflow: hidden;
  background: var(--accent-color);
  transform: rotate(-2deg);
  box-shadow: 0 20px 40px color-mix(in srgb, var(--accent-color), transparent 70%);
}

/* A dark ribbon crossing behind it the other way. */
.partners-ribbon::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--heading-color);
  transform: rotate(4deg);
}

.partners-ribbon-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: showcase-marquee 40s linear infinite;
}

.partners-ribbon-track span {
  color: #fff;
  font-family: var(--heading-font);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.partners-ribbon-track i {
  color: color-mix(in srgb, var(--heading-color), transparent 20%);
  font-size: 1rem;
}

.partners-ribbon:hover .partners-ribbon-track {
  animation-play-state: paused;
}

/* ================================================================
   3. Our Process — farm-to-port journey
   ================================================================ */
.journey-section {
  position: relative;
  overflow: clip;
}

.journey {
  --journey-progress: 0;
  position: relative;
  margin-bottom: 70px;
}

.journey-steps {
  display: grid;
  grid-template-columns: repeat(var(--journey-steps, 5), minmax(0, 1fr));
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Each step is a column of [top card | node | bottom card]; even steps put
   their card above the line, odd ones below, for a zigzag. */
.journey-step {
  display: grid;
  grid-template-rows: 1fr auto 1fr;
  justify-items: center;
}

.journey-step-top .journey-card {
  grid-row: 1;
  align-self: end;
  margin-bottom: 34px;
}

.journey-step-bottom .journey-card {
  grid-row: 3;
  align-self: start;
  margin-top: 34px;
}

.journey-node {
  grid-row: 2;
}

/* ---------- Line ---------- */
.journey-line {
  position: absolute;
  top: 50%;
  left: calc(100% / var(--journey-steps, 5) / 2);
  right: calc(100% / var(--journey-steps, 5) / 2);
  height: 4px;
  margin-top: -2px;
  border-radius: 4px;
  background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--default-color), transparent 80%) 0 10px, transparent 10px 18px);
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.journey.is-visible .journey-line {
  clip-path: inset(0 0 0 0);
}

.journey-line-fill {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, color-mix(in srgb, var(--accent-color), #fff 30%), var(--accent-color));
  transform: scaleX(var(--journey-progress));
  transform-origin: left;
  transition: transform 1.2s cubic-bezier(0.65, 0, 0.35, 1);
}

/* Rides along the line between nodes (it tucks behind each node on arrival). */
.journey-traveller {
  position: absolute;
  top: 50%;
  left: calc(100% / var(--journey-steps, 5) / 2 + var(--journey-progress) * (100% - 100% / var(--journey-steps, 5)));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border-radius: 50%;
  background: var(--heading-color);
  color: #fff;
  font-size: 15px;
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent-color), transparent 70%);
  opacity: 0;
  transition: left 1.2s cubic-bezier(0.65, 0, 0.35, 1), opacity 0.4s ease;
}

.journey.is-visible .journey-traveller {
  opacity: 1;
}

/* ---------- Node ---------- */
.journey-node {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--surface-color);
  box-shadow: 0 0 0 8px var(--background-color), 0 14px 30px color-mix(in srgb, var(--heading-color), transparent 88%);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.journey-node::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid var(--accent-color);
  opacity: 0;
}

.journey-node-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid color-mix(in srgb, var(--accent-color), transparent 70%);
  color: var(--accent-color);
  font-size: 26px;
  font-weight: 800;
  transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}

.journey-step.is-done .journey-node-icon {
  border-color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 88%);
}

.journey-step.is-active .journey-node {
  transform: scale(1.14);
}

.journey-step.is-active .journey-node-icon {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: #fff;
}

.journey-step.is-active .journey-node::after {
  animation: journey-ping 1.6s ease-out infinite;
}

@keyframes journey-ping {
  0% { transform: scale(0.9); opacity: 0.8; }
  100% { transform: scale(1.45); opacity: 0; }
}

/* ---------- Card ---------- */
.journey-card {
  position: relative;
  width: 100%;
  padding: 24px 22px;
  border-radius: 22px;
  background: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  box-shadow: 0 14px 34px color-mix(in srgb, var(--heading-color), transparent 93%);
  text-align: center;
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.4s ease, box-shadow 0.4s ease;
  transition-delay: calc(var(--step-index, 0) * 0.15s + 0.4s), calc(var(--step-index, 0) * 0.15s + 0.4s), 0s, 0s;
}

.journey-step-top .journey-card {
  transform: translateY(-24px);
}

.journey-step-bottom .journey-card {
  transform: translateY(24px);
}

.journey.is-visible .journey-card {
  opacity: 1;
  transform: none;
}

/* Stem from the card to its node. */
.journey-card::after {
  content: "";
  position: absolute;
  left: calc(50% - 1px);
  width: 2px;
  height: 34px;
  background: repeating-linear-gradient(180deg, color-mix(in srgb, var(--accent-color), transparent 40%) 0 5px, transparent 5px 10px);
}

.journey-step-top .journey-card::after {
  top: 100%;
}

.journey-step-bottom .journey-card::after {
  bottom: 100%;
}

.journey-step.is-active .journey-card {
  border-color: color-mix(in srgb, var(--accent-color), transparent 45%);
  box-shadow: 0 22px 44px color-mix(in srgb, var(--accent-color), transparent 82%);
}

.journey-card-label {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 12px;
  border-radius: 30px;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background-color 0.4s ease, color 0.4s ease;
}

.journey-step.is-active .journey-card-label {
  background: var(--accent-color);
  color: #fff;
}

.journey-card h3 {
  font-size: 1.12rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.journey-card p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.65;
  color: color-mix(in srgb, var(--default-color), transparent 28%);
}

/* ---------- CTA bar ---------- */
.journey-cta {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 44px;
  overflow: hidden;
  background: linear-gradient(120deg, var(--heading-color), color-mix(in srgb, var(--heading-color), var(--accent-color) 35%));
  border-radius: 50px 12px 50px 12px;
  color: #fff;
}

.journey-cta::before {
  content: "";
  position: absolute;
  right: 12%;
  top: -80px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  border: 1px solid rgb(255 255 255 / 0.12);
  box-shadow: 0 0 0 40px rgb(255 255 255 / 0.03);
}

.journey-cta-text {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
}

.journey-cta-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: var(--accent-color);
  font-size: 24px;
  animation: showcase-bob 3.2s ease-in-out infinite;
}

.journey-cta h3 {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.journey-cta p {
  margin: 0;
  color: rgb(255 255 255 / 0.75);
}

.journey-cta-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 32px;
  border-radius: 40px;
  background: #fff;
  color: var(--heading-color);
  font-weight: 800;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.journey-cta-btn:hover {
  background: var(--accent-color);
  color: #fff;
  transform: translateY(-2px);
}

/* ================================================================
   Shared keyframes
   ================================================================ */
@keyframes showcase-spin {
  to { transform: rotate(360deg); }
}

@keyframes showcase-slow-zoom {
  from { transform: scale(1); }
  to { transform: scale(1.1); }
}

@keyframes showcase-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes showcase-bob {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-5px) rotate(-6deg); }
}

/* ================================================================
   Responsive
   ================================================================ */
@media (max-width: 1199px) {
  .partners-layout {
    grid-template-columns: 1fr minmax(240px, 300px) 1fr;
    gap: 36px;
  }

  .partner-card::after {
    width: 36px;
  }
}

@media (max-width: 991px) {
  .showcase-title,
  .spotlight-name {
    font-size: 2.1rem;
  }

  .spotlight {
    padding: 32px;
  }

  .spotlight-slide {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .spotlight-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Hub on top, cards in two columns below. */
  .partners-layout {
    grid-template-columns: 1fr 1fr;
  }

  .partners-hub {
    grid-column: 1 / -1;
    grid-row: 1;
    width: min(340px, 100%);
    margin: 0 auto 10px;
  }

  .partner-card::after,
  .partner-card::before {
    display: none;
  }

  /* Journey turns into a vertical timeline. */
  .journey-steps {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .journey-step {
    grid-template-columns: 84px 1fr;
    grid-template-rows: auto;
    align-items: center;
    column-gap: 24px;
  }

  .journey-step .journey-card,
  .journey-step-top .journey-card,
  .journey-step-bottom .journey-card {
    grid-row: 1;
    grid-column: 2;
    margin: 0;
    text-align: left;
    transform: translateX(24px);
  }

  .journey-node {
    grid-row: 1;
    grid-column: 1;
  }

  .journey-card::after {
    display: none;
  }

  .journey.is-visible .journey-step .journey-card {
    transform: none;
  }

  .journey-line {
    top: 42px;
    bottom: 42px;
    left: 40px;
    right: auto;
    width: 4px;
    height: auto;
    margin: 0;
    background: repeating-linear-gradient(180deg, color-mix(in srgb, var(--default-color), transparent 80%) 0 10px, transparent 10px 18px);
    clip-path: inset(0 0 100% 0);
  }

  .journey-line-fill {
    background: linear-gradient(180deg, color-mix(in srgb, var(--accent-color), #fff 30%), var(--accent-color));
    transform: scaleY(var(--journey-progress));
    transform-origin: top;
  }

  .journey-traveller {
    display: none;
  }
}

@media (max-width: 767px) {
  .partners-layout {
    grid-template-columns: 1fr;
  }

  .spotlight-media-number {
    font-size: 3.2rem;
  }
}

@media (max-width: 575px) {
  .showcase-header {
    margin-bottom: 40px;
  }

  .showcase-title,
  .spotlight-name {
    font-size: 1.75rem;
  }

  .spotlight {
    padding: 20px;
    border-radius: 26px;
  }

  .spotlight-media {
    padding: 14px 14px 14px 0;
  }

  .spotlight-media-ring {
    display: none;
  }

  .spotlight-spec {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .spotlight-spec dd {
    text-align: left;
  }

  .spotlight-btn {
    flex: 1 1 100%;
    justify-content: center;
    padding: 0 18px;
    white-space: nowrap;
  }

  .spotlight-tab-text {
    font-size: 0.8rem;
  }

  .partners-section {
    padding-bottom: 80px;
  }

  .partners-ribbon {
    margin-top: 70px;
  }

  .journey-step {
    grid-template-columns: 64px 1fr;
    column-gap: 16px;
  }

  .journey-node {
    width: 64px;
    height: 64px;
  }

  .journey-node-icon {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  .journey-line {
    left: 38px;
    top: 32px;
    bottom: 32px;
  }

  .journey {
    padding-left: 8px;
  }

  .journey-step.is-active .journey-node {
    transform: scale(1.05);
  }

  .journey-cta {
    padding: 28px 24px;
  }

  .journey-cta-text {
    flex-direction: column;
    align-items: flex-start;
  }

  .journey-cta-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .spotlight-media-ring,
  img.spotlight-media-image,
  .spotlight-media-image img,
  .partners-hub-ring-outer,
  .partners-hub-orbit,
  .partners-hub-orbit i,
  .partners-hub-core img,
  .partners-ribbon-track,
  .journey-cta-icon {
    animation: none;
  }

  .spotlight-slide,
  .spotlight-info > *,
  .spotlight-media-frame,
  .journey-line,
  .journey-line-fill,
  .journey-traveller,
  .journey-card {
    transition: none;
  }
}

/* ================================================================
   Call-to-action banner (admin: Home Page → CTA Banner)
   ================================================================ */
.cta-banner-section {
  padding-top: 40px;
}

.cta-banner {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 50px;
  align-items: center;
  padding: 60px 64px;
  overflow: hidden;
  background: linear-gradient(125deg, var(--heading-color) 0%, color-mix(in srgb, var(--heading-color), var(--accent-color) 38%) 100%);
  border-radius: 80px 19px 80px 19px;
  color: #fff;
}

.cta-banner-dots {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgb(255 255 255 / 0.12) 1px, transparent 1.5px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(110deg, transparent 30%, #000 85%);
  mask-image: linear-gradient(110deg, transparent 30%, #000 85%);
}

.cta-banner-glow {
  position: absolute;
  z-index: -1;
  right: 10%;
  top: -30%;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent-color), transparent 55%);
  filter: blur(90px);
  animation: cta-glow 10s ease-in-out infinite alternate;
}

@keyframes cta-glow {
  from { transform: translate(0, 0); }
  to { transform: translate(-60px, 60px); }
}

.cta-banner-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 7px 16px;
  border-radius: 30px;
  background: rgb(255 255 255 / 0.1);
  border: 1px solid rgb(255 255 255 / 0.2);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.cta-banner-pulse {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
}

.cta-banner-pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #22c55e;
  animation: cta-pulse 1.8s ease-out infinite;
}

@keyframes cta-pulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(3); opacity: 0; }
}

.cta-banner-title {
  margin-bottom: 14px;
  color: #fff;
  font-size: calc(2.6rem * var(--type-display-scale, 1));
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.cta-banner-text {
  max-width: 560px;
  margin-bottom: 30px;
  color: rgb(255 255 255 / 0.8);
  font-size: 1.08rem;
  line-height: 1.7;
}

.cta-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

.cta-banner-btn,
.cta-banner-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  border-radius: 40px;
  font-weight: 800;
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.cta-banner-btn {
  padding: 6px 6px 6px 28px;
  background: #fff;
  color: var(--heading-color);
  box-shadow: 0 16px 34px rgb(0 0 0 / 0.25);
}

.cta-banner-btn:hover {
  color: var(--heading-color);
  transform: translateY(-3px);
}

.cta-banner-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-color);
  color: #fff;
  transition: transform 0.4s ease;
}

.cta-banner-btn:hover .cta-banner-btn-icon {
  transform: rotate(45deg);
}

.cta-banner-btn-ghost {
  padding: 0 26px;
  border: 1.5px solid rgb(255 255 255 / 0.35);
  color: #fff;
}

.cta-banner-btn-ghost:hover {
  color: #fff;
  border-color: #fff;
  background: rgb(255 255 255 / 0.08);
  transform: translateY(-3px);
}

.cta-banner-btn-ghost i {
  color: #25d366;
  font-size: 1.2rem;
}

.cta-banner-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cta-banner-points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgb(255 255 255 / 0.85);
  font-size: 0.9rem;
  font-weight: 600;
}

.cta-banner-points i {
  color: color-mix(in srgb, var(--accent-color), #fff 45%);
}

/* ---------- Visual ---------- */
.cta-banner-visual {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 420px;
}

.cta-banner-ring {
  position: absolute;
  inset: -22px;
  border-radius: 40px;
  border: 2px dashed rgb(255 255 255 / 0.22);
  animation: cta-float 7s ease-in-out infinite;
}

.cta-banner-photo {
  aspect-ratio: 4 / 3.4;
  overflow: hidden;
  border-radius: 60px 14px 60px 14px;
  box-shadow: 0 30px 60px rgb(0 0 0 / 0.3);
}

.cta-banner-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: showcase-slow-zoom 14s ease-in-out infinite alternate;
}

.cta-banner-chip {
  position: absolute;
  left: -24px;
  bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 16px;
  background: #fff;
  color: var(--heading-color);
  font-size: 0.88rem;
  font-weight: 800;
  box-shadow: 0 16px 34px rgb(0 0 0 / 0.25);
  animation: cta-float 5s ease-in-out infinite;
}

.cta-banner-chip i {
  color: var(--accent-color);
  font-size: 1.1rem;
}

@keyframes cta-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (max-width: 991px) {
  .cta-banner {
    grid-template-columns: 1fr;
    padding: 48px 36px;
  }

  .cta-banner-title {
    font-size: 2.1rem;
  }

  .cta-banner-visual {
    max-width: 360px;
  }
}

@media (max-width: 575px) {
  .cta-banner {
    gap: 36px;
    padding: 40px 22px 44px;
    border-radius: 50px 12px 50px 12px;
  overflow: hidden;
}

  .cta-banner-title {
    font-size: 1.75rem;
  }

  .cta-banner-btn,
  .cta-banner-btn-ghost {
    width: 100%;
    justify-content: center;
  }

  .cta-banner-btn {
    justify-content: space-between;
  }

  .cta-banner-chip {
    left: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta-banner-glow,
  .cta-banner-pulse::after,
  .cta-banner-ring,
  .cta-banner-photo img,
  .cta-banner-chip {
    animation: none;
  }
}
