/* ==========================================================================
   DTC Brand Support (S02) — /dtc-brand-support/
   Page-specific layout. Shared tokens and components live in main.css.
   ========================================================================== */

.jn-dtc {
  background: var(--jn-color-bg);
}

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

.dt-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);
}

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

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

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

.dt-head__title {
  margin: 0 0 1.5rem;
  font-family: var(--jn-font-serif);
  font-size: clamp(2.25rem, 4.4vw, 4rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--jn-color-text);
}

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

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

.dt-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);
}

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

/* --------------------------------------------------------------------------
   S02 Key Figures
   -------------------------------------------------------------------------- */
.dt-stats {
  padding: 3rem 0;
  background: var(--jn-color-surface-soft);
}

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

.dt-stats__value {
  font-family: var(--jn-font-serif);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--jn-color-bronze);
}

.dt-stats__label {
  margin-top: 0.4rem;
  font-size: 0.82rem;
  line-height: 1.6;
  color: rgba(30, 34, 40, 0.62);
}

/* --------------------------------------------------------------------------
   S03 Design Support
   -------------------------------------------------------------------------- */
.dt-design__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.dt-design__copy p {
  margin-top: 1.25rem;
  font-size: 0.98rem;
  line-height: 1.85;
  color: rgba(30, 34, 40, 0.72);
  max-width: 34rem;
}

.dt-design__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.dt-design__media {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  background: var(--jn-color-surface-muted);
}

.dt-design__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   S04 Design Capabilities
   -------------------------------------------------------------------------- */
.dt-cap {
  background: var(--jn-color-surface-soft);
}

.dt-cap__title {
  margin-bottom: 3rem;
  text-align: center;
}

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

.dt-cap-card {
  padding: 0.5rem;
  border: 0;
  background: none;
  text-align: center;
}

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

.dt-cap-card__icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.dt-cap-card h3 {
  margin: 0;
  font-family: var(--jn-font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--jn-color-text);
}

.dt-cap-card p {
  margin: 0.5rem auto 0;
  max-width: 16rem;
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(30, 34, 40, 0.66);
}

/* --------------------------------------------------------------------------
   S05 Branded Customization
   -------------------------------------------------------------------------- */
.dt-brand__title {
  margin-bottom: 3rem;
  text-align: center;
}

.dt-brand__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 3rem;
}

.dt-brand-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.dt-brand-item__media {
  flex: none;
  width: 180px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 8px;
  background: var(--jn-color-surface-muted);
}

.dt-brand-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.dt-brand-item:hover .dt-brand-item__media img {
  transform: scale(1.04);
}

.dt-brand-item h3 {
  margin: 0;
  font-family: var(--jn-font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--jn-color-text);
}

.dt-brand-item p {
  margin: 0.45rem 0 0;
  font-size: 0.85rem;
  line-height: 1.65;
  color: rgba(30, 34, 40, 0.66);
}

.dt-brand__foot {
  margin: 2rem 0 0;
  text-align: center;
}

/* --------------------------------------------------------------------------
   S09 FAQ (accordion)
   -------------------------------------------------------------------------- */
.dt-faq {
  background: var(--jn-color-surface-soft);
}

.dt-faq__inner {
  max-width: 52rem;
}

.dt-faq__title {
  margin-bottom: 2rem;
  text-align: center;
}

.dt-faq__list {
  border-top: 1px solid var(--jn-color-border);
}

.dt-faq-item {
  border-bottom: 1px solid var(--jn-color-border);
}

.dt-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  font-family: var(--jn-font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--jn-color-text);
  cursor: pointer;
  list-style: none;
}

.dt-faq-item summary::-webkit-details-marker {
  display: none;
}

.dt-faq-item summary i {
  flex: none;
  width: 1.1rem;
  height: 1.1rem;
  color: var(--jn-color-gold);
  transition: transform 0.25s ease;
}

.dt-faq-item[open] summary i {
  transform: rotate(180deg);
}

.dt-faq-item p {
  margin: 0;
  padding: 0 2.5rem 1.25rem 0;
  font-size: 0.92rem;
  line-height: 1.75;
  color: rgba(30, 34, 40, 0.66);
}

/* --------------------------------------------------------------------------
   S07 Why Us
   -------------------------------------------------------------------------- */
.dt-why__title {
  margin-bottom: 3rem;
  text-align: center;
}

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

.dt-why-card {
  padding: 1.5rem;
  border: 1px solid var(--jn-color-border);
  border-radius: 10px;
  background: #fff;
  text-align: center;
}

.dt-why-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);
}

.dt-why-card__icon svg {
  width: 1.3rem;
  height: 1.3rem;
}

.dt-why-card h3 {
  margin: 0;
  font-family: var(--jn-font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--jn-color-text);
}

.dt-why-card p {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  line-height: 1.65;
  color: rgba(30, 34, 40, 0.66);
}

/* --------------------------------------------------------------------------
   S08 Flow
   -------------------------------------------------------------------------- */
.dt-flow__title {
  margin-bottom: 3rem;
  text-align: center;
}

.dtc-flow__banner {
  margin: -1rem auto 2.5rem;
  max-width: 56rem;
  overflow: hidden;
  border-radius: 12px;
  background: var(--jn-color-surface-muted);
}

.dtc-flow__banner img {
  width: 100%;
  height: auto;
  display: block;
}

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

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

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

.dt-flow__icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.dt-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);
}

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

.dt-flow__foot {
  margin: 2rem 0 0;
  text-align: center;
}

/* --------------------------------------------------------------------------
   S09 Trust & Compliance
   -------------------------------------------------------------------------- */
.dt-trust__inner {
  max-width: 52rem;
  margin: 0 auto;
  text-align: center;
}

.dt-trust__title {
  margin: 0 0 1rem;
}

.dt-trust__text {
  margin: 0 auto;
  max-width: 40rem;
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(30, 34, 40, 0.72);
}

.dt-trust__foot {
  margin: 2rem 0 0;
  text-align: center;
}

#certSlider {
  margin-top: 2.5rem;
}

#certSlider .ex-slide figcaption {
  text-align: center;
}

#certSlider .cert-image {
  cursor: zoom-in;
}

#certSlider .ex-track {
  will-change: transform;
}

#certSlider > .overflow-hidden {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

#certLightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 5vh 5vw;
  background: rgba(17, 19, 22, 0.92);
}

#certLightbox.is-open {
  display: flex;
}

#certLightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  background: #fff;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.4);
}

#certLightboxClose {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  font-size: 28px;
  line-height: 1;
}

/* --------------------------------------------------------------------------
   S10 Inquiry Form
   -------------------------------------------------------------------------- */
.dt-cta {
  padding: 5.5rem 0;
  background: var(--jn-color-steel);
}

.dt-cta__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.dt-cta__title {
  margin: 0;
  font-family: var(--jn-font-serif);
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #fff;
}

.dt-cta__benefits {
  margin-top: 2rem;
  max-width: 26rem;
}

.dt-cta__form {
  padding: 2rem;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.3);
}

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

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

  .dt-head__media,
  .dt-design__media {
    max-width: 42rem;
  }

  .dt-stats__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem;
  }

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

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

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

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

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

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

  .dt-cap__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.75rem;
  }

  .dt-brand__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }

  .dt-brand-item__media {
    width: 120px;
  }

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

  .dt-cta {
    padding: 4rem 0;
  }

  .dt-cta__form {
    padding: 1.5rem;
  }
}

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

/* Balanced capabilities and expandable brand imagery. */
.dt-design .dt-cap__grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:2rem; margin-top:4rem; }
.dt-brand__grid { display:flex; gap:10px; height:420px; }
.dt-brand-item { position:relative; display:block; flex:1 1 0; min-width:0; padding:0; border:0; border-radius:8px; overflow:hidden; background:#30302e; text-align:left; cursor:pointer; transition:flex-grow .5s ease; }
.dt-brand-item.is-active { flex-grow:3; }
.dt-brand-item:focus-visible { outline:3px solid #c3a744; outline-offset:3px; }
.dt-brand-item__media { position:absolute; inset:0; width:100%; height:100%; border-radius:0; }
.dt-brand-item__media img { display:block; width:100%; height:100%; object-fit:cover; }
.dt-brand-item::after { content:''; position:absolute; inset:0; background:linear-gradient(0deg,rgba(15,17,20,.86),rgba(15,17,20,.08) 75%); pointer-events:none; }
.dt-brand-item__copy { position:absolute; z-index:1; left:20px; right:20px; bottom:24px; color:#fff; }
.dt-brand-item__title { display:block; font-family:var(--jn-font-serif); font-size:1.15rem; font-weight:600; line-height:1.25; color:#fff; overflow-wrap:anywhere; }
.dt-brand-item__description { display:block; max-height:0; overflow:hidden; opacity:0; font-size:.85rem; line-height:1.6; transition:opacity .3s ease,max-height .3s ease,margin .3s ease; }
.dt-brand-item.is-active .dt-brand-item__description { max-height:9em; opacity:1; margin-top:.65rem; }
.dt-flow { background:#f2eee6; }
.dt-flow__list { counter-reset:dt-steps; gap:1rem; }
.dt-flow__list li { position:relative; padding:1.5rem; background:rgba(255,255,255,.7); border-top:2px solid #c6a15b; border-radius:0 0 8px 8px; }
.dt-flow__list li::before { counter-increment:dt-steps; content:'0' counter(dt-steps); display:block; margin-bottom:1.2rem; color:#ac8b4f; font-size:.75rem; font-weight:700; letter-spacing:.1em; }
.dt-flow__foot { margin-top:2.5rem; }
@media (max-width:1023px) { .dt-flow__list { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:767px) {
  .dt-design .dt-cap__grid { grid-template-columns:1fr; gap:1.75rem; margin-top:3rem; }
  .dt-brand__grid { height:auto; overflow-x:auto; scroll-snap-type:x mandatory; padding:3px 3px 14px; }
  .dt-brand-item,.dt-brand-item.is-active { flex:0 0 80%; height:350px; scroll-snap-align:start; }
  .dt-brand-item__description { max-height:9em; opacity:1; margin-top:.65rem; }
  .dt-flow__list { grid-template-columns:1fr; }
}
@media (prefers-reduced-motion:reduce) { .dt-brand-item,.dt-brand-item__description { transition:none; } }

.dt-faq-item summary { transition: color .2s ease; }
.dt-faq-item[open] summary, .dt-faq-item summary:hover { color: var(--jn-color-gold, #b4973b); }
