/* redsticksidingandroof.com modern layer (2026-10-01). Loads LAST; every rule scoped under body.dm. Benchmark: 904epoxyfloors.com. */
:root {
  --ink: #0f1f33; --muted: #4b5768; --line: #e3e8ef; --soft: #f4f6f9; --dark: #0f1f33; --dark-2: #17304f; --dark-rgb: 12, 26, 44;
  --accent: #f2a93b; --accent-2: #f7c46c; --accent-hover: #f6b856; --accent-ink: #0f1f33; --accent-glow: rgba(242, 169, 59, .35);
  --brand: #b45309; --badge-bg: rgba(242, 169, 59, .16);
  --hero-a: rgba(12, 26, 44, .93); --hero-b: rgba(12, 26, 44, .78); --hero-c: rgba(12, 26, 44, .3);
  --shadow: 0 10px 30px rgba(15, 31, 51, .07); --shadow-lg: 0 20px 50px rgba(15, 31, 51, .15);
  --display: "Space Grotesk", "Segoe UI", system-ui, sans-serif; --body: "DM Sans", "Segoe UI", system-ui, sans-serif;
  --plus-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23b45309'%3E%3Cpath d='M10.75 4.75a.75.75 0 0 0-1.5 0v4.5h-4.5a.75.75 0 0 0 0 1.5h4.5v4.5a.75.75 0 0 0 1.5 0v-4.5h4.5a.75.75 0 0 0 0-1.5h-4.5v-4.5Z'/%3E%3C/svg%3E");
}

/* ---------- base (zero-specificity typography so page rules on dark blocks still win) ---------- */
body.dm { margin: 0; font: 17px/1.7 var(--body); color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body.dm *, body.dm *::before, body.dm *::after { box-sizing: border-box; }
:where(body.dm) :where(h1, h2, h3, h4) { font-family: var(--display); color: var(--ink); letter-spacing: -.015em; text-wrap: balance; }
:where(body.dm) :where(p) { color: var(--muted); }
:where(body.dm) :where(a) { color: var(--brand); }
:where(body.dm) :where(img) { max-width: 100%; height: auto; }
body.dm .dm-i { width: 1.05em; height: 1.05em; vertical-align: -.16em; flex-shrink: 0; display: inline-block; }
body.dm .dm-i--ok { color: #16a34a; } body.dm .dm-i--warn { color: #d97706; } body.dm .dm-i--bad { color: #dc2626; }
body.dm .dm-stars { display: inline-flex; gap: 2px; color: #f5b301; vertical-align: -.12em; }
body.dm .dm-star { color: #f5b301; }
body.dm .reveal, body.dm [data-aos], body.dm .fade-up, body.dm .animate-on-scroll, body.dm .fade-in { opacity: 1 !important; transform: none !important; }
body.dm .dm-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- buttons ---------- */
body.dm .dm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 26px; border-radius: 12px; border: 0; background: var(--accent); color: var(--accent-ink);
  font: 800 1rem/1.2 var(--body); text-decoration: none; box-shadow: 0 10px 26px var(--accent-glow); transition: transform .2s, background .2s; }
body.dm .dm-btn:hover { background: var(--accent-hover); transform: translateY(-2px); }
body.dm .dm-btn .dm-i { width: 18px; height: 18px; }
body.dm .dm-btn--ghost { background: rgba(255,255,255,.08); color: #fff; border: 1.5px solid rgba(255,255,255,.42); box-shadow: none; }
body.dm .dm-btn--ghost:hover { background: rgba(255,255,255,.16); }

/* ---------- photo hero ---------- */
body.dm .dm-hero { position: relative; isolation: isolate; color: #fff; text-align: left; overflow: hidden;
  padding: clamp(72px, 9vw, 124px) 0 clamp(64px, 8vw, 104px);
  background: linear-gradient(100deg, var(--hero-a) 0%, var(--hero-b) 48%, var(--hero-c) 100%), var(--hero-img, var(--dark)) center / cover no-repeat; }
body.dm .dm-hero .dm-wrap > * { max-width: 760px; }
body.dm .dm-hero h1 { color: #fff; font: 800 clamp(2.1rem, 4.6vw, 3.5rem)/1.08 var(--display); letter-spacing: -.025em; margin: 10px 0 18px; text-wrap: balance; }
body.dm .dm-hero h1 * { color: inherit; }
body.dm .dm-hero p { color: rgba(255,255,255,.88); font-size: clamp(1.05rem, 1.6vw, 1.2rem); line-height: 1.65; margin: 0 0 22px; }
body.dm .dm-hero p a { color: #fff; }
body.dm .dm-hero :is(.breadcrumb, .breadcrumbs, nav) { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 14px; padding: 0; background: none; color: rgba(255,255,255,.72); font-size: .9rem; list-style: none; }
body.dm .dm-hero :is(.breadcrumb, .breadcrumbs) :is(ol, ul) { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
body.dm .dm-hero :is(.breadcrumb, .breadcrumbs) li { margin: 0; color: rgba(255,255,255,.72); }
body.dm .dm-hero :is(.breadcrumb, .breadcrumbs) a { color: #fff; font-weight: 600; text-decoration: none; }
body.dm .dm-hero :is(.breadcrumb, .breadcrumbs) span { color: rgba(255,255,255,.72); }
body.dm .dm-hero :is(.section-label, .eyebrow, .post-meta, .blog-meta, .meta, .article-meta, .post-date, .date) { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); color: #fff; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 8px; }
body.dm .dm-hero .dm-hero__actions, body.dm .dm-hero :is(.hero-buttons, .hero-actions, .hero-cta, .cta-buttons) { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
body.dm .dm-hero a.btn, body.dm .dm-hero .btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 24px; border-radius: 12px; font-weight: 800; text-decoration: none; }
body.dm .dm-hero :is(.btn-primary, .btn--primary) { background: var(--accent); color: var(--accent-ink); border: 0; }
body.dm .dm-hero :is(.btn-outline, .btn-secondary, .btn--outline, .btn-outline-white, .btn--ghost, .btn-ghost) { background: rgba(255,255,255,.08); color: #fff; border: 1.5px solid rgba(255,255,255,.42); }

/* ---------- bands ---------- */
body.dm .dm-band { padding: clamp(56px, 7vw, 92px) 0; background: #fff; }
body.dm .dm-band--soft { background: var(--soft); }
body.dm .dm-band--dark { background: linear-gradient(180deg, var(--dark) 0%, var(--dark-2) 100%); }
body.dm .dm-band .dm-wrap > :is(h2, p, ul, ol, h3, h4, blockquote, .dm-checks) { max-width: 820px; }
body.dm .dm-band h2 { font: 800 clamp(1.7rem, 3vw, 2.4rem)/1.15 var(--display); margin: 0 0 18px; }
body.dm .dm-band h2::before { content: ""; display: block; width: 46px; height: 4px; border-radius: 4px; margin-bottom: 18px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
body.dm .dm-band h3 { font: 700 1.2rem/1.3 var(--display); margin: 1.6rem 0 .6rem; }
body.dm .dm-band p, body.dm .dm-band li { font-size: 1.04rem; line-height: 1.75; color: var(--muted); }
body.dm .dm-band p { margin: 0 0 1.05rem; }
body.dm .dm-band :is(ul, ol):not([class]) { padding-left: 1.25rem; margin: 0 0 1.2rem; }
body.dm .dm-band li { margin-bottom: .45rem; }
body.dm .dm-band strong { color: var(--ink); }
body.dm .dm-band a:not([class]) { color: var(--brand); font-weight: 600; text-underline-offset: 3px; }
body.dm .dm-band img:not(.dm-split__media img) { border-radius: 16px; }
body.dm .dm-band--dark :is(h2, h3, h4, strong) { color: #fff; }
body.dm .dm-band--dark :is(p, li) { color: rgba(255,255,255,.8); }
body.dm .dm-band--dark a:not([class]) { color: var(--accent); }

/* split: copy + photo */
body.dm .dm-split { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
body.dm .dm-split--rev .dm-split__media { order: -1; }
body.dm .dm-split__text > :last-child { margin-bottom: 0; }
body.dm .dm-split__media { margin: 0; position: relative; }
body.dm .dm-split__media img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow-lg); }
body.dm .dm-split__media::after { content: ""; position: absolute; inset: auto -14px -14px auto; width: 42%; height: 42%; border-radius: 20px; z-index: -1; background: linear-gradient(135deg, var(--accent), var(--accent-2)); opacity: .9; }
body.dm .dm-split--rev .dm-split__media::after { inset: auto auto -14px -14px; }

/* cards */
body.dm .dm-cards { display: grid; gap: 22px; margin: 28px 0 8px; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); }
body.dm .dm-cols-1 { --cols: 1; } body.dm .dm-cols-2 { --cols: 2; } body.dm .dm-cols-3 { --cols: 3; } body.dm .dm-cols-4 { --cols: 4; } body.dm .dm-cols-5 { --cols: 5; }
body.dm .dm-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px 26px; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
body.dm .dm-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
body.dm .dm-band--soft .dm-card { background: #fff; }
body.dm .dm-band--light .dm-card { background: var(--soft); box-shadow: none; }
body.dm .dm-card h3 { margin: 0 0 .55rem; font-size: 1.12rem; }
body.dm .dm-card p { font-size: .98rem; margin: 0 0 .6rem; }
body.dm .dm-card > :last-child { margin-bottom: 0; }
body.dm .dm-card::before { content: ""; position: absolute; left: 26px; right: 26px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); opacity: .9; }
body.dm .dm-badge { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 13px; margin-bottom: 16px; background: var(--badge-bg); color: var(--brand); }
body.dm .dm-badge svg { width: 22px; height: 22px; }
body.dm .dm-band--dark .dm-card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); box-shadow: none; }

/* numbered process */
body.dm .dm-steps { list-style: none; padding: 0; margin: 30px 0 8px; display: grid; gap: 20px; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); counter-reset: none; max-width: none !important; }
body.dm .dm-step { position: relative; margin: 0; padding: 28px 24px 26px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
body.dm .dm-band--dark .dm-step { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); box-shadow: none; }
body.dm .dm-step h3 { margin: 16px 0 8px; font-size: 1.08rem; }
body.dm .dm-step p { font-size: .96rem; margin: 0; }
body.dm .dm-step--plain p { margin-top: 14px; }
body.dm .dm-num { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 13px; font: 800 1.25rem/1 var(--display); color: var(--accent-ink); background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 8px 20px var(--accent-glow); }
body.dm .dm-num--sm { width: 1.6em; height: 1.6em; border-radius: 8px; font-size: .8em; vertical-align: middle; box-shadow: none; }

/* prices */
body.dm .dm-prices { list-style: none; padding: 0; margin: 26px 0 18px; display: grid; gap: 14px; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); max-width: none !important; }
body.dm .dm-price { margin: 0; display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
body.dm .dm-band--light .dm-price { background: var(--soft); box-shadow: none; }
body.dm .dm-price__label { font-weight: 600; color: var(--ink); font-size: .98rem; line-height: 1.4; }
body.dm .dm-price__val { font: 800 1.3rem/1.2 var(--display); color: var(--brand); font-variant-numeric: tabular-nums; }

/* checks */
body.dm ul.dm-checks { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 12px; }
body.dm ul.dm-checks--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 980px !important; gap: 12px 28px; }
body.dm ul.dm-checks li { position: relative; padding-left: 34px; margin: 0; }
body.dm ul.dm-checks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 22px; height: 22px; border-radius: 50%;
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath fill-rule='evenodd' d='M16.7 5.3a1 1 0 0 1 0 1.4l-8 8a1 1 0 0 1-1.4 0l-4-4a1 1 0 1 1 1.4-1.4L8 12.6l7.3-7.3a1 1 0 0 1 1.4 0Z'/%3E%3C/svg%3E") center / 13px no-repeat; }
body.dm .dm-band--dark ul.dm-checks li::before { background-color: var(--accent); }

/* FAQ accordion */
body.dm .dm-faq { max-width: 900px; margin-top: 22px; }
body.dm .dm-faq__item { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin: 0 0 12px; box-shadow: 0 2px 10px rgba(15,23,42,.04); }
body.dm .dm-band--light .dm-faq__item { background: var(--soft); }
body.dm .dm-faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; }
body.dm .dm-faq__item summary::-webkit-details-marker { display: none; }
body.dm .dm-faq__item summary :is(h3, h4) { margin: 0; font-size: 1.05rem; line-height: 1.4; }
body.dm .dm-faq__item summary::after { content: ""; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; transition: transform .25s;
  background: var(--badge-bg) var(--plus-icon) center / 18px no-repeat; }
body.dm .dm-faq__item[open] summary::after { transform: rotate(45deg); }
body.dm .dm-faq__a { padding: 0 24px 20px; }
body.dm .dm-faq__a > :last-child { margin-bottom: 0; }
body.dm .dm-faq__a :is(h3, h4) { display: none; }

/* tables */
body.dm .dm-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 16px; margin: 20px 0; box-shadow: var(--shadow); border: 1px solid var(--line); }
body.dm .dm-table-wrap table { width: 100%; border-collapse: collapse; background: #fff; font-size: .96rem; margin: 0; }
body.dm .dm-table-wrap th { background: var(--dark); color: #fff; font: 700 .78rem/1.3 var(--body); letter-spacing: .07em; text-transform: uppercase; text-align: left; padding: 15px 18px; }
body.dm .dm-table-wrap td { padding: 15px 18px; border-top: 1px solid var(--line); color: var(--ink); vertical-align: top; }
body.dm .dm-table-wrap tbody tr:nth-child(even) td { background: var(--soft); }

/* CTA photo band */
body.dm .dm-cta { position: relative; text-align: center; color: #fff; padding: clamp(72px, 9vw, 116px) 0;
  background: linear-gradient(rgba(var(--dark-rgb), .86), rgba(var(--dark-rgb), .9)), var(--cta-img, var(--dark)) center / cover no-repeat; }
body.dm .dm-cta h2 { color: #fff; font: 800 clamp(1.8rem, 3.4vw, 2.6rem)/1.12 var(--display); max-width: 780px; margin: 0 auto 14px; }
body.dm .dm-cta :is(p, li) { color: rgba(255,255,255,.85); max-width: 680px; margin: 0 auto 14px; font-size: 1.08rem; }
body.dm .dm-cta strong { color: #fff; }
body.dm .dm-cta a:not([class]) { color: #fff; font-weight: 700; }
body.dm .dm-cta :is(.dm-cta__actions, .cta-buttons, .cta-actions, .cta-section__actions) { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }
body.dm .dm-cta div:not([class]):has(> a.btn) { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }
body.dm .dm-cta a.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 26px; border-radius: 12px; font-weight: 800; text-decoration: none; }
body.dm .dm-cta a.btn:is(.btn-primary, .btn-white, .btn--primary, .btn-accent) { background: var(--accent); color: var(--accent-ink); border: 0; box-shadow: 0 10px 26px var(--accent-glow); }
body.dm .dm-cta a.btn:is(.btn-outline, .btn-outline-white, .btn-secondary, .btn--outline, .btn--outline-light, .btn--ghost, .btn-ghost) { background: rgba(255,255,255,.08); color: #fff; border: 1.5px solid rgba(255,255,255,.42); }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  body.dm :is(.dm-cards, .dm-steps, .dm-prices).dm-cols-4, body.dm :is(.dm-cards, .dm-steps, .dm-prices).dm-cols-5 { --cols: 2; }
  body.dm :is(.dm-steps).dm-cols-3 { --cols: 3; }
}
@media (max-width: 860px) {
  body.dm .dm-split { grid-template-columns: 1fr; }
  body.dm .dm-split--rev .dm-split__media { order: 0; }
  body.dm .dm-split__media img { aspect-ratio: 16 / 10; }
  body.dm :is(.dm-cards, .dm-steps, .dm-prices) { --cols: 2 !important; }
}
@media (max-width: 640px) {
  body.dm { font-size: 16px; }
  body.dm .dm-wrap { padding: 0 18px; }
  body.dm .dm-hero { padding: 52px 0 56px; background: linear-gradient(180deg, var(--hero-a), var(--hero-b)), var(--hero-img, var(--dark)) center / cover no-repeat; }
  body.dm .dm-hero .dm-btn, body.dm .dm-cta .dm-btn, body.dm .dm-hero a.btn, body.dm .dm-cta a.btn { width: 100%; }
  body.dm :is(.dm-cards, .dm-steps, .dm-prices) { --cols: 1 !important; }
  body.dm ul.dm-checks--2 { grid-template-columns: 1fr; }
  body.dm .dm-card, body.dm .dm-step { padding: 24px 20px; }
  body.dm .dm-faq__item summary { padding: 18px 18px; }
  body.dm .dm-faq__a { padding: 0 18px 18px; }
  body.dm .dm-split__media::after { display: none; }
}
@media (prefers-reduced-motion: reduce) { body.dm * { transition: none !important; } }

/* chips (area / related links) */
body.dm ul.dm-chips { list-style: none; padding: 0; margin: 22px 0 6px; display: flex; flex-wrap: wrap; gap: 10px; max-width: none !important; columns: auto; }
body.dm ul.dm-chips li { margin: 0; }
body.dm ul.dm-chips a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: .95rem; text-decoration: none; box-shadow: 0 2px 8px rgba(15,23,42,.05); transition: border-color .2s, color .2s; }
body.dm ul.dm-chips a:hover { border-color: var(--brand); color: var(--brand); }
body.dm ul.dm-chips a .dm-i { color: var(--brand); width: 16px; height: 16px; }
body.dm .dm-band--light ul.dm-chips a { background: var(--soft); }
body.dm .dm-band--dark ul.dm-chips a { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); color: #fff; }

/* long h3 sections: numbered rows inside one panel */
body.dm .dm-rows { margin: 28px 0 8px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; max-width: 980px; }
body.dm .dm-band--light .dm-rows { background: var(--soft); box-shadow: none; }
body.dm .dm-row { display: grid; grid-template-columns: 46px 1fr; gap: 22px; padding: 30px 32px; border-top: 1px solid var(--line); }
body.dm .dm-row:first-child { border-top: 0; }
body.dm .dm-row h3 { margin: 8px 0 10px; }
body.dm .dm-row p:last-child { margin-bottom: 0; }
body.dm .dm-split ul.dm-checks--2 { grid-template-columns: 1fr; }
@media (max-width: 640px) { body.dm .dm-row { grid-template-columns: 1fr; gap: 10px; padding: 24px 20px; } }
body.dm .dm-band .dm-wrap > h2:not(:first-child), body.dm .dm-split__text > h2:not(:first-child) { margin-top: 56px; }
body.dm .dm-band .error-page img, body.dm .dm-band img.hero-img { max-width: 720px; width: 100%; border-radius: 18px; display: block; margin: 0 auto 24px; }
body.dm .dm-band a.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 12px; font-weight: 800; text-decoration: none; background: var(--accent); color: var(--accent-ink); border: 0; box-shadow: 0 10px 26px var(--accent-glow); background-image: none; }
body.dm .dm-band a.btn:is(.btn-outline, .btn-secondary, .btn--outline) { background: transparent; color: var(--ink); border: 1.5px solid var(--line); box-shadow: none; }

/* forms that live inside a band (contact page) */
body.dm .dm-band form :is(input:not([type=hidden]):not([type=checkbox]):not([type=radio]), select, textarea) { width: 100%; font: inherit; font-size: 1rem; padding: 13px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); }
body.dm .dm-band form :is(input, select, textarea):focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--badge-bg); }
body.dm .dm-band form label { font-weight: 700; font-size: .9rem; color: var(--ink); }
body.dm .dm-band form :is(button[type=submit], input[type=submit]) { width: 100%; padding: 16px; border: 0; border-radius: 12px; background: var(--accent); background-image: none; color: var(--accent-ink); font: 800 1.02rem/1 var(--body); cursor: pointer; box-shadow: 0 10px 26px var(--accent-glow); }
body.dm .dm-cta .dm-cta__note { font-size: .98rem; opacity: .9; }
body.dm .dm-band .contact-section { background: none; padding: 0; }
@media (max-width: 860px) { body.dm .dm-band div[style*="grid-template-columns:1fr 1fr"], body.dm .dm-band div[style*="grid-template-columns: 1fr 1fr"] { grid-template-columns: 1fr !important; gap: 32px !important; } }
body.dm ul.dm-checks li:has(> i.ph:first-child)::before { display: none; }
body.dm ul.dm-checks li:has(> i.ph:first-child) { padding-left: 0; }
body.dm ul.dm-checks li > i.ph:first-child { color: var(--brand); margin-right: 6px; }

/* ---------- page heroes: photo + navy gradient, left aligned ---------- */
body.dm .page-hero { position: relative; isolation: isolate; text-align: left; color: #fff; padding: clamp(64px, 8vw, 112px) 0 clamp(60px, 7vw, 96px); margin: 0;
  background: linear-gradient(100deg, var(--hero-a) 0%, var(--hero-b) 50%, var(--hero-c) 100%), var(--hero-img, var(--dark)) center / cover no-repeat; }
body.dm .page-hero::before, body.dm .page-hero::after { display: none; }
body.dm .page-hero .container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
body.dm .page-hero .container > * { max-width: 760px; margin-left: 0; margin-right: 0; text-align: left; }
body.dm .page-hero h1 { color: #fff; font: 700 clamp(2.1rem, 4.4vw, 3.4rem)/1.08 var(--display); letter-spacing: -.02em; margin: 8px 0 16px; }
body.dm .page-hero p { color: rgba(255,255,255,.88); font-size: clamp(1.04rem, 1.5vw, 1.18rem); line-height: 1.65; margin: 0 0 22px; }
body.dm .page-hero .breadcrumb { background: none; padding: 0; margin: 0 0 12px; color: rgba(255,255,255,.7); font-size: .9rem; }
body.dm .page-hero .breadcrumb a { color: #fff; font-weight: 600; }
body.dm .page-hero .breadcrumb span { color: rgba(255,255,255,.6); }
body.dm .page-hero div[style*="display:flex"] { justify-content: flex-start !important; }
body.dm .page-hero .dm-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
body.dm .breadcrumbs { background: var(--soft); border-bottom: 1px solid var(--line); padding: 10px 0; font-size: .88rem; color: var(--muted); }
body.dm .breadcrumbs a { color: var(--ink); font-weight: 600; text-decoration: none; }

/* location landing heroes (.hero with .hero-bg img) */
body.dm:not(.dm-home) .hero { position: relative; isolation: isolate; min-height: 0; padding: clamp(72px, 9vw, 124px) 0 clamp(64px, 8vw, 104px); text-align: left; overflow: hidden; background: var(--dark); }
body.dm:not(.dm-home) .hero .hero-bg { position: absolute; inset: 0; z-index: -1; }
body.dm:not(.dm-home) .hero .hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 1; }
body.dm:not(.dm-home) .hero .hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, var(--hero-a) 0%, var(--hero-b) 50%, var(--hero-c) 100%); }
body.dm:not(.dm-home) .hero .hero-content { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
body.dm:not(.dm-home) .hero .hero-content > * { max-width: 760px; }
body.dm:not(.dm-home) .hero h1 { color: #fff; font: 700 clamp(2.2rem, 4.6vw, 3.5rem)/1.06 var(--display); letter-spacing: -.02em; margin: 14px 0 16px; }
body.dm:not(.dm-home) .hero p { color: rgba(255,255,255,.88); font-size: 1.12rem; line-height: 1.65; }
body.dm .hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); color: #fff; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
body.dm .hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* buttons */
body.dm .btn.btn-accent, body.dm .btn.btn--accent, body.dm .btn.btn-primary, body.dm .btn.btn--primary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 24px; border-radius: 12px; border: 0;
  background: var(--accent); color: var(--accent-ink); font-weight: 800; text-decoration: none; box-shadow: 0 10px 26px var(--accent-glow); }
body.dm .btn.btn-accent:hover, body.dm .btn.btn--accent:hover { background: var(--accent-hover); transform: translateY(-2px); }
body.dm :is(.page-hero, .hero, .cta, .cta-banner, .cta-section) .btn:is(.btn--ghost, .btn-outline, .btn--ghost-dark) { display: inline-flex; align-items: center; gap: 8px; padding: 14px 22px; border-radius: 12px; background: rgba(255,255,255,.08); color: #fff; border: 1.5px solid rgba(255,255,255,.42); font-weight: 700; text-decoration: none; }

/* ---------- sections ---------- */
body.dm .content-section, body.dm .section { padding: clamp(56px, 7vw, 92px) 0; }
body.dm :is(.content-section, .section):is(.section-alt, .section-light) { background: var(--soft); }
body.dm .content-section .container, body.dm .section .container { max-width: 1180px; }
body.dm .content-section .container > h2, body.dm .two-col h2, body.dm .about-text > h2 { font: 700 clamp(1.6rem, 2.8vw, 2.2rem)/1.15 var(--display); color: var(--ink); }
body.dm .content-section .container > h2::before, body.dm .two-col h2::before, body.dm .about-text > h2::before { content: ""; display: block; width: 46px; height: 4px; border-radius: 4px; margin-bottom: 16px; background: linear-gradient(90deg, var(--accent), var(--brand)); }
body.dm .content-section p, body.dm .section p { line-height: 1.75; }
body.dm .two-col { gap: clamp(32px, 5vw, 64px); align-items: center; }
body.dm .two-col img, body.dm .about-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px !important; box-shadow: var(--shadow-lg); }
body.dm .content-section .container > p:not([class]) { max-width: 820px; }

/* numbered process (was inline flex rows) on a dark band */
body.dm section:has(> .container > .dm-steps), body.dm section:has(> .container > div > .dm-steps) { background: linear-gradient(180deg, var(--dark) 0%, var(--dark-2) 100%) !important; }
body.dm section:has(.dm-steps) > .container > h2 { color: #fff; }
body.dm section:has(.dm-steps) > .container > p { color: rgba(255,255,255,.78) !important; }
body.dm section:has(.dm-steps) .dm-step { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); box-shadow: none; }
body.dm section:has(.dm-steps) .dm-step h3 { color: #fff; }
body.dm section:has(.dm-steps) .dm-step p { color: rgba(255,255,255,.78); }
body.dm .dm-steps-wrap { max-width: none !important; }

/* FAQ */
body.dm .dm-faq { max-width: 900px; }
body.dm .dm-faq__item summary h3 { font-family: var(--display); color: var(--ink); }

/* areas chips */
body.dm .area-list { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
body.dm .area-list a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 600; text-decoration: none; box-shadow: 0 2px 8px rgba(15,31,51,.05); }
body.dm .area-list a:hover { border-color: var(--brand); color: var(--brand); }
body.dm .area-list a i { color: var(--brand); }

/* service cards (location landing pages) */
body.dm .service-card { border-radius: 18px; border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; transition: transform .25s, box-shadow .25s; }
body.dm .service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
body.dm .value-card, body.dm .credential-item { border-radius: 18px; border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; }

/* CTA bands -> dark photo band */
body.dm :is(.cta, .cta-banner) { position: relative; text-align: center; color: #fff; padding: clamp(72px, 9vw, 112px) 0; border: 0;
  background: linear-gradient(rgba(var(--dark-rgb), .85), rgba(var(--dark-rgb), .9)), url("/images/site/rs-street.jpg") center / cover no-repeat !important; }
body.dm :is(.cta, .cta-banner) h2 { color: #fff !important; font: 700 clamp(1.8rem, 3.4vw, 2.6rem)/1.12 var(--display); max-width: 780px; margin: 0 auto 14px; }
body.dm :is(.cta, .cta-banner) p { color: rgba(255,255,255,.85) !important; max-width: 640px; margin: 0 auto 26px; font-size: 1.08rem; }
body.dm :is(.cta, .cta-banner) .btn { margin: 4px 6px; }

/* footer (one rule set for every template) */
body.dm .footer { background: #0a1626; color: rgba(255,255,255,.7); padding: 64px 0 28px; border-top: 3px solid var(--accent); }
body.dm .footer .container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
body.dm .footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
body.dm .footer__brand-name { font: 700 1.2rem/1.2 var(--display); color: #fff; margin-bottom: 12px; }
body.dm .footer__brand-name span { color: var(--accent); }
body.dm .footer__brand-desc { color: rgba(255,255,255,.66); font-size: .93rem; line-height: 1.7; margin: 0 0 8px; }
body.dm .footer__heading { color: #fff; font: 700 .85rem/1.2 var(--body); letter-spacing: .1em; text-transform: uppercase; margin: 0 0 16px; }
body.dm .footer__links { display: flex; flex-direction: column; gap: 10px; }
body.dm .footer__links a { color: rgba(255,255,255,.8); text-decoration: none; font-size: .95rem; }
body.dm .footer__links a:hover { color: #fff; }
body.dm .footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 22px; font-size: .85rem; color: rgba(255,255,255,.55); }

/* ---------- home ---------- */
body.dm.dm-home .hero__bg { background-image: url("/images/site/rs-hero.jpg") !important; opacity: 1; }
body.dm.dm-home .hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(12,26,44,.94) 0%, rgba(12,26,44,.78) 46%, rgba(12,26,44,.25) 100%); }
body.dm.dm-home .hero__orb { display: none; }
body.dm.dm-home .hero { min-height: 0; padding: clamp(110px, 12vw, 160px) 0 clamp(110px, 11vw, 150px); }
body.dm.dm-home .hero__stat-num .dm-star { width: .8em; height: .8em; vertical-align: .02em; }
body.dm.dm-home .trust-bar { background: none; padding: 0; position: relative; z-index: 3; margin-top: -54px; }
body.dm.dm-home .trust-bar__inner { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; padding: 0; }
body.dm.dm-home .trust-bar__item { justify-content: flex-start; padding: 22px 20px; border-right: 1px solid var(--line); min-width: 0; font-weight: 700; }
body.dm.dm-home .trust-bar__item:last-child { border-right: 0; }
body.dm.dm-home .quick-facts-section h2 { color: #fff !important; }
body.dm.dm-home .bento { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: minmax(260px, auto); }
body.dm.dm-home .bento__card--large:first-child { grid-column: span 2; }
body.dm.dm-home .bento__card:last-child { grid-column: span 1; }
body.dm.dm-home .bento__card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
body.dm.dm-home .bento__card { position: relative; overflow: hidden; }
body.dm.dm-home .bento__card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,26,44,.05) 20%, rgba(12,26,44,.9) 100%); z-index: 0; }
body.dm.dm-home .bento__content, body.dm.dm-home .bento__tag { position: relative; z-index: 1; }
body.dm.dm-home .bento__content > svg { display: none; }
body.dm.dm-home .gallery__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
body.dm.dm-home .cta-section { background: linear-gradient(rgba(12,26,44,.84), rgba(12,26,44,.9)), url("/images/site/rs-street.jpg") center / cover no-repeat !important; }
body.dm.dm-home .cta-section::before, body.dm.dm-home .cta-section::after { display: none; }
body.dm.dm-home .cta-section .btn--ghost-dark { color: #fff; }
body.dm.dm-home .faq__item { border-radius: 14px; }

/* header.header: v2.5's fixed .nav (meant for the home page) was pulling these links over the logo */
body.dm .header .header-inner { display: flex; align-items: center; gap: 24px; min-height: 72px; }
body.dm .header nav.nav { position: static; inset: auto; display: flex; align-items: center; gap: 4px; margin-left: auto; padding: 0; width: auto; height: auto; background: none; border: 0; box-shadow: none; backdrop-filter: none; transform: none; }
body.dm .header nav.nav a { padding: 8px 12px; border-radius: 10px; color: var(--ink); font-weight: 600; font-size: .95rem; text-decoration: none; }
body.dm .header nav.nav a:hover { background: var(--soft); color: var(--brand); }
body.dm :is(.header, .site-header) .header-phone { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 12px; background: var(--accent); color: var(--accent-ink) !important; font-weight: 800; text-decoration: none; white-space: nowrap; }
@media (max-width: 900px) { body.dm .header nav.nav { display: none; } body.dm .header .header-phone { margin-left: auto; } }
@media (max-width: 480px) { body.dm .header .header-phone { padding: 9px 12px; font-size: .85rem; } }
body.dm.dm-home .bento__card { display: flex; flex-direction: column; justify-content: flex-end; }
body.dm.dm-home .bento__tag { position: absolute; top: 18px; left: 18px; }
body.dm.dm-home .trust-bar__item { white-space: normal; line-height: 1.3; font-size: .92rem; gap: 10px; }

body.dm.dm-home .trust-bar > .container { display: block; }
body.dm.dm-home .bento__card::after { background: linear-gradient(180deg, rgba(12,26,44,.15) 0%, rgba(12,26,44,.55) 45%, rgba(12,26,44,.94) 100%); }
body.dm .header .logo, body.dm .site-header .logo { white-space: nowrap; }
@media (max-width: 480px) { body.dm :is(.header, .site-header) .logo { font-size: 1.05rem; } body.dm :is(.header, .site-header) .header-phone { font-size: .8rem; padding: 8px 10px; } }

body.dm :is(.error-section, .thankyou-section) { background: radial-gradient(900px 400px at 50% 0%, rgba(242,169,59,.14), transparent 70%), var(--soft); }
body.dm :is(.error-section, .thankyou-section) { margin-top: 0 !important; padding: 0 !important; min-height: 0 !important; }
body.dm :is(.error-section, .thankyou-section) > .container { padding-top: 64px !important; padding-bottom: 64px !important; }
body.dm header.header { position: sticky; top: 0; }
body.dm footer p { color: rgba(255,255,255,.66); }
body.dm footer a[href^="tel:"] { color: var(--accent) !important; }
@media (max-width: 420px) { body.dm .header:has(.hamburger) .header-phone { display: none; } }

@media (max-width: 1024px) {
  body.dm.dm-home .trust-bar__inner { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.dm.dm-home .trust-bar__item { border-bottom: 1px solid var(--line); }
  body.dm .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  body.dm.dm-home .bento { grid-template-columns: 1fr; }
  body.dm.dm-home .bento__card--large:first-child, body.dm.dm-home .bento__card:last-child { grid-column: auto; }
  body.dm.dm-home .gallery__grid { grid-template-columns: 1fr; }
  body.dm.dm-home .trust-bar__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.dm.dm-home .trust-bar__item { padding: 16px 14px; font-size: .88rem; }
  body.dm.dm-home .trust-bar__item:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body.dm .page-hero, body.dm:not(.dm-home) .hero { padding: 52px 0 56px; background-image: linear-gradient(180deg, var(--hero-a), var(--hero-b)), var(--hero-img, var(--dark)); }
  body.dm .page-hero .container, body.dm:not(.dm-home) .hero .hero-content { padding: 0 18px; }
  body.dm .page-hero .btn, body.dm .hero-btns .btn { width: 100%; justify-content: center; }
  body.dm .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  body.dm .footer, body.dm footer { padding-top: 44px; }
  body.dm .area-list { display: grid; grid-template-columns: 1fr 1fr; }
  body.dm .area-list a { justify-content: flex-start; }
  body.dm :is(.error-section, .thankyou-section) > .container { padding-top: 36px !important; padding-bottom: 40px !important; }
}

/* Round 2 (2026-10-01): phone and tablet tap targets and text size. Media-query only; desktop unchanged. */
@media (max-width: 1024px) {
  body.dm :is(.header, .site-header) .logo, body.dm .nav .nav__logo { min-height: 44px; display: inline-block; line-height: 44px; }
  body.dm .hamburger { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
  body.dm .nav .nav__links a, body.dm .site-header .nav-links a, body.dm .header nav.nav a { min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; justify-content: center; }
  body.dm .footer__links a, body.dm .footer-grid a { min-height: 44px; display: flex; align-items: center; gap: 6px; }
  body.dm .footer-grid ul { margin: 0; }
  body.dm .contact-detail a, body.dm .legal-content li a, body.dm .ai-geo-quick-facts li a { min-height: 44px; display: inline-flex; align-items: center; gap: 6px; }
}
@media (max-width: 768px) {
  body.dm .footer__links, body.dm .footer-grid > div:has(> a + a) { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
  body.dm .footer-grid > div:has(> a + a) > :is(h3, h4, p) { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  body.dm .blog-card-meta, body.dm .footer-grid p { font-size: 15px !important; }
  body.dm .contact-detail > div, body.dm .contact-detail .value { overflow-wrap: anywhere; min-width: 0; }
}
@media (max-width: 480px) {
  body.dm .cost-table th, body.dm .cost-table td { padding: 12px 10px; }
}
@media (max-width: 768px) {
  body.dm .floating-cta { transform: none; opacity: 1; pointer-events: auto; }
}

/* Design pass 2026-10-07 */
/* Brand text: dark amber on white headers, bright amber on the dark home header and dark home sections. */
body.dm :is(.header, .site-header) .logo span { color: var(--brand); }
body.dm.dm-home .nav .nav__logo span { color: var(--accent); }
body.dm.dm-home :is(.section-label--light, .ai-geo-quick-facts .section-label, .ai-geo-quick-facts a) { color: var(--accent); }
body.dm.dm-home .quick-facts-section { --color-accent: var(--accent); }
body.dm.dm-home .quick-facts-section .section-label { color: var(--accent); }
body.dm :is(.service-link, .read-more, .legal-content a) { color: var(--brand); }
body.dm.dm-location .breadcrumb a { color: var(--brand); }
body.dm .map-placeholder span { color: var(--muted); }
/* Page hero breadcrumbs sit left, above the left-aligned title. */
body.dm .page-hero .breadcrumb { justify-content: flex-start; }
/* The sticky header already takes its own space: no second 72px gap above the location hero. */
body.dm.dm-location > .hero { margin-top: 0; }
/* Section headings on pages that ship without the inline section-header rule. */
body.dm .section-header { text-align: center; margin-bottom: 48px; }
body.dm .section-header p { max-width: 600px; margin-left: auto; margin-right: auto; }
/* Icon lists: one marker, not the template dot plus the check icon. */
body.dm .content-section ul[style*="list-style:none"] > li { padding-left: 0; }
body.dm .content-section ul[style*="list-style:none"] > li::before { display: none; }
/* Home estimate form: the form element shares a section class name that gave it 115px of vertical padding and none at the sides. */
body.dm.dm-home .contact-row > form.contact-form { padding: clamp(22px, 3vw, 36px); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
/* Thank-you secondary button. */
body.dm .btn--ghost-navy { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 12px 22px; border: 1.5px solid var(--dark); border-radius: 12px; color: var(--dark); font-weight: 700; text-decoration: none; background: transparent; }
body.dm .btn--ghost-navy:hover { background: var(--dark); color: #fff; }
/* Gallery: each project is one matched before and after pair with a visible caption. */
body.dm .gallery__grid--pairs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
body.dm .gallery__item--pair { aspect-ratio: auto; cursor: default; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
body.dm .gallery__item--pair .ba-pair { display: grid; grid-template-columns: 1fr; gap: 3px; background: #fff; }
body.dm .gallery__item--pair .ba-fig { position: relative; margin: 0; }
body.dm .gallery__item--pair .ba-fig img { display: block; width: 100%; height: 210px; object-fit: cover; transform: none; }
body.dm .gallery__item--pair .ba-tag { position: absolute; top: 10px; left: 10px; padding: 4px 10px; border-radius: 999px; background: rgba(15, 31, 51, .88); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
body.dm .gallery__item--pair .ba-tag--after { background: var(--accent); color: var(--accent-ink); }
body.dm .gallery__caption { padding: 14px 18px 16px; }
body.dm .gallery__caption .gallery__overlay-title { color: var(--ink); margin-bottom: 2px; }
body.dm .gallery__caption .gallery__overlay-label { color: var(--brand); }
@media (max-width: 900px) {
  body.dm .gallery__grid--pairs { grid-template-columns: 1fr; }
  body.dm .gallery__item--pair .ba-pair { grid-template-columns: 1fr 1fr; }
  body.dm .gallery__item--pair .ba-fig img { height: 170px; }
}
/* Home hero on phones: buttons, stats and badges centered under the centered text. */
@media (max-width: 768px) {
  body.dm.dm-home :is(.hero__buttons, .hero__trust) { justify-content: center; }
  body.dm.dm-home .hero__stats { justify-content: center; justify-items: center; text-align: center; }
}
/* Tablet: the menu button shows only where the desktop links are hidden (the 1024px tap-target rule had turned it on next to the full nav). */
@media (min-width: 901px) { body.dm .header .hamburger { display: none; } }
@media (min-width: 961px) { body.dm .site-header .hamburger { display: none; } }
/* Older template header: at 769 to 960px the logo, six links and the phone button collided, so it uses the menu button there. */
@media (min-width: 769px) and (max-width: 960px) {
  body.dm .site-header .nav-links { display: none; }
  body.dm .site-header .hamburger { display: inline-flex; }
  body.dm .site-header .header-phone { margin-left: auto; margin-right: 12px; }
}
