/* ════════════════════════════════════════════════════════════════
   DV PAGES — shared design system for Market / About / sub-pages.
   Use these reusable classes so page seeders ship HTML only (no <style>).
   Theme: red #a92c2a, dark #0d0d0d, white.
════════════════════════════════════════════════════════════════ */

.dv-page *, .dv-page *::before, .dv-page *::after { box-sizing: border-box; }

/* ── Shared headings / labels ── */
.dv-page .section-label { display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: #a92c2a; margin-bottom: .6rem; }
.dv-page .section-label.on-dark { color: rgba(255,255,255,.4); }
.dv-page .section-heading { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; color: #000; line-height: 1.2; }
.dv-page .section-heading-white { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; color: #fff; line-height: 1.2; }
.dv-page .red-bar { width: 52px; height: 4px; background: #a92c2a; border-radius: 2px; margin: 1.1rem 0 1.75rem; }
.dv-page .red-bar.centered { margin-left: auto; margin-right: auto; }

/* ── Section backgrounds / padding ── */
.dv-page .dv-section { padding: 7rem 0; }
.dv-page .dv-section.sm { padding: 6rem 0; }
.dv-page .dv-bg-white { background: #fff; }
.dv-page .dv-bg-light { background: #f4f4f4; }
.dv-page .dv-bg-soft { background: #f7f7f7; }
.dv-page .dv-bg-dark { background: #0d0d0d; }

/* ── Hero ── */
.dv-hero { position: relative; min-height: 580px; display: flex; align-items: center; background: #000; overflow: hidden; }
.dv-hero.short { min-height: 560px; }
.dv-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.dv-hero::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgba(0,0,0,.96) 0%, rgba(0,0,0,.8) 50%, rgba(0,0,0,.42) 100%); }
.dv-hero::after { content: ''; position: absolute; bottom: -90px; left: -70px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(169,44,42,.22) 0%, transparent 70%); z-index: 1; }
.dv-hero__body { position: relative; z-index: 2; padding: 6rem 0; width: 100%; }
.dv-hero__kicker { display: inline-flex; align-items: center; gap: .5rem; background: rgba(169,44,42,.15); border: 1px solid rgba(169,44,42,.35); border-radius: 2px; padding: .35rem .9rem; font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #a92c2a; margin-bottom: 1.5rem; }
.dv-hero__title { font-size: clamp(2.1rem, 4.8vw, 3.4rem); font-weight: 900; color: #fff; line-height: 1.08; max-width: 780px; letter-spacing: -.01em; }
.dv-hero__bar { width: 56px; height: 4px; background: #a92c2a; border-radius: 2px; margin: 1.5rem 0 1.2rem; }
.dv-hero__tagline { font-size: 1.1rem; color: rgba(255,255,255,.6); max-width: 660px; line-height: 1.75; }
.dv-hero__tagline.italic { font-style: italic; color: rgba(255,255,255,.65); }
.dv-breadcrumb { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.38); margin-bottom: 1.5rem; }
.dv-breadcrumb a { color: rgba(255,255,255,.38); text-decoration: none; transition: color .2s; }
.dv-breadcrumb a:hover { color: #a92c2a; }
.dv-breadcrumb .sep { color: rgba(255,255,255,.18); }
.dv-breadcrumb .cur { color: rgba(255,255,255,.7); }

/* ── Lead text + side photo ── */
.dv-lead { font-size: 1.18rem; line-height: 1.7; color: #1a1a1a; font-weight: 500; }
.dv-prose p { font-size: .97rem; color: #4a4a4a; line-height: 1.9; }
.dv-prose-dark p { font-size: .97rem; color: rgba(255,255,255,.6); line-height: 1.9; }
.dv-prose-dark strong { color: #fff; }
.dv-photo { border-radius: 4px; overflow: hidden; aspect-ratio: 4/3; position: relative; }
.dv-photo.tall { aspect-ratio: 3/4; }
.dv-photo.portrait { aspect-ratio: 4/5; }
.dv-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dv-photo__caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 1.5rem; background: linear-gradient(to top, rgba(0,0,0,.8) 0%, transparent 100%); font-size: .78rem; color: rgba(255,255,255,.8); font-style: italic; }

/* ── Small note box ── */
.dv-note { margin-top: 1.5rem; display: flex; align-items: flex-start; gap: .8rem; padding: 1.1rem 1.4rem; background: #f8f8f8; border-left: 3px solid #a92c2a; border-radius: 0 3px 3px 0; }
.dv-note i { color: #a92c2a; font-size: 1rem; margin-top: .1rem; flex-shrink: 0; }
.dv-note span { font-size: .87rem; color: #444; line-height: 1.7; }
.dv-note strong { color: #1a1a1a; }

/* ── Challenge cards (dark, red left border) ── */
.dv-ch-card { display: flex; align-items: flex-start; gap: .9rem; padding: 1.25rem 1.4rem; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); border-left: 3px solid #a92c2a; border-radius: 0 3px 3px 0; height: 100%; }
.dv-ch-card i { color: #a92c2a; font-size: 1.05rem; margin-top: .1rem; flex-shrink: 0; }
.dv-ch-card span { font-size: .87rem; color: rgba(255,255,255,.62); line-height: 1.6; }

/* ── Light capability / icon cards ── */
.dv-cap-card { background: #fff; border-radius: 3px; padding: 1.85rem; height: 100%; border-bottom: 3px solid transparent; transition: all .25s; box-shadow: 0 2px 8px rgba(0,0,0,.05); }
.dv-cap-card.soft { background: #f8f8f8; box-shadow: none; }
.dv-cap-card:hover { border-bottom-color: #a92c2a; box-shadow: 0 8px 24px rgba(0,0,0,.1); transform: translateY(-3px); }
.dv-cap-card.soft:hover { background: #fff; }
.dv-cap-icon { width: 48px; height: 48px; background: rgba(169,44,42,.08); border-radius: 3px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; color: #a92c2a; margin-bottom: 1.1rem; transition: all .25s; }
.dv-cap-card:hover .dv-cap-icon { background: #a92c2a; color: #fff; }
.dv-cap-title { font-size: .95rem; font-weight: 700; color: #000; margin-bottom: .5rem; line-height: 1.35; }
.dv-cap-desc { font-size: .84rem; color: #6b7280; line-height: 1.7; margin: 0; }

/* ── Top-border card (red bar on top) ── */
.dv-top-card { background: #fff; border-radius: 3px; padding: 2rem 1.85rem; height: 100%; border-top: 3px solid #a92c2a; box-shadow: 0 2px 8px rgba(0,0,0,.05); transition: all .25s; }
.dv-top-card:hover { box-shadow: 0 10px 28px rgba(0,0,0,.1); transform: translateY(-3px); }
.dv-top-card .dv-top-icon { width: 50px; height: 50px; background: rgba(169,44,42,.08); border-radius: 3px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: #a92c2a; margin-bottom: 1.1rem; }
.dv-top-card .dv-top-title { font-size: 1.02rem; font-weight: 800; color: #0d0d0d; margin-bottom: .6rem; line-height: 1.3; }
.dv-top-card .dv-top-desc { font-size: .88rem; color: #5a5a5a; line-height: 1.8; margin: 0; }
.dv-top-list { list-style: none; padding: 0; margin: .9rem 0 0; }
.dv-top-list li { position: relative; padding: .35rem 0 .35rem 1.5rem; font-size: .86rem; color: #444; line-height: 1.55; }
.dv-top-list li::before { content: '\F26E'; font-family: 'bootstrap-icons'; position: absolute; left: 0; top: .42rem; color: #a92c2a; font-size: .8rem; }

/* ── Dark feature cards (icon + serif number + red sweep) ── */
.dv-feat-card { position: relative; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 4px; padding: 2rem 1.85rem 1.85rem; height: 100%; overflow: hidden; transition: all .25s; }
.dv-feat-card::before { content: ''; position: absolute; top: 0; left: 0; width: 0; height: 3px; background: #a92c2a; transition: width .3s; }
.dv-feat-card:hover { background: rgba(255,255,255,.07); transform: translateY(-4px); box-shadow: 0 14px 36px rgba(0,0,0,.35); }
.dv-feat-card:hover::before { width: 100%; }
.dv-feat-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.1rem; }
.dv-feat-icon { width: 48px; height: 48px; border-radius: 3px; background: rgba(169,44,42,.14); display: flex; align-items: center; justify-content: center; font-size: 1.35rem; color: #a92c2a; transition: all .25s; }
.dv-feat-card:hover .dv-feat-icon { background: #a92c2a; color: #fff; }
.dv-feat-num { font-family: Georgia, serif; font-size: 2.4rem; font-weight: 900; color: rgba(255,255,255,.1); line-height: 1; }
.dv-feat-name { font-size: 1.02rem; font-weight: 800; color: #fff; margin-bottom: .4rem; }
.dv-feat-desc { font-size: .85rem; color: rgba(255,255,255,.5); line-height: 1.65; margin: 0; }

/* ── Quote callout (light or dark) ── */
.dv-quote { border-left: 4px solid #a92c2a; padding: 1.5rem 2rem; background: #fff; border-radius: 0 3px 3px 0; box-shadow: 0 2px 12px rgba(0,0,0,.05); margin-bottom: 2rem; }
.dv-quote.on-dark { background: rgba(255,255,255,.03); box-shadow: none; }
.dv-quote p { font-size: 1.08rem; color: #2a2a2a; line-height: 1.85; font-style: italic; margin: 0; }
.dv-quote.on-dark p { color: rgba(255,255,255,.75); }

/* ── Point list (light or dark) ── */
.dv-point { display: flex; align-items: flex-start; gap: .85rem; padding: 1rem 1.25rem; background: #fff; border: 1px solid #ececec; border-radius: 3px; margin-bottom: .65rem; }
.dv-point.on-dark { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.07); }
.dv-point:last-child { margin-bottom: 0; }
.dv-point i { color: #a92c2a; font-size: .95rem; margin-top: .15rem; flex-shrink: 0; }
.dv-point span { font-size: .87rem; color: #3a3a3a; line-height: 1.7; }
.dv-point.on-dark span { color: rgba(255,255,255,.6); }

/* ── Related-service link cards ── */
.dv-svc-link { display: flex; align-items: center; gap: .9rem; padding: 1.15rem 1.4rem; background: #f8f8f8; border: 1px solid #ececec; border-radius: 3px; text-decoration: none; height: 100%; border-left: 3px solid #a92c2a; transition: all .22s; }
.dv-svc-link:hover { background: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.08); transform: translateY(-2px); }
.dv-svc-link .ico { color: #a92c2a; font-size: 1.15rem; flex-shrink: 0; }
.dv-svc-link span { font-size: .88rem; font-weight: 700; color: #1a1a1a; line-height: 1.35; flex: 1; }
.dv-svc-link .arr { color: #a92c2a; font-size: .8rem; transition: transform .2s; }
.dv-svc-link:hover .arr { transform: translateX(3px); }

/* ── Insight cards (rich) ── */
.dv-ins-card { display: flex; flex-direction: column; background: #fff; border-radius: 4px; overflow: hidden; border: 1px solid #e5e7eb; text-decoration: none; color: inherit; height: 100%; transition: box-shadow .2s, transform .2s; }
.dv-ins-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.1); transform: translateY(-4px); }
.dv-ins-img { position: relative; aspect-ratio: 16/10; overflow: hidden; background: #0d0d0d; }
.dv-ins-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; display: block; }
.dv-ins-card:hover .dv-ins-img img { transform: scale(1.04); }
.dv-ins-tag { position: absolute; top: .85rem; left: .85rem; background: #a92c2a; color: #fff; font-size: .65rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .25rem .6rem; border-radius: 2px; }
.dv-ins-body { padding: 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.dv-ins-meta { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; font-size: .75rem; color: #9ca3af; margin-bottom: .85rem; }
.dv-ins-meta i { color: #a92c2a; margin-right: .2rem; font-size: .8rem; }
.dv-ins-title { font-size: 1rem; font-weight: 700; color: #0d0d0d; line-height: 1.4; margin-bottom: .65rem; }
.dv-ins-excerpt { font-size: .84rem; color: #6b7280; line-height: 1.75; margin: 0; flex: 1; }
.dv-ins-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid #f3f4f6; }
.dv-ins-author { font-size: .75rem; color: #6b7280; font-weight: 500; }
.dv-ins-more { font-size: .75rem; font-weight: 700; color: #a92c2a; display: flex; align-items: center; gap: .3rem; letter-spacing: .04em; text-transform: uppercase; transition: gap .18s; }
.dv-ins-card:hover .dv-ins-more { gap: .55rem; color: #8a2220; }

/* ── CTA band ── */
.dv-cta { position: relative; overflow: hidden; padding: 6rem 0; background: linear-gradient(135deg, #111 0%, #1c1c1c 55%, #0d0d0d 100%); }
.dv-cta::before { content: ''; position: absolute; top: -80px; right: -80px; width: 400px; height: 400px; border-radius: 50%; background: rgba(169,44,42,.12); }
.dv-cta::after { content: ''; position: absolute; bottom: -100px; left: -60px; width: 320px; height: 320px; border-radius: 50%; background: rgba(169,44,42,.07); }
.dv-cta__inner { position: relative; z-index: 1; }
.dv-cta__title { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 900; color: #fff; line-height: 1.18; letter-spacing: -.01em; }
.dv-cta__text { font-size: 1rem; color: rgba(255,255,255,.6); line-height: 1.75; max-width: 600px; }

/* ── Buttons ── */
.dv-btn-red { display: inline-flex; align-items: center; gap: .5rem; background: #a92c2a; color: #fff; font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; padding: .9rem 2.1rem; border-radius: 2px; text-decoration: none; transition: background .2s; }
.dv-btn-red:hover { background: #8a2220; color: #fff; }
.dv-btn-ghost { display: inline-flex; align-items: center; gap: .5rem; border: 2px solid rgba(255,255,255,.25); color: #fff; font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; padding: .88rem 2.1rem; border-radius: 2px; text-decoration: none; transition: all .2s; }
.dv-btn-ghost:hover { border-color: #a92c2a; color: #a92c2a; }

/* ── Responsive ── */
@media (max-width: 991px) {
    .dv-hero, .dv-hero.short { min-height: 460px; }
    .dv-photo, .dv-photo.tall, .dv-photo.portrait { aspect-ratio: 16/10; margin-top: 2rem; }
    .dv-section { padding: 4.5rem 0; }
}
