/* October 16 refinement: existing colour tokens and progressive enhancement. */
.dd-home .dd-eyebrow,
.dd-home .dd-flow-caption, .dd-home .dd-flow-caption span,
.dd-home .dd-step-copy, .dd-home .dd-step-copy > span, .dd-home .dd-step-check, .dd-home .dd-step-number,
.dd-home .dd-message small, .dd-home .dd-route-index,
.dd-home .dd-spot-page, .dd-home .dd-spot-page span,
.dd-home .dd-spot-choice > span, .dd-home .dd-spot-diagram-label,
.dd-home .dd-spot-core small, .dd-home .dd-spot-foundations span,
.dd-home .dd-spot-nfc-flow span,
.dd-home .dd-sphere-signature-row span,
.dd-home .dd-flow-toolbar span, .dd-home .dd-spot-replay, .dd-home .dd-flow-replay {
  font-size: max(12px, .75rem);
}
.dd-home figcaption, .dd-home .dd-system-note,
.dd-home .dd-evidence-source, .dd-home .dd-evidence small, .dd-home .dd-evidence p,
.dd-home .dd-hero-person p > span, .dd-home .dd-meta,
.dd-home .dd-spot-status, .dd-home .dd-flow-detail {
  font-size: max(14px, .875rem);
}
.dd-home .dd-hero-person img {
  flex: 0 0 72px; width: 72px; height: 72px;
}
.dd-home .dd-hero-person strong {
  font-family: inherit; font-size: 1rem; font-weight: 650;
}
/* Reading is available from the first paint, including reduced motion. */
.dd-home.dd-refined .dd-hero-copy > h1,
.dd-home.dd-refined .dd-hero-copy > .dd-lede,
.dd-home.dd-refined .dd-hero-copy > .dd-actions {
  animation: none !important; opacity: 1; transform: none;
}
.dd-mobile-audit { display: none; }
@media (max-width: 767px) {
  .dd-home { padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }
  .dd-home.dd-refined .dd-section { padding-block: 48px; }
  .dd-home.dd-refined [data-home-section="case-study"] { padding: 24px 16px; }
  .dd-home.dd-refined.dd-sphere-preview .dd-hero .dd-system-map { padding: 16px; }
  .dd-home .dd-system-map .dd-message,
  .dd-home .dd-system-map .dd-flow-detail,
  .dd-home .dd-system-map .dd-flow-toolbar,
  .dd-home .dd-system-map .dd-system-note { display: none; }
  .dd-home.dd-refined .dd-system-map h2 { font-size: 20px; line-height: 1.15; margin-block: 8px 12px; }
  .dd-home .dd-system-flow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; }
  .dd-home .dd-system-flow::before, .dd-home .dd-system-step::before,
  .dd-home .dd-system-step::after, .dd-home .dd-step-check,
  .dd-home .dd-step-copy > span { display: none; }
  .dd-home .dd-system-step { min-width: 0; padding: 0; min-height: 64px; }
  .dd-home .dd-system-step .dd-step-control { display: flex; align-items: center; gap: 8px; padding: 8px; min-height: 64px; }
  .dd-home .dd-step-number { flex-basis: 20px; width: 20px; height: 24px; border: 0; }
  .dd-home.dd-refined .dd-step-copy strong { font-size: 12px; line-height: 1.4; margin: 0; }
  .dd-home [data-home-section="insights"] .dd-section-heading { margin-bottom: 16px; }
  .dd-home [data-home-section="insights"] .dd-route {
    display: grid; grid-template-columns: minmax(0, 1fr) 24px; gap: 0 8px; padding-block: 12px;
  }
  .dd-home [data-home-section="insights"] .dd-route-index,
  .dd-home [data-home-section="insights"] .dd-route p { display: none; }
  .dd-home [data-home-section="insights"] .dd-route h3 {
    font-size: 1rem; font-weight: 650; line-height: 1.5; grid-column: 1; margin: 0;
  }
  .dd-home [data-home-section="insights"] .dd-route-arrow { grid-column: 2; align-self: center; }
  .dd-home.dd-refined .dd-spot-visual { height: 320px; min-height: 0; max-height: 320px; }
  .dd-home .dd-spot-visual > img { width: 100%; height: 100%; max-height: 320px; object-fit: contain; }
  .dd-home .dd-spot-visual figcaption { position: absolute; inset: auto 12px 12px; }
  .dd-home .dd-spotlight.is-enhanced .dd-spot-panel[hidden] { display: none !important; }
  .dd-home .dd-spot-nav { margin-top: 16px; }
  .dd-mobile-audit:not([hidden]) {
    position: fixed; z-index: 40; inset: auto 0 0; display: flex; justify-content: center;
    min-height: 56px; padding: 8px 16px calc(8px + env(safe-area-inset-bottom, 0px));
    background: var(--dd-ink-900); border-top: 1px solid var(--dd-ink-800);
  }
  .dd-home .dd-mobile-audit .dd-button { min-height: 56px; width: 100%; padding: 10px 12px; font-size: 14px; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .dd-home .dd-hero-copy > * { animation: none !important; opacity: 1; transform: none; }
}
/* Keep long French headings and supporting copy compact without hiding them. */
.dd-home .dd-spot-visual figcaption { font-size: max(14px, .875rem); }
@media (max-width: 767px) {
  .dd-home .dd-section { line-height: 1.6; }
  .dd-home .dd-section-heading { gap: 16px; margin-bottom: 24px; }
  .dd-home .dd-section-heading h2, .dd-home .dd-about-copy h2 {
    max-width: none; font-size: 28px; line-height: 1.12; margin-block: 0 16px;
  }
  .dd-home .dd-section-heading .dd-eyebrow { margin-bottom: 12px; }
  .dd-home .dd-section-heading p { line-height: 1.6; }
  .dd-home .dd-evidence article { padding: 16px; }
  .dd-home .dd-evidence p { margin-block: 8px; line-height: 1.5; }
  .dd-home.dd-refined .dd-route { min-height: 0; padding-block: 16px; gap: 8px 12px; grid-template-columns: 1.75rem minmax(0, 1fr) 1.5rem; }
  .dd-home .dd-route h3 { font-size: 20px; line-height: 1.25; }
  .dd-home .dd-process { gap: 16px; }
  .dd-home .dd-process article { padding-top: 12px; }
  .dd-home .dd-process h3 { margin-block: 8px; font-size: 20px; line-height: 1.25; }
  .dd-home .dd-process p { margin-block: 8px; }
  .dd-home .dd-about { gap: 24px; }
  .dd-home .dd-about .dd-portrait { width: 220px; height: 220px; object-fit: cover; }
  .dd-home .dd-spot-copy { gap: 0; }
  .dd-home .dd-spot-copy > .dd-eyebrow { margin-bottom: 8px; }
  .dd-home .dd-spot-copy h3 { font-size: 28px; margin-bottom: 12px; }
  .dd-home .dd-spot-page { margin-top: 12px; }
  .dd-home .dd-spot-choice { min-height: 56px; }
  .dd-home .contact-form input { min-height: 48px; padding-block: 9px; }
  .dd-home .contact-form textarea { min-height: 120px; }
  .dd-home .contact-fallback { padding: 16px; gap: 16px; }
  .dd-home [data-home-section="insights"] .dd-route { grid-template-columns: minmax(0,1fr) 24px; }
  .dd-home [data-home-section="insights"] .dd-route h3 { font-size: 16px; line-height: 1.5; }
}
@media (max-width: 767px) {
  .dd-home .dd-evidence { gap: 8px; }
  .dd-home .dd-case-facts { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px 16px; padding: 16px; }
  .dd-home .dd-case-facts div { min-width: 0; padding-block: 8px; }
  .dd-home .dd-case-facts dt { font-size: 12px; }
  .dd-home .dd-case-facts dd { font-size: 14px; line-height: 1.5; }
  .dd-home .dd-featured-case { gap: 24px; }
  .dd-home .dd-featured-case .dd-seo-case-title { max-width: none; font-size: 26px; }
  .dd-home.dd-refined #services .dd-route p { grid-column: 1 / -1; }
  .dd-home #services .dd-route-arrow { grid-row: 1; }
  .dd-home.dd-refined .dd-spot-visual { height: 240px; max-height: 240px; }
  .dd-home .dd-spot-visual > img { max-height: 240px; }
  .dd-home.dd-refined .dd-spot-copy { padding-block: 0; }
  .dd-home .dd-spot-panel { gap: 16px; }
  .dd-home.dd-refined .dd-spot-choice { min-height: 56px; }
  .dd-home .dd-about { display: block; }
  .dd-home .dd-about .dd-portrait { float: left; width: 112px; height: 112px; margin: 0 16px 16px 0; }
  .dd-home .dd-about-copy h2 { font-size: 24px; }
  .dd-home .dd-about-copy > p:not(.dd-eyebrow) { clear: both; }
  .dd-home .contact-form .field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .dd-home .contact-form > p, .dd-home .contact-fallback p { font-size: 14px; line-height: 1.5; }
}
@media (max-width: 767px) {
  .dd-home.dd-refined .dd-hero, .dd-home.dd-refined.dd-sphere-preview .dd-hero { padding-block: 32px 24px; gap: 24px; }
  .dd-home .dd-hero-person { margin-top: 16px; }
  .dd-home.dd-refined .dd-hero .dd-lede { margin-top: 20px; }
  .dd-home .dd-section-heading { margin-bottom: 16px; }
  .dd-home .dd-section-heading h2 { font-size: 26px; }
  .dd-home .dd-section-heading .dd-eyebrow { margin-bottom: 8px; }
  .dd-home .dd-process p { margin-block: 4px; }
  .dd-home .contact-form { gap: 12px; }
}
@media (max-width: 767px) {
  .dd-home .dd-section-heading > p { font-size: 15px; line-height: 1.6; }
}
@media (max-width: 767px) {
  .dd-home .dd-section-heading h2 { margin-bottom: 0; }
}
@media (max-width: 767px) {
  .dd-home .dd-spot-nav { order: 1; margin: 16px 0 0; }
  .dd-home .dd-spot-panels { order: 0; }
  .dd-home .dd-spot-tools { order: 2; }
}
