/* Mobile and laptop journey optimisation: proof early, detail on demand. */
.journey-nav {
  position: relative;
  z-index: 6;
  background: #f8f5ed;
  border-bottom: 1px solid rgba(12, 32, 56, .12);
}

.journey-nav details {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.journey-nav summary {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: #0c2038;
  cursor: pointer;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  list-style: none;
}

.journey-nav summary::-webkit-details-marker { display: none; }
.journey-nav summary::after {
  content: '+';
  color: #b17717;
  font-family: Georgia, serif;
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1;
}
.journey-nav details[open] summary::after { content: '\2212'; }

.journey-nav__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .55rem;
  padding: 0 0 1.15rem;
}

.journey-nav__links a {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .72rem .85rem;
  color: #0c2038;
  border: 1px solid rgba(12, 32, 56, .14);
  border-radius: 4px;
  background: rgba(255, 255, 255, .44);
  font-size: .84rem;
  font-weight: 600;
  text-decoration: none;
}
.journey-nav__links a::after { content: '\2193'; color: #1f68dc; }

.mobile-disclosure-toggle {
  display: none;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 50px;
  margin: 1.4rem 0 0;
  padding: .85rem 1rem;
  border: 1px solid rgba(12, 32, 56, .2);
  border-radius: 4px;
  background: transparent;
  color: #0c2038;
  font: inherit;
  font-size: .9rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}
.mobile-disclosure-toggle::after {
  content: '+';
  color: #1f68dc;
  font-family: Georgia, serif;
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1;
}
.mobile-disclosure-toggle[aria-expanded="true"]::after { content: '\2212'; }

.early-work {
  background: #f1ede3;
  border-top: 1px solid rgba(12, 32, 56, .1);
  border-bottom: 1px solid rgba(12, 32, 56, .1);
}

.early-work__intro {
  max-width: 760px;
  margin: 0 auto clamp(2rem, 4vw, 3.5rem);
  text-align: center;
}

.early-work__intro p {
  max-width: 640px;
  margin: .9rem auto 0;
}

.early-work__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.early-work__card {
  overflow: hidden;
  border: 1px solid rgba(12, 32, 56, .14);
  border-radius: 4px;
  background: #fbf9f4;
  box-shadow: 0 18px 48px rgba(12, 32, 56, .08);
}

.early-work__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #d9d4c8;
  border-bottom: 1px solid rgba(12, 32, 56, .12);
}
.early-work__media img,
.early-work__media video { width: 100%; height: 100%; object-fit: cover; display: block; }

.early-work__body { padding: 1.3rem; }
.early-work__sector {
  display: block;
  margin-bottom: .55rem;
  color: #a16d19;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.early-work__body h3 { margin: 0 0 .55rem; color: #0c2038; font-size: 1.24rem; }
.early-work__body p { margin: 0 0 1rem; color: #52657c; font-size: .92rem; line-height: 1.65; }
.early-work__body a { color: #155fcf; font-size: .88rem; font-weight: 700; text-decoration: none; }
.early-work__actions { margin-top: 2rem; text-align: center; }

.service-intro-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.service-intro-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 390px;
  padding: clamp(2rem, 4vw, 3.5rem);
  border: 1px solid rgba(12, 32, 56, .14);
  border-radius: 4px;
  background: #f8f5ed;
  box-shadow: 0 18px 48px rgba(12, 32, 56, .08);
}
.service-intro-card h2 { max-width: 520px; margin-bottom: 1rem; }
.service-intro-card p { max-width: 540px; margin-bottom: 2rem; color: #52657c; font-size: 1.02rem; line-height: 1.75; }
.service-intro-card .btn { margin-top: auto; }

@media (min-width: 768px) {
  .journey-nav { display: none; }
  .early-work__card { transition: transform .25s ease, box-shadow .25s ease; }
  .early-work__card:hover { transform: translateY(-5px); box-shadow: 0 24px 60px rgba(12, 32, 56, .13); }
}

@media (max-width: 767px) {
  .journey-nav { position: sticky; top: 68px; }
  .journey-nav__links { grid-template-columns: 1fr; }

  .mobile-disclosure-toggle { display: flex; }
  .cro-enhanced .mobile-disclosure-content:not(.is-open) { display: none !important; }

  .early-work__grid { grid-template-columns: 1fr; gap: 1rem; }
  .service-intro-grid { grid-template-columns: 1fr; }
  .service-intro-card { min-height: 0; padding: 1.5rem; }
  .early-work__body { padding: 1.15rem; }
  .early-work__actions .btn { width: 100%; }

  /* The first six projects are enough to establish range before visitors choose to continue. */
  .project-grid.is-mobile-truncated .project-card:nth-child(n+7):not([hidden]) { display: none !important; }
  .project-grid-toggle { margin-top: 1.25rem; }

  /* Compact the proof strip so the first work appears within two phone screens. */
  .ccc-home .trust-strip { padding: 1.1rem 0; }
  .ccc-home .trust-grid { gap: .65rem; }
  .ccc-home .trust-item { min-height: 0; padding: .85rem; }

  #work .sp-intro { margin-bottom: 2rem; }
  #work .sp-feat { margin-bottom: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .early-work__card { transition: none; }
}
