/*
 * Company and proof pages: /about, /afpm, /testimonials, /awards-recognition,
 * /media, /become-reseller, /career. Loaded after /styles/home.css, whose
 * .hm-* blocks these pages reuse unchanged, and before /styles/site.css,
 * which supplies the tokens, bands, type classes, links and buttons.
 *
 * Calm rules (review/DESIGN-SPEC.md): white bands, at most one snow band and
 * one Ink band (the closing Print My Part offer); left-aligned throughout;
 * the same eight text styles as the home page; no boxes; hairlines only.
 * Nothing here sets a colour or a font outside the --dz-* tokens.
 *
 * site.css loads after this file, so a rule that overrides a shared .dz-*
 * class carries one more class than the rule it overrides.
 */

/* A page that closes with its own Print My Part band does not also show the
   footer's copy of the offer directly beneath it. */
body.dz-own-offer .dz-cta-band {
  display: none;
}

/* ---------- Hero: left-aligned, text only ---------- */

.co-hero .dz-wrap {
  display: grid;
  gap: 20px;
  justify-items: start;
}
.hm .co-hero .dz-display {
  max-width: 19ch;
  font-size: clamp(34px, 6vw, 72px);
  line-height: 1.02;
}
.co-hero .hm-sub {
  max-width: 60ch;
  font-size: clamp(16px, 1.5vw, 19px);
}
.co-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 28px;
  margin-top: 8px;
}

/* ---------- Running text ---------- */

.co-prose {
  display: grid;
  gap: 16px;
  max-width: 64ch;
}
.co-prose p {
  color: var(--dz-ink);
  text-wrap: pretty;
}
.co-note {
  max-width: 64ch;
  margin-top: var(--hm-gap);
  padding-top: 24px;
  border-top: 1px solid var(--dz-line-strong);
}

/* ---------- Picture beside text ---------- */

.co-split {
  display: grid;
  gap: 32px;
  align-items: center;
}
.co-split img {
  width: 100%;
  border-radius: var(--dz-radius-md);
}
.co-split .hm-head {
  margin-bottom: 20px;
}
@media (min-width: 860px) {
  .co-split {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 64px;
  }
  .co-split--flip > :first-child {
    order: 2;
  }
}

/* ---------- Rows: awards, press, case summaries, lists of links ---------- */

.co-rows {
  display: grid;
  max-width: 920px;
  border-top: 1px solid var(--dz-line-strong);
}
.co-rows > li {
  display: grid;
  gap: 6px;
  padding: 20px 0;
  border-bottom: 1px solid var(--dz-line-strong);
}
.co-rows .hm-small a,
.co-rows h3 a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--dz-link-line);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.co-rows h3 a:hover,
.co-rows .hm-small a:hover {
  text-decoration-color: currentColor;
}
/* A press title is a plain 16px bold link, not a display heading. */
.co-rows--press h3 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}
.co-rows--press h3 a {
  display: inline-block;
  padding: 11px 0;
}
.co-rows + .dz-h3,
.co-rows + .dz-link {
  margin-top: var(--hm-gap);
}
.co-sub-head {
  margin-bottom: 20px;
}
@media (min-width: 760px) {
  .co-rows--dated > li {
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 4px 32px;
    align-items: baseline;
  }
  .co-rows--dated > li > :first-child {
    grid-row: span 2;
  }
}

/* Two lists side by side on a wide screen. */
.co-pair {
  display: grid;
  gap: 48px;
}
.co-pair .co-rows + .dz-link {
  margin-top: 20px;
}
@media (min-width: 900px) {
  .co-pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 72px;
  }
}

/* ---------- Award photographs ---------- */

.co-photos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  max-width: 920px;
  margin-top: var(--hm-gap);
}
.co-photos img {
  width: 100%;
  border-radius: var(--dz-radius-md);
}

/* ---------- Ways to reach a person ---------- */

.co-contact {
  display: grid;
  gap: 0;
  max-width: 560px;
  border-top: 1px solid var(--dz-line-strong);
}
.co-contact li {
  border-bottom: 1px solid var(--dz-line-strong);
}
.co-contact a {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 24px;
  min-height: 44px;
  padding: 16px 0;
  color: var(--dz-ink);
  text-decoration: none;
}
.co-contact a strong {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--dz-link-line);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}
.co-contact a:hover strong {
  text-decoration-color: currentColor;
}

/* ---------- The closing offer, on Ink ---------- */

.co-offer .hm-head {
  margin-bottom: 28px;
}
.co-offer .co-actions {
  margin-top: 0;
}

/* ---------- Bulleted points inside running text ---------- */

.co-points {
  display: grid;
  gap: 10px;
  max-width: 64ch;
}
.co-points li {
  position: relative;
  padding-left: 20px;
}
.co-points li::before {
  content: '';
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 8px;
  height: 2px;
  background: var(--dz-steel-light);
}
