/* A small presentation pass: original client proposals, page titles and primary actions.
   No media, text, links, fields or interaction states are removed. */
body.strj-design-detail {
  --dd-copper: #df8849;
  --dd-copper-hover: #ee9d62;
  --dd-copper-active: #cf7739;
  --dd-ink: #171513;
}

/* Give the existing client work enough width to read as a website. */
body.strj-design-detail.strj-services-refined #reseni .services-preserved-proof {
  display: grid;
  grid-template-columns: minmax(0, 640px) minmax(0, 1fr);
  align-items: end;
  gap: 18px 28px;
  width: 100%;
  max-width: none;
  margin-top: 40px;
}
body.strj-design-detail.strj-ux-refined .ux-proof-row {
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr);
  gap: 36px;
  align-items: start;
}
body.strj-design-detail.strj-ux-refined .detail-proof.ux-preserved-proof {
  display: block;
  width: 100%;
  max-width: 640px;
  justify-self: start;
}
body.strj-design-detail.strj-ux-refined .ux-delivery-note {
  padding-top: 4px;
}
body.strj-design-detail:is(.strj-visual-tech, .strj-visual-shop) figure.visual-existing-example {
  display: block;
  width: 100%;
  max-width: 600px;
  margin-top: 28px;
  justify-self: start;
}
body.strj-design-detail :is(.services-preserved-proof, .ux-preserved-proof, figure.visual-existing-example) > a {
  display: block;
  min-width: 0;
  width: 100%;
}
body.strj-design-detail :is(.services-preserved-proof, .ux-preserved-proof, figure.visual-existing-example) img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}
body.strj-design-detail :is(.services-preserved-proof, .ux-preserved-proof, figure.visual-existing-example) figcaption {
  max-width: 54ch;
  margin: 12px 0 0;
  padding: 0;
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0;
  text-transform: none;
}
body.strj-design-detail.strj-services-refined #reseni .services-preserved-proof figcaption {
  margin: 0 0 2px;
  font-size: 14px;
}
body.strj-design-detail :is(.ux-preserved-proof, figure.visual-existing-example) .detail-proof-type {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: none;
}

/* Retain Archivo and the established headline measure; settle the scale. */
body.strj-design-detail .ph .ph-h1 {
  line-height: 1.06;
  letter-spacing: -.035em;
  text-wrap: balance;
}
body.strj-design-detail:not(.strj-pricing-visual) .ph .ph-h1 {
  font-size: clamp(42px, 4.7vw, 64px);
}
body.strj-design-detail.strj-visual-shop .ph .ph-h1 {
  font-size: clamp(42px, 4.3vw, 56px);
  text-wrap: wrap;
}

/* Same matte copper action in the hero, body and contact band.
   Consent controls and non-primary actions keep their own treatment. */
body.strj-design-detail .btn.btn-primary:not(.consent-btn) {
  background: var(--dd-copper) !important;
  background-image: none !important;
  border: 1px solid var(--dd-copper) !important;
  border-radius: 2px !important;
  color: var(--dd-ink) !important;
  box-shadow: none !important;
  clip-path: none !important;
  transform: none !important;
  min-height: 48px;
  max-width: 100%;
  padding: 14px 22px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.35;
  text-align: center;
  white-space: normal;
  transition: background-color .18s ease, border-color .18s ease !important;
}
body.strj-design-detail .btn.btn-primary:not(.consent-btn)::before,
body.strj-design-detail .btn.btn-primary:not(.consent-btn)::after {
  display: none !important;
}
body.strj-design-detail .btn.btn-primary:not(.consent-btn):not(:disabled):not([aria-disabled="true"]):hover {
  background: var(--dd-copper-hover) !important;
  border-color: var(--dd-copper-hover) !important;
  box-shadow: none !important;
  transform: none !important;
}
body.strj-design-detail .btn.btn-primary:not(.consent-btn):not(:disabled):not([aria-disabled="true"]):active {
  background: var(--dd-copper-active) !important;
  border-color: var(--dd-copper-active) !important;
  box-shadow: none !important;
  transform: none !important;
}
body.strj-design-detail .btn.btn-primary:not(.consent-btn):focus-visible {
  outline: 2px solid #803e19 !important;
  outline-offset: 4px !important;
}
body.strj-design-detail :is(.ph, .hero, .cta-band, .hd) .btn.btn-primary:not(.consent-btn):focus-visible {
  outline-color: #fff0dd !important;
}

/* The sticky mobile action uses the same paint, with its original geometry. */
body.strj-design-detail a.mb-cta {
  background: var(--dd-copper) !important;
  background-image: none !important;
  border-color: var(--dd-copper) !important;
  color: var(--dd-ink) !important;
  box-shadow: none !important;
  transform: none !important;
  transition: background-color .18s ease, border-color .18s ease !important;
}
body.strj-design-detail a.mb-cta:hover {
  background: var(--dd-copper-hover) !important;
  border-color: var(--dd-copper-hover) !important;
  color: var(--dd-ink) !important;
  box-shadow: none !important;
  transform: none !important;
}
body.strj-design-detail a.mb-cta:active {
  background: var(--dd-copper-active) !important;
  border-color: var(--dd-copper-active) !important;
  color: var(--dd-ink) !important;
}
body.strj-design-detail a.mb-cta:focus-visible {
  outline: 2px solid #171513 !important;
  outline-offset: -5px !important;
}

@media (max-width: 979px) {
  body.strj-design-detail.strj-services-refined #reseni .services-preserved-proof {
    grid-template-columns: minmax(0, 1fr);
    max-width: 640px;
    gap: 12px;
  }
  body.strj-design-detail.strj-ux-refined .ux-proof-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }
  body.strj-design-detail.strj-ux-refined .ux-delivery-note {
    padding-top: 0;
  }
}
@media (max-width: 700px) {
  body.strj-design-detail:not(.strj-pricing-visual) .ph .ph-h1 {
    font-size: clamp(36px, 9.4vw, 44px);
    line-height: 1.08;
    letter-spacing: -.025em;
  }
  body.strj-design-detail.strj-services-refined #reseni .services-preserved-proof {
    margin-top: 30px;
  }
  body.strj-design-detail .btn.btn-primary:not(.consent-btn) {
    padding: 13px 18px !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.strj-design-detail .btn.btn-primary:not(.consent-btn),
  body.strj-design-detail a.mb-cta {
    transition: none !important;
  }
}
