/* =========================================================
   BLACKBOX — Homepage-only sections
   Used on: index.html (all rules), clients.html (Clients section only),
   journey.html (Journey intro + shared row typography)
   ========================================================= */

.clients-hero { background-position: center 60%; }

/* ---------- Services (Home carousel) ---------- */
#services .eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 1);
  margin-bottom: 0;
}
.service-intro-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 60px;
  align-items: start;
}
.service-intro-left { display: flex; flex-direction: column; gap: 14px; }
.service-intro {
  max-width: 640px;
  margin-left: auto;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.86;
  letter-spacing: 0;
  color: rgba(236, 236, 236, 1);
}
.service-carousel { margin-top: 50px; position: relative; padding: 0 70px; }
.service-viewport { overflow: hidden; }
.service-track {
  display: flex;
  gap: 26px;
  transition: transform 0.4s ease;
}
.service-card {
  background: var(--c-white);
  border: 1px solid var(--c-line-dark);
  border-radius: 16px;
  overflow: hidden;
  flex-shrink: 0;
}
.service-card .media { aspect-ratio: 4/3; border-radius: 0; margin: 0; }
.service-card-body { padding: 22px; }
.service-card-body h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  line-height: 20.25px;
  letter-spacing: 0.15px;
  color: rgba(0, 0, 0, 1);
  margin-bottom: 10px;
}
.service-card-body ul li,
.service-card-body p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 14px;
  line-height: 21px;
  letter-spacing: 0px;
  color: rgba(75, 85, 99, 1);
  padding: 4px 0;
  position: relative;
  padding-left: 14px;
}
.service-card-body p { padding-left: 0; }
.service-card-body ul li::before {
  content: '';
  position: absolute; left: 0; top: 10px;
  width: 4px; height: 4px; border-radius: 50%;
  background: rgba(75, 85, 99, 0.55);
}
.carousel-arrow {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--c-line-dark);
  background: none; color: inherit;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  transition: background 0.2s ease;
}
.carousel-arrow:hover { background: rgba(255,255,255,0.08); }
.service-carousel .carousel-arrow {
  position: absolute;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  font-size: 1.2rem;
  background: var(--c-dark);
  z-index: 2;
}
.service-carousel [data-service-prev] { left: 0; }
.service-carousel [data-service-next] { right: 0; }
.carousel-dots { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 30px; }
.carousel-dots button {
  width: 7px; height: 7px; border-radius: 4px;
  border: none; background: rgba(255,255,255,0.25);
  padding: 0;
  transition: width 0.3s ease, background 0.3s ease;
}
.carousel-dots button.is-active { width: 30px; background: var(--c-white); }

/* ---------- Projects preview (home) ---------- */
.projects-row {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 90px;
  align-items: start;
}
.projects-left, .projects-right { position: relative; z-index: 1; max-width: 480px; }
.projects-right { max-width: none; }
.projects-heading {
  font-family: var(--font-display);
  font-size: 83.61px;
  line-height: 104.51px;
  letter-spacing: 0;
  margin-bottom: 0;
}
.projects-heading .word-bold {
  font-weight: 800;
  font-style: normal;
  color: rgba(0, 0, 0, 1);
}
.projects-heading .word-italic {
  font-weight: 400;
  font-style: italic;
  color: rgba(27, 33, 33, 1);
}
.project-feature-copy { margin-top: 40px; }
.project-feature-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 155.27px;
  line-height: 131.98px;
  letter-spacing: 0;
  color: rgba(238, 237, 231, 1);
  text-align: right;
}
.project-feature-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 18px;
  line-height: 22px;
  letter-spacing: 0;
  color: rgba(5, 6, 6, 1);
  margin-top: 6px;
  margin-bottom: 10px;
}
.project-feature-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.project-feature-date {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  line-height: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(0, 63, 62, 1);
}
.project-feature-country {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  line-height: 15px;
  letter-spacing: 0.25px;
  text-transform: uppercase;
  color: rgba(5, 6, 6, 0.38);
}
.project-feature-desc {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 12px;
  line-height: 19.5px;
  letter-spacing: 0;
  color: rgba(75, 85, 99, 1);
}
.projects-right { padding-top: 8px; }
.projects-intro {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.77;
  letter-spacing: 0;
  color: rgba(75, 85, 99, 1);
  max-width: 560px;
  margin-bottom: 30px;
}

/* ---------- Clients ---------- */
.clients-intro {
  max-width: 640px;
  margin: 18px auto 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.75;
  letter-spacing: 0;
  text-align: center;
  color: rgba(75, 85, 99, 1);
}
.clients-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin-top: 50px;
}
.client-logo {
  background: var(--c-bg);
  aspect-ratio: 1.6/1;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem;
  color: var(--c-text-mute);
  text-align: center;
  padding: 10px;
  border-right: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}
.client-logo:nth-child(6n) { border-right: none; }
.client-logo:nth-last-child(-n+6) { border-bottom: none; }

/* ---------- Journey ---------- */
#journey .eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 1);
}
.journey-heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: normal;
  font-size: 38px;
  line-height: 1.62;
  letter-spacing: 0;
  text-align: center;
  color: rgba(0, 0, 0, 1);
  margin: 16px 0 24px;
}
.journey-heading-space { font-weight: 600; }
.journey-heading-strong { font-weight: 800; font-style: normal; }
.journey-lead {
  max-width: 760px;
  margin: 0 auto;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.77;
  letter-spacing: 0;
  text-align: center;
  color: rgba(75, 85, 99, 1);
}

/* ---------- Journey: scroll-pinned stage ---------- */
.journey-pin-wrapper {
  position: relative;
  height: calc(var(--journey-steps, 4) * 100vh);
  margin-top: 60px;
}
.journey-pin-inner {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
/* Skip clicked: freeze on the current step and hand scroll control back to the page. */
.journey-pin-wrapper.is-skipped { height: auto; }
.journey-pin-wrapper.is-skipped .journey-pin-inner {
  position: static;
  height: auto;
  overflow: visible;
  padding: 60px 0;
}
.journey-pin-wrapper.is-skipped .journey-skip { display: none; }
.journey-stage {
  display: grid;
  grid-template-columns: 1fr 90px 1fr;
  align-items: center;
  gap: 20px;
  text-align: left;
}
.journey-stage-left,
.journey-stage-right {
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.journey-stage-left.journey-fade { opacity: 0; transform: translateY(8px); }
.journey-stage-right.journey-fade { opacity: 0; transform: translateY(-8px); }
.journey-stage-left h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.6;
  letter-spacing: 0;
  color: rgba(75, 85, 99, 1);
  margin-bottom: 10px;
}
.journey-stage-left p {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: 0;
  color: rgba(75, 85, 99, 1);
  max-width: 380px;
  margin-bottom: 22px;
}
.journey-photo { max-width: 360px; }
.journey-line-col {
  position: relative;
  height: 100%;
  max-height: 420px;
  display: flex;
  justify-content: center;
}
.journey-line {
  position: relative;
  width: 1px;
  height: 100%;
  background: var(--c-line);
}
.journey-dot {
  position: absolute;
  top: 0;
  left: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(75, 85, 99, 1);
  transform: translate(-50%, -50%);
  transition: top 0.05s linear;
}
.journey-skip {
  position: absolute;
  top: 62%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 74px;
  height: 74px;
  border-radius: 50%;
  border: none;
  background: rgba(75, 85, 99, 1);
  color: var(--c-white);
  font-family: var(--font-body);
  font-weight: 400;
  font-style: normal;
  font-size: 18px;
  line-height: 1.77;
  letter-spacing: 0;
  text-align: center;
  text-transform: lowercase;
  cursor: pointer;
  transition: background 0.2s ease;
}
.journey-skip:hover { background: rgba(75, 85, 99, 0.85); }
.journey-stage-right { text-align: right; }
.journey-year-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 1;
  color: #3d4b5c;
  margin-bottom: 20px;
}
.journey-frame {
  max-width: 100%;
  max-height: 320px;
  margin-left: auto;
  display: block;
}

/* ---------- Get in touch (home strip) ---------- */
.gettouch { padding: 100px 0; }
#contact .eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 1);
}
.gettouch-form { max-width: 760px; margin: 40px auto 0; text-align: left; }
