/* ==========================================================================
   Design & Sampling Support (S03) — /design-sampling-support/
   Page-specific layout. Shared tokens and components live in main.css.
   ========================================================================== */

.ds-head {
  padding: 9.5rem 0 2.75rem;
  background:
    radial-gradient(circle at 84% 16%, rgba(198, 161, 91, 0.16), transparent 34%),
    var(--jn-color-surface-soft);
}

.ds-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 2.25rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(30, 34, 40, 0.46);
}

.ds-breadcrumb a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.ds-breadcrumb a:hover {
  color: var(--jn-color-gold);
}

.ds-head__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.ds-head__title {
  margin: 0 0 1.5rem;
  font-family: var(--jn-font-serif);
  font-size: clamp(2.1rem, 4.2vw, 3.8rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--jn-color-text);
}

.ds-head__lede {
  max-width: 38rem;
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(30, 34, 40, 0.72);
}

.ds-head__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.ds-head__media {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 16 / 11;
  border-radius: 16px;
  background: var(--jn-color-surface-muted);
  box-shadow: 0 30px 70px rgba(30, 34, 40, 0.14);
}

.ds-head__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   S02 Key numbers (attached below the banner, no title)
   -------------------------------------------------------------------------- */
.ds-stats {
  padding: 2.5rem 0 3.25rem;
  background: #fff;
  border-bottom: 1px solid var(--jn-color-border);
}

.ds-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.ds-stat {
  padding: 1.5rem 0.5rem;
  text-align: center;
}

.ds-stat__value {
  font-family: var(--jn-font-serif);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--jn-color-gold);
}

.ds-stat__label {
  margin-top: 0.6rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(30, 34, 40, 0.6);
}

/* --------------------------------------------------------------------------
   S03 Sampling flow (numbered timeline)
   -------------------------------------------------------------------------- */
.ds-flow__title {
  margin-bottom: 3rem;
  text-align: center;
}

.ds-flow__list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ds-flow__list li {
  border-top: 1px solid var(--jn-color-border);
  padding-top: 1.5rem;
  text-align: center;
}

.ds-flow__num {
  display: block;
  margin-bottom: 1rem;
  font-family: var(--jn-font-serif);
  font-size: 1.9rem;
  font-weight: 500;
  line-height: 1;
  color: var(--jn-color-gold);
}

.ds-flow__name {
  display: block;
  font-family: var(--jn-font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--jn-color-text);
}

.ds-flow__text {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(30, 34, 40, 0.66);
}

/* --------------------------------------------------------------------------
   S04 Sampling types (photo cards)
   -------------------------------------------------------------------------- */
.ds-types {
  background: var(--jn-color-surface-soft);
}

.ds-types__title {
  margin-bottom: 3rem;
}

.ds-types__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.ds-type-card {
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(30, 34, 40, 0.08);
}

.ds-type-card__media {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--jn-color-surface-muted);
}

.ds-type-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.ds-type-card h3 {
  margin: 1.25rem 1.5rem 0;
  font-family: var(--jn-font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--jn-color-text);
}

.ds-type-card p {
  margin: 0.5rem 1.5rem 1.5rem;
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(30, 34, 40, 0.66);
}

/* --------------------------------------------------------------------------
   S05 Deliverables (editorial rows)
   -------------------------------------------------------------------------- */
.ds-deliver__title {
  margin-bottom: 3rem;
}

.ds-deliver__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem 4rem;
}

.ds-deliver-card {
  border-top: 1px solid var(--jn-color-border);
  padding-top: 1.5rem;
}

.ds-deliver-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.9rem;
  border-radius: 50%;
  background: rgba(198, 161, 91, 0.12);
  color: var(--jn-color-gold);
}

.ds-deliver-card__icon svg {
  width: 1.2rem;
  height: 1.2rem;
}

.ds-deliver-card h3 {
  margin: 0;
  font-family: var(--jn-font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--jn-color-text);
}

.ds-deliver-card p {
  margin: 0.6rem 0 0;
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(30, 34, 40, 0.68);
}

/* --------------------------------------------------------------------------
   S06 Design support
   -------------------------------------------------------------------------- */
.ds-design {
  background: var(--jn-color-surface-soft);
}

.ds-design__title {
  margin-bottom: 3rem;
}

.ds-design__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.ds-design-card {
  padding: 1.75rem;
  border: 1px solid var(--jn-color-border);
  border-radius: 12px;
  background: #fff;
}

.ds-design-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: rgba(198, 161, 91, 0.12);
  color: var(--jn-color-gold);
}

.ds-design-card__icon svg {
  width: 1.3rem;
  height: 1.3rem;
}

.ds-design-card h3 {
  margin: 0;
  font-family: var(--jn-font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--jn-color-text);
}

.ds-design-card p {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(30, 34, 40, 0.66);
}

.ds-design__foot {
  margin: 2.25rem 0 0;
  text-align: center;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1023px) {
  .ds-head {
    padding-top: 8.5rem;
  }

  .ds-head__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ds-head__media {
    max-width: 42rem;
  }

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

  .ds-flow__list {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
  }

  .ds-design__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 767px) {
  .ds-head {
    padding: 7.5rem 0 4rem;
  }

  .ds-head__actions .jn-button {
    width: 100%;
  }

  .ds-stats__grid,
  .ds-types__grid,
  .ds-deliver__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .jn-design-sampling *,
  .jn-design-sampling *::before,
  .jn-design-sampling *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
