/* =========================================================
   Decks page — Y.co-ish, clean, high-contrast, conversion-focused
   LIGHT (NOT TACKY)

   FIXED ALIGNMENT:
   - ONE container system for every section
   - ONE max-width + ONE side padding token
   - Full-bleed uses 100dvw (prevents scrollbar drift)

   IMPORTANT:

========================================================= */

/* =========================================================
   0) TOKENS
========================================================= */
:root {
  /* Brand */
  --navy: #2c3a50;
  --gold: #cd9a26;

  /* Base */
  --dks-white: #ffffff;
  --dks-black: #0b0f17;

  /* Light theme surfaces */
  --dks-bg: var(--dks-white);
  --dks-panel: rgba(44, 58, 80, 0.03); /* subtle blue-tinted paper */
  --dks-soft: rgba(44, 58, 80, 0.05);
  --dks-line: rgba(44, 58, 80, 0.12);

  /* Text */
  --dks-text: rgba(11, 15, 23, 0.92);
  --dks-muted: rgba(11, 15, 23, 0.68);

  /* ---------------------------------------------------------
     SINGLE SITE CONTAINER SYSTEM (ALIGNMENT SOURCE OF TRUTH)
     - Use these everywhere.
  --------------------------------------------------------- */
  --page-max: 1320px;
  --page-pad: clamp(18px, 3.4vw, 44px);

  /* Compatibility (old vars mapped to new system) */
  --dks-max: var(--page-max);
  --baMax: var(--page-max);
  --dkMax: var(--page-max);

  --baWrap: var(--page-pad);
  --dkWrap: var(--page-pad);
  --kqb-wrap: var(--page-pad);

  /* Radii + shadow */
  --dks-radius: 18px;
  --dks-radius-lg: 26px;
  --dks-shadow: 0 18px 60px rgba(11, 15, 23, 0.1);

  /* misc existing tokens you referenced */
  --ink: #0b0f17;
  --muted: rgba(11, 15, 23, 0.7);
  --line: rgba(11, 15, 23, 0.12);

  --baInk: var(--dks-black);
  --baBg: #ffffff;

  --baRadius: 22px;
  --baShadow: 0 18px 60px rgba(11, 15, 23, 0.1);
  --baLine: rgba(44, 58, 80, 0.18);
  --baFaint: rgba(44, 58, 80, 0.08);

  --dkNavy: var(--navy);
  --dkGold: var(--gold);
  --dkInk: var(--dks-black);
  --dkMuted: rgba(11, 15, 23, 0.72);
  --dkLine: rgba(44, 58, 80, 0.18);
  --dkFaint: rgba(44, 58, 80, 0.08);
  --dkShadow: 0 18px 60px rgba(11, 15, 23, 0.1);
  --dkRadius: 22px;

  /* floating words */
  --fw-ink: rgba(11, 15, 23, 0.8);
  --fw-muted: rgba(11, 15, 23, 0.6);
  --fw-line: rgba(11, 15, 23, 0.12);

  --fw-gold: var(--gold);
  --fw-navy: var(--navy);

  --fw-h: 64px;
  --fw-pad-x: clamp(16px, 3vw, 48px);
  --fw-gap: 18px;
  --fw-font: clamp(12px, 1.05vw, 13px);
  --fw-letter: 0.14em;
}

/* =========================================================
   1) BASE / GLOBALS
========================================================= */
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: radial-gradient(
      900px 520px at 18% -4%,
      rgba(44, 58, 80, 0.18),
      transparent 60%
    ),
    radial-gradient(
      900px 520px at 92% 6%,
      rgba(44, 58, 80, 0.1),
      transparent 60%
    ),
    radial-gradient(
      700px 420px at 40% 12%,
      rgba(205, 154, 38, 0.08),
      transparent 60%
    ),
    var(--dks-bg);
  color: var(--dks-text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto,
    Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.5;

  /* hard safety for viewport breakout math */
  overflow-x: hidden;
}

a {
  color: var(--navy);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* =========================================================
   1A) UNIVERSAL CONTAINER (USE THIS EVERYWHERE)
========================================================= */
.container,
.dksWrap,
.baWrap,
.dkWrap {
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: var(--page-pad);
}

.dksSection {
  padding: clamp(54px, 7vw, 92px) 0;
  background: transparent;
  color: var(--dks-black);
}

/* Typography */
.dksEyebrow {
  margin: 0 0 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 900;
  font-size: 12px;
  color: rgba(44, 58, 80, 0.88);
}

.dksH1 {
  margin: 0 0 10px;
  font-size: clamp(34px, 4.5vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: rgba(11, 15, 23, 0.96);
}

.dksH2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: rgba(11, 15, 23, 0.96);
}

.dksH3 {
  margin: 0 0 8px;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: rgba(11, 15, 23, 0.92);
}

.dksLead {
  margin: 0 0 18px;
  max-width: 62ch;
  font-size: 16px;
  color: var(--dks-muted);
}

.dksBody {
  margin: 0 0 14px;
  color: var(--dks-text);
}
.dksBody--muted {
  color: var(--dks-muted);
}

.dksList {
  margin: 12px 0 14px 18px;
  color: var(--dks-muted);
}
.dksFine {
  margin: 12px 0 0;
  font-size: 12px;
  color: rgba(11, 15, 23, 0.55);
}
.dksFine--center {
  text-align: center;
}

/* =========================================================
   2) BUTTONS (blue-forward, gold as subtle rim)
========================================================= */
.dksBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(44, 58, 80, 0.18);
  background: rgba(44, 58, 80, 0.04);
  color: rgba(11, 15, 23, 0.92);
  font-weight: 950;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease,
    border-color 0.15s ease, box-shadow 0.15s ease;
}
.dksBtn:hover {
  transform: translateY(-1px);
  background: rgba(44, 58, 80, 0.07);
  border-color: rgba(44, 58, 80, 0.26);
  text-decoration: none;
}
.dksBtn:active {
  transform: translateY(0);
}

.dksBtn--primary {
  border-color: rgba(44, 58, 80, 0.4);
  background: linear-gradient(
    180deg,
    rgba(44, 58, 80, 0.1),
    rgba(44, 58, 80, 0.04)
  );
  box-shadow: 0 16px 46px rgba(44, 58, 80, 0.14);
  position: relative;
}
.dksBtn--primary::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 999px;
  pointer-events: none;
  border: 1px solid rgba(205, 154, 38, 0.55);
  opacity: 0.55;
}
.dksBtn--ghost {
  background: rgba(11, 15, 23, 0.03);
  border-color: rgba(11, 15, 23, 0.1);
}
.dksBtn--link {
  background: transparent;
  border-color: transparent;
  padding: 0;
  border-radius: 0;
  color: rgba(44, 58, 80, 0.95);
}
.dksBtn--link:hover {
  transform: none;
  text-decoration: underline;
}

.dksInlineCta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}

/* =========================================================
   3) HERO
========================================================= */
.dksHero {
  position: relative;
  min-height: clamp(520px, 72vh, 760px);
  display: grid;
  align-items: end;
  overflow: clip;
  border-bottom: 1px solid rgba(44, 58, 80, 0.12);
}

.dksHero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.dksHero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.02) saturate(1.06);
  transform: scale(1.02);
}

.dksHero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      900px 460px at 20% 20%,
      rgba(0, 0, 0, 0.1),
      transparent 60%
    ),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.18),
      rgba(0, 0, 0, 0.54) 70%,
      rgba(0, 0, 0, 0.72)
    );
  z-index: 1;
}

/* Brighter photo on phones for the two heroes the client flagged (7 Aug 2026).
   The base ::after above is a full-height wash (0.18 -> 0.54 @70% -> 0.72) that
   dims the whole picture, but .dksHero__content is bottom-anchored: at 375px
   the text band only starts at ~0.40 of the hero, so the entire top ~38% is
   being darkened for no legibility reason. Re-cut so the photo zone is nearly
   clear and the wash ramps in just above the copy.

   Every stop is <= the base value at the same depth, so this only ever
   brightens — never darkens. Kept per-page (not on .dksHero) because these two
   photos were the ask; the other four service heroes are untouched.

   The ramp deliberately completes by 40%, just above the earliest text (the
   enclosures eyebrow starts at 0.395): the hero copy carries NO text-shadow
   (see .dksEyebrow/.dksH1/.dksLead below) and leans entirely on this wash, and
   .dksEyebrow is only 0.78 white — it measured 4.71:1 on the base gradient,
   i.e. barely over AA to begin with. Solving that band for 4.5:1 needs a veil
   of >=0.358, so the stops below 40% are what buy the brightness and the ones
   under the copy can't move much. If more brightness is ever wanted here, give
   the hero text a shadow first — don't just lighten these lower stops. */
@media (max-width: 768px) {
  .dksHero.dksHero--enclosures::after,
  .dksHero.dksHero--porches-and-porticos::after {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.04) 26%,
      rgba(0, 0, 0, 0.38) 40%,
      rgba(0, 0, 0, 0.52) 70%,
      rgba(0, 0, 0, 0.66) 100%
    );
  }
}

.dksHero__content {
  position: relative;
  z-index: 2;
  padding: 86px var(--page-pad) 34px;
}

/* Hero text stays white */
.dksHero__content .dksEyebrow {
  color: rgba(255, 255, 255, 0.78);
}
.dksHero__content .dksH1 {
  color: rgba(255, 255, 255, 0.96);
}
.dksHero__content .dksLead {
  color: rgba(255, 255, 255, 0.76);
}

.dksHero__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 18px 0 14px;
}
.dksHero__scroll {
  margin-top: 16px;
}

.dksScrollLink {
  display: inline-flex;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.22);
  font-weight: 900;
  color: rgba(255, 255, 255, 0.74);
}
.dksScrollLink:hover {
  text-decoration: none;
  background: rgba(0, 0, 0, 0.3);
}

/* Hero buttons */
.dksHero .dksBtn {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.22);
  color: rgba(255, 255, 255, 0.92);
}
.dksHero .dksBtn:hover {
  background: rgba(0, 0, 0, 0.3);
}
.dksHero .dksBtn--primary {
  border-color: rgba(44, 58, 80, 0.55);
  background: linear-gradient(
    180deg,
    rgba(44, 58, 80, 0.26),
    rgba(0, 0, 0, 0.22)
  );
  box-shadow: 0 18px 52px rgba(44, 58, 80, 0.22);
}
.dksHero .dksBtn--primary::after {
  border-color: rgba(205, 154, 38, 0.6);
  opacity: 0.45;
}

/* =========================================================
   4) HERO CHIPS
========================================================= */
.dksChips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.dksChip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  flex: 0 0 auto;

  gap: 10px;
  padding: 12px 16px;
  min-height: 44px;
  border-radius: 999px;

  font-weight: 950;
  letter-spacing: 0.01em;
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;

  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.22);
  color: rgba(255, 255, 255, 0.92);

  transition: transform 0.15s ease, background 0.15s ease,
    border-color 0.15s ease, box-shadow 0.15s ease;
}
.dksChip:hover {
  transform: translateY(-1px);
  background: rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.22);
}
.dksChip:active {
  transform: translateY(0);
}

.dksChip--gold {
  position: relative;
  border-color: rgba(205, 154, 38, 0.9);
  background: linear-gradient(180deg, #cd9a26, rgba(205, 154, 38, 0.82));
  /* white text + yellow glow */
  color: #fff;
  text-shadow: 0 1px 2px rgba(11, 15, 23, 0.45);
  box-shadow: 0 10px 30px rgba(205, 154, 38, 0.45), 0 0 22px rgba(205, 154, 38, 0.55);
}
.dksChip--gold::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 999px;
  pointer-events: none;
  border: 1px solid rgba(205, 154, 38, 0.72);
  opacity: 0.55;
}
.dksChip--gold:hover {
  transform: translateY(-1px);
  border-color: rgba(205, 154, 38, 0.88);
  background: linear-gradient(
    180deg,
    rgba(205, 154, 38, 0.44),
    rgba(0, 0, 0, 0.22)
  );
  box-shadow: 0 20px 60px rgba(205, 154, 38, 0.22);
}
.dksChip--gold:active {
  transform: translateY(0);
}

.dksChip--gold *,
.dksChip--gold:hover *,
.dksChip--gold:active * {
  color: #fff !important;
}

.dksSection .dksChip--gold {
  background: linear-gradient(180deg, #cd9a26, rgba(205, 154, 38, 0.82));
  color: #fff;
}
.dksHero .dksChip--gold,
.dksHero .dksChip--gold * {
  color: #fff !important;
}
body:not(.is-hero) .dksChip--gold::after {
  opacity: 0.45;
}

/* =========================================================
   5) LAYOUT BLOCKS / CARDS
========================================================= */


.dksCard {
  border: 1px solid var(--dks-line);
  background: var(--dks-panel);
  border-radius: var(--dks-radius-lg);
  padding: 18px;
  box-shadow: var(--dks-shadow);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.dksCard--glow {
  background: radial-gradient(
      650px 240px at 15% 0%,
      rgba(44, 58, 80, 0.18),
      transparent 55%
    ),
    var(--dks-panel);
}



/* =========================================================
   7) TILES / TAGS
========================================================= */
.dksTiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.dksTile {
  border: 1px solid rgba(44, 58, 80, 0.14);
  background: rgba(255, 255, 255, 0.86);
  border-radius: var(--dks-radius);
  padding: 16px;
  transition: transform 0.15s ease, background 0.15s ease,
    border-color 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 10px 28px rgba(11, 15, 23, 0.06);
}
.dksTile:hover {
  transform: translateY(-2px);
  border-color: rgba(44, 58, 80, 0.3);
  box-shadow: 0 14px 34px rgba(44, 58, 80, 0.12);
}

.dksTagRow {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.dksTag {
  font-size: 12px;
  font-weight: 900;
  color: rgba(44, 58, 80, 0.95);
  border: 1px solid rgba(44, 58, 80, 0.18);
  background: rgba(44, 58, 80, 0.06);
  padding: 6px 10px;
  border-radius: 999px;
}
.dksTag--gold {
  border-color: rgba(205, 154, 38, 0.36);
  background: rgba(205, 154, 38, 0.14);
  color: rgba(11, 15, 23, 0.92);
}

/* =========================================================
   8) COMPARE TABLE
========================================================= */
.dksCompare {
  border: 1px solid rgba(44, 58, 80, 0.12);
  background: rgba(44, 58, 80, 0.03);
  border-radius: var(--dks-radius-lg);
  padding: 18px;
}
.dksCompare__grid {
  margin-top: 12px;
  border: 1px solid rgba(44, 58, 80, 0.1);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.72);
}
.dksCompare__row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}
.dksCompare__row > div {
  padding: 12px 12px;
  border-top: 1px solid rgba(44, 58, 80, 0.08);
  color: rgba(11, 15, 23, 0.92);
}
.dksCompare__row--top > div {
  border-top: 0;
  font-weight: 950;
  background: rgba(44, 58, 80, 0.07);
}
.dksCompare__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}

/* =========================================================
   9) STEPS
========================================================= */
.dksSteps {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: grid;
  gap: 12px;
}
.dksStep {
  border: 1px solid rgba(44, 58, 80, 0.12);
  background: rgba(44, 58, 80, 0.03);
  border-radius: var(--dks-radius);
  padding: 14px;
  display: flex;
  gap: 12px;
}
.dksStep__num {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 950;
  font-size: 1.05rem;
  border: 2px solid #cd9a26;
  background: #2c3a50;
  color: #cd9a26;
  flex: 0 0 auto;
}
.dksStep__body {
  min-width: 0;
}

/* =========================================================
   10) BAND / FINAL CTA
========================================================= */
.dksBand {
  margin-top: 14px;
  border: 1px solid rgba(44, 58, 80, 0.12);
  background: radial-gradient(
      700px 220px at 80% 0%,
      rgba(44, 58, 80, 0.18),
      transparent 55%
    ),
    rgba(44, 58, 80, 0.03);
  border-radius: var(--dks-radius-lg);
  padding: 14px;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.dksBand__text {
  margin: 0;
  color: rgba(11, 15, 23, 0.72);
}

/* =========================================================
   11) GALLERY + MODAL
========================================================= */
.dksGalleryHead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.dksGallery {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.dksShot {
  border: 1px solid rgba(44, 58, 80, 0.12);
  background: rgba(255, 255, 255, 0.82);
  border-radius: 16px;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  display: block;
  box-shadow: 0 10px 28px rgba(11, 15, 23, 0.06);
}
.dksShot img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  transition: transform 0.22s ease;
}
.dksShot:hover img {
  transform: scale(1.02);
}
/* Taller media for services whose photos are portrait (e.g. entry doors).
   Uses the same 3:4 tile ratio as the product galleries on those pages. */
.dksGallery--tall .dksShot img {
  height: auto;
  aspect-ratio: 3 / 4;
}
/* Caption label overlaid on each gallery photo */
.dksShot {
  position: relative;
}
.dksShot__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 14px 11px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  color: #fff;
  text-align: left;
  background: linear-gradient(to top, rgba(11, 15, 23, 0.74), rgba(11, 15, 23, 0));
  pointer-events: none;
}

.dksModal {
  position: fixed;
  inset: 0;
  z-index: 9999;
}
.dksModal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
}
.dksModal__panel {
  position: relative;
  margin: 6vh auto;
  width: min(960px, calc(100% - 26px));
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.22);
  box-shadow: 0 30px 120px rgba(0, 0, 0, 0.65);
}
.dksModal__img {
  width: 100%;
  height: auto;
  display: block;
}
.dksModal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.35);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 950;
  cursor: pointer;
}

/* =========================================================
   12) QUOTE
========================================================= */
.dksQuote {
  margin: 0;
  border: 1px solid rgba(44, 58, 80, 0.12);
  background: rgba(255, 255, 255, 0.84);
  border-radius: var(--dks-radius-lg);
  padding: 18px;
  box-shadow: 0 10px 28px rgba(11, 15, 23, 0.06);
}
.dksQuote blockquote {
  margin: 0 0 10px;
  font-size: 16px;
  color: rgba(11, 15, 23, 0.88);
}
.dksQuote figcaption {
  color: rgba(11, 15, 23, 0.92);
  font-weight: 900;
}

/* =========================================================
   13) FAQ
========================================================= */
.dksFaq {
  position: relative;
  margin-top: 12px;
  border: 1px solid rgba(44, 58, 80, 0.14);
  border-radius: var(--dks-radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 55px rgba(11, 15, 23, 0.08);
}
.dksFaq::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
      circle at 12% 10%,
      rgba(205, 154, 38, 0.14),
      transparent 42%
    ),
    radial-gradient(circle at 88% 20%, rgba(44, 58, 80, 0.12), transparent 46%);
  opacity: 0.55;
}

.dksFaq__q {
  width: 100%;
  text-align: left;
  border: 0;
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  background: rgba(44, 58, 80, 0.03);
  border-top: 1px solid rgba(44, 58, 80, 0.1);

  padding: clamp(16px, 1vw + 12px, 22px) clamp(16px, 1.2vw + 12px, 24px);

  font-weight: 950;
  font-size: clamp(1.05rem, 0.55vw + 0.95rem, 1.35rem);
  line-height: 1.22;

  transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}
.dksFaq__q:first-child {
  border-top: 0;
}

.dksFaq__q:hover {
  background: rgba(44, 58, 80, 0.045);
  transform: translateY(-1px);
}

.dksFaq__q:focus-visible {
  outline: 3px solid rgba(205, 154, 38, 0.4);
  outline-offset: -3px;
}

.dksFaq__q[aria-expanded="true"] {
  background: linear-gradient(
      90deg,
      rgba(205, 154, 38, 0.1),
      rgba(255, 255, 255, 0) 42%
    ),
    rgba(44, 58, 80, 0.035);
  box-shadow: 0 14px 40px rgba(44, 58, 80, 0.1);
  border-bottom: 0;
}
.dksFaq__q[aria-expanded="true"]::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  border-radius: 999px;
  background: var(--gold);
}

.dksFaq__icon {
  width: clamp(38px, 1.2vw + 30px, 48px);
  height: clamp(38px, 1.2vw + 30px, 48px);
  flex: 0 0 auto; /* never let the circle shrink when the question text wraps */
  border-radius: 999px;
  display: grid;
  place-items: center;

  background: radial-gradient(
    circle at 30% 30%,
    rgba(255, 255, 255, 0.95),
    rgba(255, 255, 255, 0.75)
  );
  border: 1px solid rgba(44, 58, 80, 0.18);
  box-shadow: 0 16px 36px rgba(11, 15, 23, 0.12),
    0 0 0 4px rgba(205, 154, 38, 0.1);

  color: rgba(44, 58, 80, 0.96);
  font-weight: 950;
  transition: transform 180ms ease, box-shadow 180ms ease,
    border-color 180ms ease;
}
.dksFaq__q:hover .dksFaq__icon {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(11, 15, 23, 0.14),
    0 0 0 5px rgba(205, 154, 38, 0.14);
  border-color: rgba(44, 58, 80, 0.22);
}
.dksFaq__q[aria-expanded="true"] .dksFaq__icon {
  box-shadow: 0 18px 44px rgba(11, 15, 23, 0.14),
    0 0 0 6px rgba(205, 154, 38, 0.18);
}

.dksFaq__a {
  position: relative;
  margin: 0;

  padding: 14px clamp(16px, 1.2vw + 12px, 24px) clamp(18px, 1.2vw + 14px, 26px);

  background: radial-gradient(
      circle at 12% 20%,
      rgba(205, 154, 38, 0.14),
      transparent 55%
    ),
    radial-gradient(circle at 88% 30%, rgba(44, 58, 80, 0.1), transparent 55%),
    linear-gradient(180deg, rgba(44, 58, 80, 0.03), rgba(255, 255, 255, 0.96));

  border-top: 0;
  color: rgba(11, 15, 23, 0.76);

  border-bottom-left-radius: calc(var(--dks-radius-lg) - 6px);
  border-bottom-right-radius: calc(var(--dks-radius-lg) - 6px);

  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  animation: dksFaqIn 180ms ease both;
}
.dksFaq__a[hidden] {
  display: none;
}

.dksFaq__a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold), rgba(205, 154, 38, 0.18));
}

.dksFaq__a::after {
  content: "“”";
  position: absolute;
  right: 18px;
  top: 10px;
  font-weight: 950;
  letter-spacing: -0.08em;
  font-size: clamp(2.1rem, 3vw, 3rem);
  line-height: 1;
  color: rgba(44, 58, 80, 0.1);
  transform: rotate(-6deg);
  pointer-events: none;
}

.dksFaq__a p {
  margin: 0;
  font-size: clamp(1.02rem, 0.5vw + 0.92rem, 1.22rem);
  line-height: 1.7;
}

.dksFaq__a .dksFaq__chip {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  margin: 1px 0 1px;
  padding: 1px 1px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 12px;
  color: rgba(44, 58, 80, 0.92);
  background: rgba(205, 154, 38, 0.12);
  border: 1px solid rgba(205, 154, 38, 0.24);
}
.dksFaq__a .dksFaq__chip::before {
  content: "★";
  color: var(--gold);
}

@keyframes dksFaqIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
    filter: blur(2px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@media (min-width: 1200px) {
  .dksFaq__q {
    font-size: 1.45rem;
  }
  .dksFaq__a {
    font-size: 1.25rem;
  }
}

/* Deck FAQ — smaller type */
#faqs .dksFaq__q {
  font-size: clamp(14px, 1.05vw, 16px);
}

#faqs .dksFaq__a {
  font-size: clamp(13px, 0.95vw, 15px);
  line-height: 1.55;
}

/* Optional: lists inside answers */
#faqs .dksFaq__a ul,
#faqs .dksFaq__a li {
  font-size: inherit;
  line-height: inherit;
}

/* FAQ: reduce vertical whitespace */
#faqs .dksFaq__q {
  padding: 12px 14px; /* was likely bigger */
  line-height: 1.2;
  margin: 0; /* just in case */
}

#faqs .dksFaq__a {
  padding: 10px 14px 12px; /* tighter answer block */
  line-height: 1.45;
  margin: 0; /* just in case */
}

/* Kill default list spacing inside answers (big whitespace culprit) */
#faqs .dksFaq__a ul {
  margin: 6px 0 0;
  padding-left: 18px;
}
#faqs .dksFaq__a li {
  margin: 4px 0;
}

#faqs .dksFaq__a::before,
#faqs .dksFaq__a::after,
#faqs .dksFaq__q::before,
#faqs .dksFaq__q::after {
  content: none !important;
}

/* =========================================================
   14) REVIEWS
========================================================= */
.dksReview--light {
  position: relative;
  margin: 0;
  padding: clamp(18px, 2.4vw, 28px);
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(44, 58, 80, 0.12);
  box-shadow: 0 18px 60px rgba(11, 15, 23, 0.1);
}

.dksReview--light::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 14px;
  bottom: 14px;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--navy), rgba(44, 58, 80, 0.25));
}
.dksReview--light::after {
  content: "";
  position: absolute;
  left: 14px;
  top: 14px;
  width: 4px;
  height: 56px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold), rgba(205, 154, 38, 0.25));
  opacity: 0.95;
}

.dksReview__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.dksReview__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(44, 58, 80, 0.06);
  border: 1px solid rgba(44, 58, 80, 0.14);
}

.dksReview__stars {
  letter-spacing: 0.12em;
  font-weight: 900;
  font-size: 13px;
  line-height: 1;
  color: var(--gold);
  text-shadow: 0 10px 24px rgba(205, 154, 38, 0.15);
}

.dksReview__label {
  font-size: 12px;
  font-weight: 900;
  color: rgba(44, 58, 80, 0.92);
  white-space: nowrap;
}

.dksReview__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  text-align: right;
}

.dksReview__name {
  font-weight: 900;
  color: rgba(11, 15, 23, 0.92);
}
.dksReview__service {
  font-weight: 800;
  color: rgba(44, 58, 80, 0.78);
}
.dksReview__dot {
  opacity: 0.55;
}

.dksReview__quote {
  margin: 0;
}
.dksReview__quote p {
  margin: 0;
  font-size: clamp(1.05rem, 1.3vw, 1.22rem);
  line-height: 1.65;
  color: rgba(11, 15, 23, 0.9);
}

.dksPop {
  display: inline;
  padding: 0 0.06em;
  border-radius: 8px;
  background: linear-gradient(
    180deg,
    rgba(205, 154, 38, 0.1),
    rgba(205, 154, 38, 0.06)
  );
  box-shadow: 0 10px 24px rgba(205, 154, 38, 0.1);
  color: rgba(11, 15, 23, 0.95);
  text-decoration: underline;
  text-decoration-thickness: 0.18em;
  text-underline-offset: 0.18em;
  text-decoration-color: rgba(44, 58, 80, 0.35);
}

.dksReview__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(44, 58, 80, 0.12);
}
.dksReview__by {
  font-weight: 900;
  color: rgba(44, 58, 80, 0.92);
}

.dksReview__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;

  color: #fff;
  background: var(--navy);
  border: 1px solid rgba(44, 58, 80, 0.15);
  box-shadow: 0 14px 30px rgba(44, 58, 80, 0.18);
  transition: transform 160ms ease, filter 160ms ease, box-shadow 160ms ease;
}
.dksReview__cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 18px 40px rgba(44, 58, 80, 0.22),
    0 0 0 1px rgba(205, 154, 38, 0.22) inset;
}
.dksReview__cta:focus-visible {
  outline: 3px solid rgba(205, 154, 38, 0.45);
  outline-offset: 3px;
}

@media (max-width: 720px) {
  .dksReview__top {
    flex-direction: column;
    align-items: flex-start;
  }
  .dksReview__meta {
    justify-content: flex-start;
    text-align: left;
  }
  .dksReview__foot {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =========================================================
   15) FULL-BLEED UTILITIES
========================================================= */
.dksSection--bleed {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Full-bleed breakout utility */
.dksBleed {
  width: 100dvw;
  margin-left: calc(50% - 50dvw);
  margin-right: calc(50% - 50dvw);
}
.dksBleed > * {
  max-width: 100%;
}

/* =========================================================
   16) SHOWCASE COLLAGE
========================================================= */
.dksShowcase {
  padding: clamp(14px, 2vw, 22px) 0 clamp(28px, 4vw, 56px);
}

.dksShowcase__grid {
  display: grid;
  gap: clamp(12px, 1.6vw, 18px);
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: stretch;
}

.dksShowcase__tile {
  position: relative;
  border-radius: 22px;
  overflow: clip;
  box-shadow: 0 26px 70px rgba(11, 15, 23, 0.12);
  background: rgba(255, 255, 255, 0.6);
  transform: translateZ(0);
}
.dksShowcase__tile img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.02);
}

.dksShowcase__tile--a {
  grid-column: 1 / span 5;
  aspect-ratio: 4 / 5;
}
.dksShowcase__tile--b {
  grid-column: 6 / span 7;
  aspect-ratio: 16 / 10;
}
.dksShowcase__tile--c {
  grid-column: 1 / span 7;
  aspect-ratio: 16 / 10;
}
.dksShowcase__tile--d {
  grid-column: 8 / span 5;
  aspect-ratio: 4 / 5;
}

@media (max-width: 980px) {
  .dksShowcase__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dksShowcase__tile--a,
  .dksShowcase__tile--b,
  .dksShowcase__tile--c,
  .dksShowcase__tile--d {
    grid-column: auto;
  }
  .dksShowcase__tile {
    aspect-ratio: 16 / 11;
    border-radius: 18px;
  }
}
@media (max-width: 540px) {
  .dksShowcase__grid {
    grid-template-columns: 1fr;
  }
  .dksShowcase__tile {
    aspect-ratio: 4 / 3;
  }
}

/* =========================================================
   17) TRUST FLOAT PHOTO
========================================================= */
.dksWhy {
  position: relative;
}

.dksFloatPic {
  position: absolute;
  right: min(3vw, 34px);
  top: clamp(-34px, -3vw, -18px);
  width: clamp(180px, 18vw, 320px);
  aspect-ratio: 3 / 4;
  border-radius: 22px;
  overflow: clip;
  box-shadow: 0 30px 80px rgba(11, 15, 23, 0.18);
  border: 1px solid rgba(11, 15, 23, 0.08);
  background: #fff;
  z-index: 3;
}
.dksFloatPic img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
@media (max-width: 980px) {
  .dksFloatPic {
    position: relative;
    right: auto;
    top: 0;
    margin: 0 0 18px;
    width: min(420px, 100%);
  }
}

/* =========================================================
   18) FULL-BLEED GALLERY OVERRIDES (optional)
========================================================= */
.dksGallery--bleed {
  padding-left: var(--page-pad);
  padding-right: var(--page-pad);
  max-width: none !important;
}
@media (min-width: 1200px) {
  .dksGallery--bleed {
    gap: clamp(14px, 1.2vw, 20px);
  }
}

/* =========================================================
   19) BEFORE/AFTER SCROLLER (full-bleed, one-line row)
========================================================= */
.baSection {
  width: 100%;
  background: var(--baBg);
  color: var(--baInk);
  padding: clamp(56px, 7vw, 96px) 0;
}

.baHead {
  max-width: 78ch;
  margin-bottom: clamp(18px, 3vw, 28px);
}

.baEyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 18px;
  color: var(--navy);
}
.baEyebrow::before {
  content: "";
  width: 18px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), rgba(205, 154, 38, 0.35));
  box-shadow: 0 8px 20px rgba(205, 154, 38, 0.22);
}

.baTitle {
  margin: 10px 0 8px;
  font-size: clamp(1.55rem, 2.4vw, 2.25rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.baLead {
  margin: 0;
  color: rgba(11, 15, 23, 0.72);
  font-size: 1rem;
  line-height: 1.55;
}

/* FULL-WIDTH one-line row (FIXED: 100dvw to prevent drift) */
.baGrid {
  width: 100dvw;
  margin-left: calc(50% - 50dvw);
  margin-right: calc(50% - 50dvw);

  display: flex;
  flex-wrap: nowrap;
  gap: clamp(14px, 2vw, 22px);

  overflow-x: auto;
  overflow-y: visible;
  padding: 0 var(--page-pad) 10px;

  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  align-items: stretch;
}

.baCard {
  flex: 1 0 0;
  min-width: clamp(550px, 26vw, 550px);
  scroll-snap-align: start;
}
/* On phones, each before/after fits the screen (with a peek of the next) instead of a 550px card that runs off-screen */
@media (max-width: 600px) {
  .baCard { min-width: 86vw; }
}

.baGrid::-webkit-scrollbar {
  height: 10px;
}
.baGrid::-webkit-scrollbar-thumb {
  background: rgba(44, 58, 80, 0.22);
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.7);
}
.baGrid::-webkit-scrollbar-track {
  background: rgba(44, 58, 80, 0.08);
}

.baCompare {
  position: relative;
  border-radius: var(--baRadius);
  overflow: hidden;
  background: var(--baFaint);
  border: 1px solid var(--baLine);
  box-shadow: var(--baShadow);
  aspect-ratio: 16 / 12;
  touch-action: pan-y;
  user-select: none;
}
/* Portrait-friendly frame for services shot vertically (e.g. entry doors).
   Matches the page's contained width + 3:4 tile rhythm instead of full-bleed,
   so the sliders don't read as oversized next to the product galleries. */
.baSection--tall .baCompare {
  aspect-ratio: 3 / 4;
}
.baSection--tall .baGrid {
  width: min(1180px, 92vw);
  margin-inline: auto;
  padding-left: 0;
  padding-right: 0;
}
.baSection--tall .baCard {
  min-width: 0;
  flex: 0 0 clamp(260px, 31%, 372px);
}
@media (max-width: 700px) {
  .baSection--tall .baCard { flex-basis: 82%; }
}

.baImg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.baImg--base {
  filter: saturate(1.02) contrast(1.02);
}

.baClip {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.baImg--top {
  transform: translateZ(0);
  filter: saturate(1.04) contrast(1.03);
}

.baCompare::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos, 50%);
  width: 2px;
  transform: translateX(-1px);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.15),
    rgba(205, 154, 38, 0.95),
    rgba(255, 255, 255, 0.15)
  );
  box-shadow: 0 0 0 1px rgba(44, 58, 80, 0.18),
    0 12px 30px rgba(205, 154, 38, 0.25);
  pointer-events: none;
}

.baLabels {
  position: absolute;
  inset: 12px 12px auto 12px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  pointer-events: none;
}
.baTag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(44, 58, 80, 0.18);
  box-shadow: 0 12px 26px rgba(11, 15, 23, 0.1);
  color: var(--navy);
}
.baTag--after {
  color: #fff;
  background: linear-gradient(
    180deg,
    rgba(44, 58, 80, 0.95),
    rgba(44, 58, 80, 0.86)
  );
  border-color: rgba(44, 58, 80, 0.2);
}
.baTag--after::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 10px 18px rgba(205, 154, 38, 0.22);
}

.baHandle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos, 50%);
  transform: translateX(-50%);
  width: 72px;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: ew-resize;
  display: grid;
  place-items: center;
  z-index: 10;
  touch-action: none;
}
.baHandle:focus-visible {
  outline: 3px solid rgba(205, 154, 38, 0.55);
  outline-offset: 4px;
  border-radius: 999px;
}
.baHandle__bar {
  z-index: 10;
  position: absolute;
  top: 10px;
  bottom: 10px;
/*   width: 2px; */
/*   background: rgba(255, 255, 255, 0.65); */
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(44, 58, 80, 0.18);
  
  width: 3px;
   background: rgba(255,255,255,0.8);
/*  box-shadow:
    0 0 0 1px rgba(44, 58, 80,0.28),
    0 0 0 3px rgba(255,255,255,0.18); */
}
.baHandle__knob {
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--navy);

  background: linear-gradient(180deg, #ffffff, rgba(255, 255, 255, 0.86));
  border: 1px solid rgba(44, 58, 80, 0.22);
/*   box-shadow: 0 18px 40px rgba(11, 15, 23, 0.12),
    0 0 0 3px rgba(205, 154, 38, 0.18); */
  box-shadow:
    0 12px 26px rgba(11,15,23,0.14),
    0 0 0 2px rgba(205, 154, 38,0.16); /* thinner gold ring */
}
.baCompare:hover .baHandle__knob {
  box-shadow: 0 20px 46px rgba(11, 15, 23, 0.14),
    0 0 0 4px rgba(205, 154, 38, 0.24);
}

.baCap {
  margin: 12px 4px 0;
  color: rgba(11, 15, 23, 0.74);
  font-size: 0.95rem;
}

.baHandle:focus-visible{
  outline: 2px solid rgba(205, 154, 38,0.5);
  outline-offset: 2px;
}

/* =========================================================
   20) DECK COLORS + OPTIONS SECTION
========================================================= */
.dkColors {
  padding: clamp(56px, 7vw, 96px) 0;
  background: #fff;
  color: var(--dkInk);
}

.dkHead {
  max-width: 82ch;
}

.dkEyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--dkNavy);
  margin: 0 0 10px;
}
.dkEyebrow::before {
  content: "";
  width: 18px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--dkGold), rgba(205, 154, 38, 0.35));
  box-shadow: 0 10px 20px rgba(205, 154, 38, 0.18);
}
.dkTitle {
  margin: 0 0 10px;
  font-size: clamp(1.65rem, 2.6vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.dkLead {
  margin: 0 0 clamp(18px, 3vw, 28px);
  color: var(--dkMuted);
  font-size: 1rem;
  line-height: 1.6;
}

.dkBrandGrid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
  margin-top: clamp(10px, 2vw, 16px);
}
.dkBrand {
  grid-column: span 12;
  border-radius: var(--dkRadius);
  background: linear-gradient(180deg, #fff, rgba(44, 58, 80, 0.03));
  border: 1px solid var(--dkLine);
  box-shadow: var(--dkShadow);
  overflow: hidden;
  display: grid;
}
@media (min-width: 920px) {
  .dkBrand {
    grid-column: span 4;
  }
}

.dkBrand__top {
  padding: 16px 16px 10px;
}

.dkBrand__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.dkBrand__mark {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--dkGold);
  box-shadow: 0 10px 20px rgba(205, 154, 38, 0.2);
}
.dkBrand__name {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.dkBrand__desc {
  margin: 10px 0 0;
  color: var(--dkMuted);
  line-height: 1.55;
  font-size: 0.98rem;
}

.dkSwatches {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 0 16px 12px;
}
.dkSwatch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 10px;
  border-radius: 14px;
  border: 1px solid var(--dkLine);
  background: rgba(255, 255, 255, 0.8);
  cursor: default;
  text-align: left;
}
.dkSwatch__dot {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--sw, #999);
  box-shadow: 0 10px 18px rgba(11, 15, 23, 0.1);
  outline: 2px solid rgba(255, 255, 255, 0.9);
}
.dkSwatch__label {
  font-weight: 800;
  font-size: 0.9rem;
  color: rgba(11, 15, 23, 0.84);
}

.dkBrand__media {
  position: relative;
  aspect-ratio: 16/10;
  border-top: 1px solid var(--dkLine);
  border-bottom: 1px solid var(--dkLine);
  background: var(--dkFaint);
}
.dkBrand__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dkBrand__bullets {
  list-style: none;
  padding: 14px 16px 16px;
  margin: 0;
  display: grid;
  gap: 8px;
  color: rgba(11, 15, 23, 0.78);
  font-size: 0.95rem;
}
.dkBrand__bullets li {
  padding-left: 14px;
  position: relative;
}
.dkBrand__bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(44, 58, 80, 0.4);
}

.dkOptions {
  margin-top: clamp(26px, 4vw, 44px);
}

.dkOptions__head {
  max-width: 80ch;
  margin-bottom: clamp(14px, 2vw, 18px);
}
.dkOptions__title {
  margin: 0 0 8px;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  letter-spacing: -0.02em;
}
.dkOptions__lead {
  margin: 0;
  color: var(--dkMuted);
  line-height: 1.6;
}

.dkOptGrid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
}

.dkOpt {
  grid-column: span 12;
  border-radius: var(--dkRadius);
  border: 1px solid var(--dkLine);
  background: #fff;
  box-shadow: var(--dkShadow);
  overflow: hidden;
  display: grid;
}
@media (min-width: 900px) {
  .dkOpt {
    grid-column: span 6;
    grid-template-columns: 1fr 1.05fr;
  }
}

.dkOpt__media {
  position: relative;
  aspect-ratio: 16/10;
  background: var(--dkFaint);
}
@media (min-width: 900px) {
  .dkOpt__media {
    aspect-ratio: auto;
    min-height: 220px;
  }
}
.dkOpt__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dkOpt__body {
  padding: 16px 16px 18px;
}

.dkOpt__name {
  margin: 0 0 8px;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.dkOpt__text {
  margin: 0 0 12px;
  color: var(--dkMuted);
  line-height: 1.6;
}

.dkMini {
  margin: 0;
  padding-left: 18px;
  color: rgba(11, 15, 23, 0.78);
  display: grid;
  gap: 6px;
}
.dkMini li::marker {
  color: rgba(205, 154, 38, 0.7);
}

/* =========================================================
   21) FLOATING WORDS BAR
========================================================= */
.fwBar {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #fff;
  border-top: 1px solid var(--fw-line);
  border-bottom: 1px solid var(--fw-line);
}
.fwBar__inner {
  height: var(--fw-h);
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 0 var(--fw-pad-x);
}
.fwBar__row {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
}
.fwBar__track {
  display: inline-flex;
  align-items: center;
  gap: var(--fw-gap);
  white-space: nowrap;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}
.fwWord {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fw-font);
  letter-spacing: var(--fw-letter);
  text-transform: uppercase;
  color: var(--fw-ink);
  font-weight: 600;
}
.fwSep {
  width: 5px;
  height: 5px;
  background: rgba(205, 154, 38, 0.78);
  transform: rotate(45deg);
  display: inline-block;
}
.fwBar__row--alt .fwWord {
  color: var(--fw-muted);
  font-weight: 600;
}
.fwBar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(205, 154, 38, 0.38),
    rgba(44, 58, 80, 0.18),
    rgba(205, 154, 38, 0.38),
    transparent
  );
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .fwBar__track {
    animation: none !important;
    transform: translate3d(0, 0, 0) !important;
  }
}

/* =========================================================
   22) KPI MODAL
========================================================= */
.kpiModal {
  position: fixed;
  inset: 0;
  z-index: 9999;
}
.kpiModal[hidden] {
  display: none;
}

.kpiModal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 15, 23, 0.62);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.kpiModal__panel {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(720px, calc(100vw - 36px));
  transform: translate(-50%, -48%) scale(0.985);
  opacity: 0;

  background: #fff;
  border: 1px solid rgba(11, 15, 23, 0.12);
  box-shadow: 0 30px 110px rgba(0, 0, 0, 0.28);
  border-radius: 0;
  overflow: hidden;

  transition: transform 0.28s ease, opacity 0.28s ease;
}
.kpiModal.is-open .kpiModal__panel {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

.kpiModal__panel::before {
  content: "";
  display: block;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(205, 154, 38, 0.95),
    rgba(44, 58, 80, 0.7),
    rgba(205, 154, 38, 0.95)
  );
}

.kpiModal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: rgba(11, 15, 23, 0.75);
  font-size: 24px;
  line-height: 1;
}
.kpiModal__close:hover {
  color: rgba(11, 15, 23, 0.95);
}

.kpiModal__top {
  padding: 22px 24px 10px;
}

.kpiModal__eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(11, 15, 23, 0.58);
}

.kpiModal__title {
  margin: 8px 0 0;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.12;
  color: rgba(11, 15, 23, 0.95);
}

.kpiModal__body {
  padding: 0 24px 18px;
  color: rgba(11, 15, 23, 0.78);
  font-size: 15.5px;
  line-height: 1.65;
  max-height: min(48vh, 380px);
  overflow: auto;
}

.kpiModal__figure {
  margin: 0;
  padding: 0 24px 18px;
}
.kpiModal__figure[hidden] {
  display: none;
}
.kpiModal__img {
  width: 100%;
  height: auto;
  /* Cap height so every brand modal opens at roughly the same size as the
     short/wide Hardie chart; taller charts scale down to fit. */
  max-height: 300px;
  object-fit: contain;
  border-radius: 12px;
  display: block;
}
.kpiModal__cap {
  margin-top: 8px;
  font-size: 13px;
  color: rgba(11, 15, 23, 0.55);
  text-align: center;
}

/* Product list inside a modal (roofing brand buttons) */
.kpiProducts {
  padding: 0 24px 8px;
  max-height: min(56vh, 520px);
  overflow: auto;
}
.kpiProducts[hidden] {
  display: none;
}
.kpiProduct {
  padding: 18px 0;
  border-top: 1px solid rgba(11, 15, 23, 0.1);
}
.kpiProduct:first-child {
  border-top: 0;
}
.kpiProduct__name {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 800;
  color: #2c3a50;
}
.kpiProduct__body {
  margin: 0 0 12px;
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(11, 15, 23, 0.75);
}
.kpiProduct__house {
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}
.kpiProduct__closeup {
  margin: 12px 0 0;
  max-width: 240px;
}
.kpiProduct__closeup img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid rgba(11, 15, 23, 0.1);
  display: block;
}
.kpiProduct__closeup figcaption {
  margin-top: 6px;
  font-size: 12.5px;
  color: rgba(11, 15, 23, 0.55);
}
.kpiProduct__colors {
  margin: 12px 0 0;
}
.kpiProduct__colors img {
  width: 100%;
  height: auto;
  max-height: 260px;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid rgba(11, 15, 23, 0.1);
  display: block;
}
.kpiProduct__colors figcaption {
  margin-top: 6px;
  font-size: 12.5px;
  color: rgba(11, 15, 23, 0.55);
  text-align: center;
}

.kpiModal__actions {
  border-top: 1px solid rgba(11, 15, 23, 0.1);
  padding: 14px 24px;
  display: flex;
  justify-content: flex-end;
}

.kpiModal__btn {
  border: 1px solid rgba(11, 15, 23, 0.18);
  background: #fff;
  padding: 10px 14px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
  cursor: pointer;
}
.kpiModal__btn:hover {
  border-color: rgba(205, 154, 38, 0.75);
}

@media (prefers-reduced-motion: reduce) {
  .kpiModal__panel {
    transition: none;
  }
}

/* =========================================================
   23) KPI + QUOTE — FULL-BLEED BAND (ALIGNED)
========================================================= */
.kpiQuoteBand {
  position: relative;

  /* FULL BLEED BREAKOUT (FIXED: 100dvw) */
  width: 100dvw;
  margin-left: calc(50% - 50dvw);
  margin-right: calc(50% - 50dvw);

  padding: clamp(22px, 3.2vw, 44px) 0;
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: clip;
}



.kpiQuoteBand::before {
  content: "";
  position: absolute;
  inset: -30%;
  background: radial-gradient(
      900px 520px at 18% 35%,
      rgba(44, 58, 80, 0.1),
      transparent 60%
    ),
    radial-gradient(
      800px 520px at 78% 65%,
      rgba(205, 154, 38, 0.1),
      transparent 62%
    );
  pointer-events: none;
}

/* Inner grid: uses SAME side padding as the whole site */
.kpiQuoteBand__inner {
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: var(--page-pad);

  padding-top: clamp(28px, 4vw, 70px);
  padding-bottom: clamp(28px, 4vw, 70px);

  display: grid;
  /* The copy column caps at 640px, so give the surplus width to the quote card
     instead of leaving dead space beside a small-looking form. */
  grid-template-columns: minmax(0, 1fr) minmax(340px, 470px);
  gap: clamp(18px, 3vw, 48px);
  align-items: start;
  justify-items: end; /* push the quote card to the right */
}

.kpiQuoteBand__kpis {
  min-width: 0;
}


.kpiQuoteBand {
  width: 100%;
  margin: 0;
  border-radius: 0;
  border: 1px solid rgba(11, 15, 23, 0.14);
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.14);
  background: #fff;


  position: relative;
  /* clip (not hidden) so the sticky quote card still works: overflow:hidden
     creates a scroll container and silently disables position:sticky. */
  overflow: clip;
}

.hero__card {
  width: 100%;
  margin: 0;
  border-radius: 0;
  border: 1px solid rgba(255, 15, 23, 0.14);
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.14);
  background: #fff;
  
  
  position: relative;
  overflow: hidden;
}
.kpiQuoteBand .hero__card::before {
  content: "";
  display: block;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(205, 154, 38, 0.95),
    rgba(44, 58, 80, 0.7),
    rgba(205, 154, 38, 0.95)
  );
}

@media (min-width: 980px) {
  .kpiQuoteBand .hero__card {
    position: sticky;
    top: 92px;
  }
}

@media (max-width: 980px) {
  .kpiQuoteBand__inner {
    grid-template-columns: 1fr;
  }
  .kpiQuoteBand .hero__card {
    position: static;
  }
}

/* =========================================================
   FIX: checkbox grid overflowing inside "Request a quote"
========================================================= */
.hero__card .svc-grid,
.kpiQuoteBand .hero__card .svc-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)) !important;
  gap: 10px 14px !important;
  max-width: 100% !important;
}

.hero__card .svc,
.kpiQuoteBand .hero__card .svc {
  min-width: 0 !important;
  width: 100% !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

.hero__card .svc span,
.hero__card .svc label,
.kpiQuoteBand .hero__card .svc span,
.kpiQuoteBand .hero__card .svc label {
  min-width: 0 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

@media (max-width: 520px) {
  .hero__card .svc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* HARD FIX (form plugins) */
.kpiQuoteBand .hero__card *,
.kpiQuoteBand .hero__card {
  max-width: 100%;
}

.kpiQuoteBand .hero__card .services-needed,
.kpiQuoteBand .hero__card .checkboxes,
.kpiQuoteBand .hero__card .checkbox-grid,
.kpiQuoteBand .hero__card .options,
.kpiQuoteBand .hero__card ul,
.kpiQuoteBand .hero__card .wpforms-field-checkbox ul,
.kpiQuoteBand .hero__card .gfield_checkbox,
.kpiQuoteBand .hero__card .nf-field-element ul,
.kpiQuoteBand .hero__card .frm_opt_container,
.kpiQuoteBand .hero__card .wpcf7-list-item {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)) !important;
  gap: 10px 14px !important;
  justify-content: start !important;
  align-items: start !important;
  width: 100% !important;
  max-width: 100% !important;
}

.kpiQuoteBand .hero__card li,
.kpiQuoteBand .hero__card .wpforms-field-checkbox li,
.kpiQuoteBand .hero__card .gfield_checkbox li,
.kpiQuoteBand .hero__card .nf-field-element li,
.kpiQuoteBand .hero__card .frm_opt_container > div,
.kpiQuoteBand .hero__card .wpcf7-list-item {
  min-width: 0 !important;
  width: 100% !important;
  margin: 0 !important;
}

.kpiQuoteBand .hero__card label,
.kpiQuoteBand .hero__card .wpforms-field-checkbox label,
.kpiQuoteBand .hero__card .gfield_checkbox label,
.kpiQuoteBand .hero__card .wpcf7-list-item-label {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  min-width: 0 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

.kpiQuoteBand .hero__card .wpcf7-list-item {
  display: block !important;
}

@media (max-width: 520px) {
  .kpiQuoteBand .hero__card ul,
  .kpiQuoteBand .hero__card .wpforms-field-checkbox ul,
  .kpiQuoteBand .hero__card .gfield_checkbox,
  .kpiQuoteBand .hero__card .nf-field-element ul,
  .kpiQuoteBand .hero__card .frm_opt_container {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

.dksGrid2 {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 180px;
  align-items: start;
}

/* FAILSAFE:
   If this section is incorrectly nested inside a grid column,
   reduce the visual damage by preventing ancestor clipping.
   (Still: move the HTML section outside the grid.) */
.dksGrid2,
.dksGrid2 > div {
  overflow: visible;
}


/* =========================================================
   24) RESPONSIVE
========================================================= */
@media (max-width: 980px) {
  .dksGrid2 {
    grid-template-columns: 1fr;
  }
  .dksTiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dksGallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dksShot img {
    height: 260px;
  }
}
@media (max-width: 560px) {
  .dksHero__content {
    padding-top: 74px;
  }
  .dksTiles {
    grid-template-columns: 1fr;
  }
  .dksGallery {
    grid-template-columns: 1fr;
  }
  .dksShot img {
    height: 240px;
  }
}

/* =========================================================
   TIGHTEN GAP: headline section -> KPI/Quote band
   (paste at very bottom)
========================================================= */

/* 1) Reduce the vertical padding on the section ABOVE the band */
.dksSection {
  padding: clamp(34px, 4.2vw, 56px) 0; /* was ~54-92px */
}

/* If that headline area is its own specific section, tighten even more */
.dksSection--tight {
  padding: clamp(22px, 3vw, 38px) 0 !important;
}

/* 2) Reduce the band padding itself */
.kpiQuoteBand {
  padding: clamp(10px, 1.8vw, 18px) 0; /* was 22-44px */
}

/* 3) This is the BIG one: remove the extra top/bottom space inside the band */
.kpiQuoteBand__inner {
  padding-top: clamp(50px, 1.8vw, 20px); /* was 28-70px */
  padding-bottom: clamp(14px, 2.2vw, 22px); /* was 28-70px */
}

/* 4) Optional: if you still see a faint gap from borders/shadows */
.kpiQuoteBand {
  border-top: 0; /* remove the band’s top border */
  margin-top: -1px; /* pulls up to eliminate hairline seam */
}

/* 5) Mobile: keep it tight but readable */
@media (max-width: 980px) {
  .kpiQuoteBand__inner {
    gap: 16px; /* was larger */
  }
}

.dksSection + .kpiQuoteBand {
  margin-top: -55px; /* pulls the band up under the heading */
}

/* =========================================================
   REQUEST A QUOTE — MAKE IT ~50% SHORTER (NO SCROLL)
   Paste at VERY BOTTOM
========================================================= */

/* 1) Card itself: less padding, tighter typography */
.kpiQuoteBand .hero__card {
  padding: 14px 16px !important;
}

.kpiQuoteBand .hero__card h1,
.kpiQuoteBand .hero__card h2,
.kpiQuoteBand .hero__card h3 {
  margin: 0 0 6px !important;
}

.kpiQuoteBand .hero__card .wpforms-title,
.kpiQuoteBand .hero__card .gform_title,
.kpiQuoteBand .hero__card .nf-form-title,
.kpiQuoteBand .hero__card .frm_form_title,
.kpiQuoteBand .hero__card h2 {
  font-size: 22px !important; /* down from huge */
  line-height: 1.15 !important;
  letter-spacing: -0.01em !important;
}

.kpiQuoteBand .hero__card p,
.kpiQuoteBand .hero__card .wpforms-description,
.kpiQuoteBand .hero__card .gform_description,
.kpiQuoteBand .hero__card .nf-form-content p {
  margin: 0 0 10px !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
  color: rgba(11, 15, 23, 0.72) !important;
}

/* 2) Make the whole form use a compact grid */
.kpiQuoteBand .hero__card form {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important; /* two-column by default */
  column-gap: 12px !important;
  row-gap: 0px !important;
  align-items: start !important;
}

/* Fields that should span full width (services + details + submit) */
.kpiQuoteBand
  .hero__card
  :is(.services-needed, .checkboxes, .checkbox-grid, .options, .wpforms-field-checkbox, .gfield--type-checkbox, .nf-field-container.checkbox-container, .frm_form_field.frm_checkbox, .details, .wpforms-field-textarea, .gfield--type-textarea, .nf-field-container.textarea-container, .frm_form_field.frm_textarea, .wpforms-submit-container, .gform_footer, .nf-form-submit, .frm_submit, .wpcf7-form-control-wrap) {
  grid-column: 1 / -1 !important;
}

/* Most “normal” fields participate in the 2-col grid */
.kpiQuoteBand
  .hero__card
  :is(.wpforms-field, .gfield, .nf-field-container, .frm_form_field, .wpcf7-form-control-wrap) {
  margin: 0 !important;
  padding: 0 !important;
}

/* 3) Compact labels (smaller + tighter) */
.kpiQuoteBand
  .hero__card
  :is(label, .wpforms-field-label, .gfield_label, .nf-field-label
    label, .frm_primary_label) {
  margin: 0 0 4px !important;
  font-size: 11px !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  font-weight: 800 !important;
  color: rgba(11, 15, 23, 0.6) !important;
  line-height: 1.1 !important;
}

/* 4) Inputs: shorter height, smaller font, less padding */
.kpiQuoteBand
  .hero__card
  :is(input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="search"], input[type="url"], select, textarea) {
  font-size: 14px !important;
  line-height: 1.2 !important;
  padding: 10px 12px !important;
  border-radius: 14px !important;
}

/* Make single-line inputs shorter */
.kpiQuoteBand
  .hero__card
  :is(input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="search"], input[type="url"], select) {
  height: 42px !important;
}

/* Textarea: much shorter */
.kpiQuoteBand .hero__card textarea {
  min-height: 88px !important; /* was huge */
  height: 88px !important;
  resize: vertical !important; /* allow if they want */
}

/* 5) “Name” fields: force first/last into one row */
.kpiQuoteBand
  .hero__card
  :is(.wpforms-field-name .wpforms-field-row, .ginput_complex, .frm_grid) {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 10px !important;
}

/* If a plugin wraps name parts weirdly, keep them from creating extra gaps */
.kpiQuoteBand
  .hero__card
  :is(.wpforms-field-name .wpforms-field-row-block, .ginput_complex
    > span, .frm_grid > div) {
  margin: 0 !important;
  padding: 0 !important;
}

/* 6) Checkbox grid (“Services needed”): compact + 3 columns */
.kpiQuoteBand
  .hero__card
  :is(.services-needed ul, .checkboxes ul, .checkbox-grid ul, .options
    ul, .wpforms-field-checkbox ul, .gfield_checkbox, .nf-field-element
    ul, .frm_opt_container) {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 8px 10px !important;
  margin: 6px 0 0 !important;
  padding: 0 !important;
}

.kpiQuoteBand
  .hero__card
  :is(.services-needed li, .checkboxes li, .checkbox-grid li, .options
    li, .wpforms-field-checkbox li, .gfield_checkbox li, .nf-field-element
    li, .frm_opt_container > div, .wpcf7-list-item) {
  margin: 0 !important;
  padding: 0 !important;
}

.kpiQuoteBand
  .hero__card
  :is(.services-needed label, .checkboxes label, .checkbox-grid label, .options
    label, .wpforms-field-checkbox label, .gfield_checkbox
    label, .wpcf7-list-item-label) {
  font-size: 12px !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  font-weight: 650 !important;
  color: rgba(11, 15, 23, 0.8) !important;
  align-items: center !important;
  gap: 8px !important;
}

/* If the “Other (optional)” input is taking a whole row, shrink it */
.kpiQuoteBand
  .hero__card
  :is(input[placeholder*="Other"], input[aria-label*="Other"], input[name*="other"]) {
  height: 40px !important;
  padding: 10px 12px !important;
}

/* 7) Submit area: tighter + less vertical dead space */
.kpiQuoteBand
  .hero__card
  :is(.wpforms-submit-container, .gform_footer, .nf-form-submit, .frm_submit) {
  margin-top: 6px !important;
  padding-top: 8px !important;
}

/* Button: shorter but still tappable */
.kpiQuoteBand .hero__card :is(button, input[type="submit"]) {
  min-height: 44px !important;
  padding: 12px 14px !important;
  font-size: 13px !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}

/* 8) Remove extra “help text” spacing if the plugin injects it */
.kpiQuoteBand
  .hero__card
  :is(.wpforms-field-description, .gfield_description, .nf-field-description, .frm_description, .gform_required_legend) {
  margin: 2px 0 0 !important;
  font-size: 11px !important;
  line-height: 1.25 !important;
}

/* 9) Mobile: use 1 column, but still compact */
@media (max-width: 760px) {
  .kpiQuoteBand .hero__card form {
    grid-template-columns: 1fr !important;
  }
  .kpiQuoteBand
    .hero__card
    :is(.services-needed ul, .checkboxes ul, .checkbox-grid ul, .options
      ul, .wpforms-field-checkbox ul, .gfield_checkbox, .nf-field-element
      ul, .frm_opt_container) {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* =========================================================
   REQUEST A QUOTE — EVEN MORE COMPACT (OVERRIDES)
   Paste BELOW the previous block
========================================================= */

/* tighten the whole card */
.kpiQuoteBand .hero__card {
  padding: 12px 14px !important;
}

/* smaller heading + subtext */
.kpiQuoteBand .hero__card :is(.wpforms-title, .gform_title, h2) {
  font-size: 20px !important;
  margin: 0 0 4px !important;
}
.kpiQuoteBand .hero__card :is(.wpforms-description, .gform_description, p) {
  font-size: 12px !important;
  margin: 0 0 8px !important;
  line-height: 1.25 !important;
}

/* form grid = 2 columns, tighter gaps */
.kpiQuoteBand .hero__card form {
  grid-template-columns: 1fr 1fr !important;
  column-gap: 5px !important;
  row-gap: 0px !important;
}

/* labels = compact, but not below 12px: at 10px these were unreadable on a
   phone and they carry real form instructions. Measured at 375px. */
.kpiQuoteBand
  .hero__card
  :is(label, .wpforms-field-label, .gfield_label, .nf-field-label
    label, .frm_primary_label) {
  margin: 0 0 3px !important;
  font-size: 12px !important;
  letter-spacing: 0.10em !important;
}

/* inputs shorter */
.kpiQuoteBand
  .hero__card
  :is(input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="search"], input[type="url"], select) {
  height: 38px !important;
  padding: 9px 11px !important;
  font-size: 13px !important;
  border-radius: 12px !important;
}

/* textarea becomes “note” size */
.kpiQuoteBand .hero__card textarea {
  height: 56px !important;
  min-height: 56px !important;
  padding: 9px 11px !important;
  font-size: 13px !important;
  line-height: 1.25 !important;
}

/* Mobile: bump quote-card fields to 16px so iOS Safari doesn't auto-zoom on focus
   (overrides the compact 13/14px rules above, which stay on larger screens).
   Mirrors the higher-specificity :is() selector so it reliably wins. */
@media (max-width: 600px) {
  .kpiQuoteBand
    .hero__card
    :is(input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="search"], input[type="url"], select, textarea) {
    font-size: 16px !important;
  }
}

/* IMPORTANT: Services Needed becomes compact 2-column list */
.kpiQuoteBand
  .hero__card
  :is(.services-needed ul, .wpforms-field-checkbox
    ul, .gfield_checkbox, .nf-field-element ul, .frm_opt_container) {
  grid-template-columns: repeat(
    2,
    minmax(0, 1fr)
  ) !important; /* was 3; 2 fits cleaner */
  gap: 5px 5px !important;
  margin-top: 4px !important;
}

/* make each checkbox row tight */
.kpiQuoteBand
  .hero__card
  :is(.services-needed label, .wpforms-field-checkbox label, .gfield_checkbox
    label, .wpcf7-list-item-label) {
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  margin: 0 !important;
}

/* shrink checkbox + remove extra padding around items */
.kpiQuoteBand .hero__card input[type="checkbox"] {
  width: 16px !important;
  height: 16px !important;
  margin: 0 !important;
}

/* keep "Other (optional)" from creating a huge row */
.kpiQuoteBand
  .hero__card
  :is(input[placeholder*="Other"], input[aria-label*="Other"], input[name*="other"]) {
  height: 34px !important;
  padding: 8px 10px !important;
  border-radius: 999px !important;
  font-size: 12px !important;
}

/* submit section tighter */
.kpiQuoteBand
  .hero__card
  :is(.wpforms-submit-container, .gform_footer, .nf-form-submit, .frm_submit) {
  margin-top: 6px !important;
  padding-top: 6px !important;
}

/* button smaller but still tappable */
.kpiQuoteBand .hero__card :is(button, input[type="submit"]) {
  min-height: 42px !important;
  padding: 10px 12px !important;
  font-size: 12px !important;
  letter-spacing: 0.1em !important;
}

/* remove/compact tiny footer text under submit if present */
.kpiQuoteBand
  .hero__card
  :is(.wpforms-confirmation-container-full, p.small, .privacy, .disclaimer, .gform_footer
    .gform_ajax_spinner) {
  margin-top: 4px !important;
  font-size: 10px !important;
  line-height: 1.2 !important;
}

/* mobile: 1 column, but still tight */
@media (max-width: 760px) {
  .kpiQuoteBand .hero__card form {
    grid-template-columns: 1fr !important;
  }
  .kpiQuoteBand
    .hero__card
    :is(.services-needed ul, .wpforms-field-checkbox
      ul, .gfield_checkbox, .nf-field-element ul, .frm_opt_container) {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* Hide the big checkbox block (adjust these selectors to match your plugin markup) */
/* Only hide Services Needed inside the quote card */
.kpiQuoteBand
  .hero__card
  :is(.services-needed, .checkboxes, .checkbox-grid, .wpforms-field-checkbox, .gfield_checkbox, .nf-field-container
    .listcheckbox-wrap, .wpcf7-form .wpcf7-checkbox) {
  display: none !important;
}

/* Style the dropdown clean + compact */
.svcDropdownWrap {
  margin: 10px 0 14px;
}
.svcDropdownLabel {
  display: block;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 800;
  color: rgba(11, 15, 23, 0.62);
  margin: 0 0 8px;
}
.svcDropdownWrap select {
  width: 100%;
  height: 44px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(11, 15, 23, 0.18);
  background: #fff;
  font-size: 15px;
  outline: none;
}
.svcDropdownWrap select:focus {
  border-color: rgba(205, 154, 38, 0.75);
  box-shadow: 0 0 0 4px rgba(205, 154, 38, 0.16);
}

/* Ensure decorative overlays NEVER block clicks */
.kpiQuoteBand::before,
.dksFaq::before,
.dksCard--glow::before {
  pointer-events: none !important;
}



/* ===== FIX: keep modal image within the viewport (no layout rewrite) ===== */

/* ===== FIX (no scroll): image always fits inside panel ===== */
.dksModal__panel {
  max-height: calc(100dvh - 12vh);
  overflow: hidden;
}

.dksModal__img {
  width: 100%;
  height: 100%;
  max-height: calc(100dvh - 12vh);
  object-fit: contain; /* fits entirely */
  display: block;
}
/* center the shrink-wrapped panel */
.dksModal__panel {
  position: relative;
  display: block; /* <-- change from inline-block */
  width: fit-content; /* shrink-wrap to image */
  max-width: min(960px, calc(100vw - 26px));
  max-height: calc(100dvh - 12vh);
  margin: 6vh auto;
  overflow: visible;
  background: transparent;
}

/* keep the image natural-size but viewport-safe */
.dksModal__img {
  display: block; /* helps remove inline gaps */
  width: auto;
  height: auto;
  max-width: min(960px, calc(100vw - 26px));
  max-height: calc(100dvh - 12vh);
  object-fit: contain;
}

/* X stays pinned to the image corner */
.dksModal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
}

/* Wrap list + CTA so spacing/alignment is consistent */
.dksStepsBlock {
  margin-top: 14px; /* replaces .dksSteps margin-top */
  display: grid;
  gap: 12px;
}

/* Steps laid out LEFT-TO-RIGHT: a row of cards (badge on top, title, body) */
.dksSteps {
  list-style: none;
  padding: 0;
  margin: 0; /* important: let wrapper handle spacing */
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 820px) {
  .dksSteps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .dksSteps { grid-template-columns: 1fr; }
}

.dksStep {
  position: relative;
  border: 1px solid rgba(44, 58, 80, 0.16);
  background: #fff;
  border-radius: var(--dks-radius);
  padding: 20px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
/* blue → gold accent bar across the top of each step */
.dksStep::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #2c3a50 0%, #2c3a50 45%, #cd9a26 100%);
}
.dksStep:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(11, 15, 23, 0.12);
  border-color: rgba(44, 58, 80, 0.3);
}

.dksStep__num {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 950;
  font-size: 1.05rem;
  border: 2px solid #cd9a26;
  background: #2c3a50;
  color: #cd9a26;
  flex: 0 0 auto;
}

.dksStep__body {
  min-width: 0;
}

/* CTA row: right aligned, matches the section rhythm */
.dksStepsCta {
  display: flex;
  justify-content: flex-end; /* pushes chip right */
  padding-top: 4px;
}

/* Mobile: make it full width if you want it to feel “intentional” */
@media (max-width: 560px) {
  .dksStepsCta,
  .dksHero__cta {
    justify-content: stretch;
  }
  /* process CTA is full-bleed; give it the same 18px side gutter the hero CTA already
     inherits, so both buttons end up identical width and neither touches the edges */
  .dksStepsCta {
    padding-left: 18px;
    padding-right: 18px;
  }
  .dksStepsCta .dksChip,
  .dksHero__cta .dksChip {
    width: 100%;
    text-align: center;
  }
  /* FAQ section is full-bleed on mobile; give the whole section (heading + rows) the same
     18px side gutter as the rest of the page so it aligns with the buttons and doesn't touch the edges */
  .dksSection:has(> .dksFaq) {
    padding-left: 18px;
    padding-right: 18px;
  }
}



/* reveal layer stays full size */
.baClip{
  position: absolute;
  inset: 0;
  overflow: hidden;

  /* the cut line moves instead of the box width */
  clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0);
  will-change: clip-path;
}

/* top image is always sized to the full compare frame */
.baClip .baImg--top{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}










/* row layout */
.abtBadges{
  display: flex;
  align-items: center;            /* vertical align */
  justify-content: space-between;
  gap: clamp(18px, 3vw, 44px);
  flex-wrap: wrap;                /* wrap on small screens */
}

/* base logo behavior */
.abtLogo{
  display: block;
  width: auto;                    /* keep aspect ratio */
  height: var(--h, 56px);         /* default */
  object-fit: contain;
  max-width: 100%;
  filter: saturate(1.02);
}

/* size variants */
.abtLogo--sm{ --h: 54px; }
.abtLogo--md{ --h: 64px; }
.abtLogo--lg{ --h: 76px; }
.abtLogo--xl{ --h: 92px; }        /* big badges */

/* optional: keep BIG images from getting insanely wide */
.abtLogo--xl{
  max-width: min(320px, 40vw);
}

/* responsive tuning */
@media (max-width: 820px){
  .abtBadges{ justify-content: center; }
  .abtLogo--xl{ --h: 76px; max-width: min(280px, 70vw); }
  .abtLogo--sm{ --h: 48px; }
}


/* Make sure logos can actually size independently */
.abtBadges{
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 44px);
  flex-wrap: wrap;
}

/* Hard override: stop any global img rules from forcing same size */
.abtBadges > img.abtLogo{
  height: auto !important;
  width: auto !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  display: block;
}

/* Uniform, larger badge height (all certifications match) */
.abtBadges > img.abtLogo{ height: 120px !important; }


/* Elegant, non-annoying frame for the hero quote card */
.hero__card{
  /* If you already have a background + radius, keep yours */
  position: relative;
  border-radius: 18px;
  padding: 22px;
  background: rgba(255,255,255,.92);

  /* Subtle frame */
  border: 1px solid rgba(44, 58, 80,.14);
  box-shadow:
    0 10px 28px rgba(11,15,23,.08),     /* soft lift */
    inset 0 1px 0 rgba(255,255,255,.7); /* gentle inner sheen */
}

/* A soft “double-line” feel without looking heavy */
.hero__card::before{
  content:"";
  position:absolute;
  inset: 10px;                 /* creates the inner frame */
  border-radius: 14px;
  border: 1px solid rgba(44, 58, 80,.10);
  pointer-events:none;
}

/* Tiny gold accent (top edge) — reads premium, not loud */
.hero__card::after{
  content:"";
  position:absolute;
  left: 18px;
  right: 18px;
  top: 0;
  height: 2px;
  border-radius: 999px;
  background: rgba(205, 154, 38,.65); /* gold */
  pointer-events:none;
}

/* Optional: slightly “tighten” the header spacing inside the card */
.hero__card .h3{ margin: 0 0 6px; }
.hero__card .muted{ margin: 0 0 14px; }

/* Use the Final CTA background for this whole band */
.abtFinal{
  background: linear-gradient(135deg, var(--navy), #0b2232);
  color: #fff;
  padding: clamp(46px, 6vw, 86px) 0;
  position: relative;
  /* clip (not hidden) so the sticky quote card inside still works */
  overflow: clip;
}
.abtFinal::after{
  content:"";
  position:absolute;
  right: -120px;
  top: -120px;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(205, 154, 38,.45), transparent 62%);
  transform: rotate(18deg);
}

/* NEW: ensure your deck sections don't add their own surface */
.abtFinal .dksSection{ padding: 0; }           /* let abtFinal control padding */
.abtFinal .dksWrap{ position: relative; }     /* keep content above the glow */

/* Make the kpi band not paint over the gradient (if it has a bg) */
.abtFinal .kpiQuoteBand{ background: transparent; padding: 0; }
.abtFinal .kpiQuoteBand__inner{ position: relative; }

/* Optional: improve contrast for body text on navy */
.abtFinal .dksH2,
.abtFinal .dksBody{ color: #fff; }
.abtFinal .dksBody{ opacity: .92; }



/* Make this section feel intentional on the dark gradient */
.dksSection--onFinal{
  padding: 0;                 /* abtFinal controls outer padding */
  margin: 0 0 18px;           /* breathing room before KPI/quote band */
}

/* Keep content above the glow */
.dksSection--onFinal,
.dksSection--onFinal *{
  position: relative;
  z-index: 1;
}

/* Optional: classy eyebrow label */
.dksSection--onFinal .dksEyebrow{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.86);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

/* Headline: crisp and readable */
.abtFinal .dksSection--onFinal .dksH2{
  color: #fff;
  margin: 0 0 10px;
  max-width: 28ch;
  text-shadow: 0 1px 0 rgba(0,0,0,.22);
}

/* Body copy: soften a bit for luxury look */
.abtFinal .dksSection--onFinal .dksBody{
  color: rgba(255,255,255,.90);
  max-width: 60ch;
  line-height: 1.6;
  margin: 0;
}

/* Optional: subtle left accent bar (premium, not loud) */
.dksSection--onFinal .dksGrid2 > div{
  padding-left: 14px;
  border-left: 3px solid rgba(205, 154, 38,.55);
}






















/* ===== KPI buttons: bolder + more “cardy” ===== */
/* .abtFinal .dksKpiRow{
  display: grid;                         
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
} */




.abtFinal .hero__card .btn--primary:hover{
  filter: brightness(1.03);
}

/* Fineprint readable */
.abtFinal .hero__card .fineprint{
  color: rgba(255,255,255,.74);
}












/* =========================================================
   6) KPIs
========================================================= */
.dksKpiRow {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.dksKpi {
  border: 1px solid rgba(44, 58, 80, 0.14);
  background: rgba(44, 58, 80, 0.03);
  border-radius: 14px;
  padding: 12px 12px;
}

/* Responsive video embed (e.g. roofing "Roof Integrity") */
.svcVideo {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: clamp(18px, 2.5vw, 30px) auto 0;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow2, 0 10px 28px rgba(11, 15, 23, 0.14));
}
.svcVideo iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Bullet list section (e.g. "Why Replace Your Siding?") */
.svcBullets {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  max-width: 760px;
}
.svcBullets li {
  position: relative;
  padding-left: 30px;
  color: rgba(44, 58, 80, 0.9);
  line-height: 1.5;
}
.svcBullets li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.5em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #cd9a26;
}

/* Picture spot at the top of an option box (siding brand tiles).
   NOTE: named dksKpi__pic (not __media) to avoid the pre-existing
   .dksKpi__media placeholder-slot rule further down this file. */
.dksKpi__pic {
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 12px;
  aspect-ratio: 3 / 2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dksKpi__picImg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
/* Placeholder-only fallback keeps a light backdrop; real photos fill edge-to-edge */
.dksKpi__pic:has(.dksKpi__ph) {
  background: rgba(44, 58, 80, 0.05);
  border: 1px dashed rgba(44, 58, 80, 0.28);
}
.dksKpi__ph {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(44, 58, 80, 0.5);
}

.dksKpi__big {
  font-weight: 950;
  letter-spacing: -0.01em;
  color: rgba(11, 15, 23, 0.92);
}
.dksKpi__small {
  font-size: 12px;
  color: rgba(44, 58, 80, 0.78);
  margin-top: 2px;
}

.dksKpi[data-kpi] {
  cursor: pointer;
}
.dksKpi[data-kpi]:hover {
  outline: 1px solid rgba(205, 154, 38, 0.35);
  outline-offset: 4px;
}

.kpiQuoteBand .dksKpiRow {
  display: grid;
  gap: 14px;
}
.kpiQuoteBand .dksKpi {
  border: 1px solid rgba(11, 15, 23, 0.1);
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform 0.18s ease, border-color 0.18s ease;
  cursor: pointer;

  max-width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.kpiQuoteBand .dksKpi:hover {
  transform: translateY(-1px);
  border-color: rgba(205, 154, 38, 0.4);
}
.kpiQuoteBand .dksKpi__big {
  color: rgba(11, 15, 23, 0.95);
  font-weight: 700;
  letter-spacing: 0.02em;

  display: block;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.kpiQuoteBand .dksKpi__small {
  color: rgba(11, 15, 23, 0.68);
  margin-top: 4px;
  line-height: 1.35;
}


/* Ensure KPIs can receive pointer events */
.dksKpi,
.dksKpi * {
  pointer-events: auto;
}
.dksKpiRow {
  position: relative;
  z-index: 2;
}
.dksKpi {
  position: relative;
  z-index: 3;
}

.dksKpi[data-kpi] {
  cursor: pointer !important;
}
.dksKpi[data-kpi]:hover {
  outline: 1px solid rgba(205, 154, 38, 0.35);
  outline-offset: 4px;
}

.dksKpi {
  width: 100%;
  text-align: left;
  font: inherit;
  border: 1px solid rgba(44, 58, 80, 0.14);
  background: rgba(44, 58, 80, 0.03);
  border-radius: 14px;
  padding: 12px 12px;
}
.dksKpi:focus-visible {
  outline: 3px solid rgba(205, 154, 38, 0.45);
  outline-offset: 3px;
}








/* =========================================================
   ROUND-3 POLISH (service pages)
   #7 testimonial on navy  •  #8 certification section navy accent
========================================================= */

/* #7 — Testimonial card on a navy background */
.dksReview--light {
  background: #2c3a50;
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 60px rgba(11, 15, 23, 0.28);
}
.dksReview--light .dksReview__quote,
.dksReview--light .dksReview__quote p,
.dksReview--light .dksReview__name,
.dksReview--light .dksReview__service,
.dksReview--light .dksReview__label {
  color: #fff;
}
.dksReview--light .dksReview__service,
.dksReview--light .dksReview__dot {
  color: rgba(255, 255, 255, 0.7);
}
/* Larger, clearly readable quote on navy */
.dksReview--light .dksReview__quote p {
  font-size: clamp(1.15rem, 1.5vw, 1.4rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.96);
}
/* Emphasis: clean gold text — NO highlighter bars */
.dksReview--light .dksPop {
  background: none !important;
  box-shadow: none !important;
  text-decoration: none !important;
  padding: 0 !important;
  color: #e0b450 !important;
  font-weight: 800;
}
/* Decorative gold opening quote mark */
.dksReview--light .dksReview__quote {
  position: relative;
  padding-left: 6px;
}
.dksReview--light .dksReview__cta {
  color: #e0b450;
}
.dksReview--light::after { opacity: 0.45; }

/* #8 — Certification section: navy accent (matches home certs) */
.abtSection--alt {
  border-top: 4px solid #2c3a50;
  background:
    linear-gradient(180deg, rgba(44, 58, 80, 0.06), rgba(44, 58, 80, 0)),
    var(--page-bg, #fff);
}
.abtSection--alt .abtH2 { color: #2c3a50; }
.abtSection--alt .abtHead::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  margin: 14px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #2c3a50, #cd9a26);
}

/* =========================================================
   HERO LEAD ON ONE LINE (desktop) — all service pages
   Keeps the hero subtitle on a single line on wide screens;
   wraps normally on tablet/mobile.
========================================================= */
@media (min-width: 1024px){
  .dksHero .dksLead{ white-space: nowrap; }
}

/* =========================================================
   QUOTE CARD FORM LAYOUT (service pages)
   Force the form to a single column so rows stack:
   line1 first/last, line2 phone/email (both via .form__grid2),
   line3 zip, line4 project details.
========================================================= */
.kpiQuoteBand .hero__card .form{
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 8px;
}
.kpiQuoteBand .hero__card .form > *{ grid-column: 1 / -1; }
.kpiQuoteBand .hero__card .form__row{ margin-bottom: 0 !important; } /* grid gap handles spacing */
.kpiQuoteBand .hero__card .form__grid2{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.kpiQuoteBand .hero__card .label{ margin-bottom: 3px; }
/* the empty error placeholders were adding big gaps between fields */
.kpiQuoteBand .hero__card .error{ min-height: 0; margin: 2px 0 0; }
.kpiQuoteBand .hero__card .error:empty{ display: none; }
.kpiQuoteBand .hero__card .fineprint{ margin-top: 8px; }

/* =========================================================
   DECK PAGE: intro copy beside the quote form + moved
   "Deck options" KPI section (after Before/After, pre-certs)
========================================================= */

/* Left intro column inside the navy quote band */
.kpiQuoteBand__intro{
  min-width: 0;
  max-width: 640px;
}
.kpiQuoteBand__intro .dksH2{ margin-bottom: 14px; }
.kpiQuoteBand__intro .dksBody + .dksBody{ margin-top: 12px; }
/* Links inside the navy intro band need light/gold contrast */
.kpiQuoteBand__intro a{
  color: #e6b93f;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 700;
}
.kpiQuoteBand__intro a:hover{ color: #f0cd6e; }

/* Standalone "Deck options" section on a light surface */
.dkOptions{
  background: #fff;
  padding: clamp(46px, 6vw, 86px) 0;
  border-top: 1px solid var(--line);
}
.dkOptions__wrap{
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: var(--page-pad);
}
.dkOptions__head{
  max-width: 760px;
  margin-bottom: clamp(18px, 3vw, 32px);
}
.dkOptions__head .dksH2{ margin-bottom: 12px; }
.dkOptions__head--mt{ margin-top: clamp(40px, 5vw, 68px); }
.dkOptions__grid{
  margin-top: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.dkOptions__grid--3{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 880px){
  .dkOptions__grid,
  .dkOptions__grid--3{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px){
  .dkOptions__grid,
  .dkOptions__grid--3{ grid-template-columns: 1fr; }
}

/* Image placeholder slot on a deck-option tile (swap the <span> for an <img class="dksKpi__media"> when photos are ready) */
.dksKpi--media{ display: flex; flex-direction: column; align-items: stretch; }
.dksKpi__media{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 16 / 10;
  margin-bottom: 12px;
  padding: 8px;
  text-align: center;
  background: rgba(44, 58, 80, 0.06);
  border: 1px dashed rgba(44, 58, 80, 0.28);
  border-radius: 10px;
  color: rgba(44, 58, 80, 0.55);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
img.dksKpi__media{ object-fit: cover; border-style: solid; padding: 0; }

/* Category eyebrow on option tiles (e.g. "Fiber Cement" above the product name) */
.dksKpi__tag {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  /* darker gold: brand #cd9a26 is 2.4:1 on the light tile — fails WCAG 1.4.3 */
  color: #8a6516;
  margin-bottom: 4px;
}

/* Two-up option grid (e.g. siding material comparison) */
.dkOptions__grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 640px) { .dkOptions__grid--2 { grid-template-columns: 1fr; } }

/* =========================================================
   FEATURES & BENEFITS (service pages, e.g. roofing)
   Photo-topped cards with a title accent, sitting just
   below the options grid.
========================================================= */
.svcFeat{
  background: linear-gradient(180deg, #f6f9fc, #ffffff);
  padding: clamp(46px, 6vw, 86px) 0;
  border-top: 1px solid var(--line);
}
.svcFeat__grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  align-items: stretch;
}
.svcFeatCard{
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line, rgba(11,15,23,.12));
  border-radius: var(--r-lg, 18px);
  overflow: hidden;
  box-shadow: var(--shadow2, 0 10px 26px rgba(11,15,23,.08));
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.svcFeatCard:hover{
  transform: translateY(-3px);
  border-color: rgba(205,154,38,.45);
  box-shadow: 0 22px 60px rgba(11,15,23,.15);
}
.svcFeatCard__media{
  margin: 0;
  aspect-ratio: 16 / 10;
  background: #eef2f7;
  overflow: hidden;
}
.svcFeatCard__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Placeholder when no photo is set yet */
.svcFeatCard__media--empty{
  background:
    radial-gradient(120% 120% at 20% 10%, rgba(205,154,38,.18), transparent 55%),
    linear-gradient(135deg, rgba(44,58,80,.12), rgba(44,58,80,.04));
}
.svcFeatCard__body{ padding: clamp(16px, 2vw, 24px); }
.svcFeatCard__title{
  margin: 0 0 12px;
  font-size: clamp(1.12rem, 1.4vw, 1.32rem);
  line-height: 1.2;
  color: #2c3a50;
  position: relative;
  padding-bottom: 12px;
}
.svcFeatCard__title::after{
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 42px; height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #2c3a50, #cd9a26);
}
.svcFeatCard__text{
  margin: 0;
  color: rgba(11,15,23,.74);
  line-height: 1.6;
}
.svcFeatCard__list{
  margin: 0;
  padding-left: 1.15em;
  color: rgba(11,15,23,.74);
}
.svcFeatCard__list li{ margin: 8px 0; line-height: 1.5; }

@media (max-width: 900px){
  .svcFeat__grid{
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-inline: auto;
  }
}

/* ===== Porch/Portico showcase (two-up, replaces the options grid) ===== */
.ppShowcase{
  padding: clamp(46px, 6vw, 86px) 0;
}
.ppShowcase__inner{
  width: min(1180px, 92vw);
  margin-inline: auto;
}
.ppShowcase__head{
  margin: 0 0 clamp(24px, 3vw, 40px);
  max-width: 70ch;
}
.ppShowcase__head .dksBody{ margin-top: 10px; }
.ppShowcase__wrap{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 3.5vw, 56px);
  align-items: start;
}
.ppShowcase__card{
  display: flex;
  flex-direction: column;
}
.ppShowcase__media{
  margin: 0 0 clamp(16px, 2vw, 22px);
  border-radius: var(--r-lg, 18px);
  overflow: hidden;
  box-shadow: var(--shadow2, 0 10px 26px rgba(11,15,23,.08));
}
.ppShowcase__media img{
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
/* Labeled placeholder until real photos are supplied */
.ppShowcase__ph{
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1.25rem;
  color: #2c3a50;
  font-weight: 600;
  letter-spacing: .01em;
  border: 2px dashed rgba(44,58,80,.35);
  border-radius: var(--r-lg, 18px);
  background:
    radial-gradient(120% 120% at 20% 10%, rgba(205,154,38,.16), transparent 55%),
    linear-gradient(135deg, rgba(44,58,80,.10), rgba(44,58,80,.03));
}
.ppShowcase__ph span{ display: inline-block; max-width: 18ch; }
.ppShowcase__title{ margin: 0 0 12px; }
.ppShowcase__body p{
  color: rgba(11,15,23,.74);
  line-height: 1.65;
}
@media (max-width: 820px){
  .ppShowcase__wrap{
    grid-template-columns: 1fr;
    max-width: 600px;
  }
}
/* 3-up variant (e.g. door products) */
.ppShowcase__wrap.ppShowcase__wrap--cols3{
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
/* Portrait media (doors are shot vertically, so 4:3 crops them badly) */
.ppShowcase__wrap--tall .ppShowcase__media img{
  aspect-ratio: 3 / 4;
}
@media (max-width: 980px){
  .ppShowcase__wrap.ppShowcase__wrap--cols3{
    grid-template-columns: 1fr;
    max-width: 600px;
  }
}

/* 2-column variant of the feature-card grid (e.g. glass options 2x2) */
.svcFeat__grid.svcFeat__grid--cols2{
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 720px){
  .svcFeat__grid.svcFeat__grid--cols2{ grid-template-columns: 1fr; }
}

/* Single-figure section (e.g. "Find Your Style") */
.ppFigure{ padding: clamp(40px, 5vw, 76px) 0; }
.ppFigure__inner{ width: min(1180px, 92vw); margin-inline: auto; }
.ppFigure__frame{
  margin: clamp(18px, 2.5vw, 30px) 0 0;
  border-radius: var(--r-lg, 18px);
  overflow: hidden;
  box-shadow: var(--shadow2, 0 10px 26px rgba(11, 15, 23, 0.08));
}
.ppFigure__img{ width: 100%; height: auto; display: block; }
.ppFigure__ph{
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1.5rem;
  color: #2c3a50;
  font-weight: 600;
  border: 2px dashed rgba(44, 58, 80, 0.35);
  border-radius: var(--r-lg, 18px);
  background:
    radial-gradient(120% 120% at 20% 10%, rgba(205, 154, 38, 0.16), transparent 55%),
    linear-gradient(135deg, rgba(44, 58, 80, 0.1), rgba(44, 58, 80, 0.03));
}
.ppFigure__cap{ margin-top: 10px; color: rgba(11, 15, 23, 0.6); font-size: 0.9rem; }
/* Multi-image gallery inside a figure section */
.ppFigure__gallery{
  margin: clamp(18px, 2.5vw, 30px) 0 0;
  display: grid;
  /* min(100%, 158px) keeps 2-up on narrow phones instead of one giant image per row */
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 158px), 1fr));
  gap: clamp(14px, 2vw, 22px);
  align-items: start;
}
.ppFigure__gallery--wide{ grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); }
.ppFigure__item{ margin: 0; }
.ppFigure__item img{
  width: 100%;
  /* Uniform tile box so mixed portrait swatches + square photos line up
     and their captions sit on the same baseline. */
  aspect-ratio: 4 / 5;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: var(--r-lg, 18px);
  box-shadow: var(--shadow2, 0 10px 26px rgba(11, 15, 23, 0.08));
  background: #fff;
  padding: 6px;
}
/* Wide chart images (paint/stain palettes) keep their natural aspect */
.ppFigure__gallery--wide .ppFigure__item img{
  aspect-ratio: auto;
  padding: 0;
}
.ppFigure__item figcaption{
  margin-top: 8px;
  color: rgba(11, 15, 23, 0.6);
  font-size: 0.85rem;
  text-align: center;
}

/* Lightbox trigger wrapper: keeps the tile looking like an image, not a form control */
.ppFigure__btn{
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  border-radius: var(--r-lg, 18px);
  overflow: hidden;
  line-height: 0;
}
.ppFigure__btn img{ transition: transform 0.22s ease; }
.ppFigure__btn:hover img{ transform: scale(1.03); }
.ppFigure__btn:focus-visible{
  outline: 3px solid #cd9a26;
  outline-offset: 3px;
}

/* "Photos" variant: taller portrait tiles that fill the frame (door/window shots).
   Wider min track = fewer, larger tiles per row. */
.ppFigure__gallery--photos{
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}
/* 2-up on phones: tap any tile to open it full size in the lightbox */
@media (max-width: 620px){
  .ppFigure__gallery--photos,
  .ppFigure__gallery--photos-square{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Orientation-matched accessory tiles: portrait row + landscape row, images
   fill the tile (cover) so each row lines up cleanly. */
.ppFigure__gallery--tall{
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
}
.ppFigure__gallery--tall .ppFigure__item img{
  aspect-ratio: 3 / 4;
  object-fit: cover;
  padding: 0;
}
.ppFigure__gallery--short{
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}
.ppFigure__gallery--short .ppFigure__item img{
  aspect-ratio: 3 / 2;
  object-fit: cover;
  padding: 0;
}
/* Tighten the gap when the second (headless) row follows the first */
.ppFigure--nohead{ padding-top: 0 !important; }
.ppFigure--nohead .ppFigure__gallery{ margin-top: clamp(14px, 2vw, 22px); }

/* Square-source photos (e.g. window product shots): show the full frame,
   uncropped, so wide subjects like bay windows aren't cut off at the sides. */
.ppFigure__gallery--photos-square{
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}
.ppFigure__gallery--photos-square .ppFigure__item img{
  aspect-ratio: 1 / 1;
  max-height: none;
  /* contain (not cover) so the entire photo is always visible, never cropped */
  object-fit: contain;
  background: #f1f3f5;
  padding: 0;
}
.ppFigure__gallery--photos .ppFigure__item img{
  aspect-ratio: 3 / 4;
  max-height: none;
  object-fit: cover;
  padding: 0;
}

/* "Tiles" variant: landscape diagram tiles with plain text labels
   (used for the window-styles grid, so nothing reads as a clickable button). */
.ppFigure__gallery--tiles{
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
}
/* Even 5-across on desktop, 3-up on tablet, 2-up on phones */
@media (min-width: 981px){
  .ppFigure__gallery--tiles{ grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 980px) and (min-width: 621px){
  .ppFigure__gallery--tiles{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 620px){
  .ppFigure__gallery--tiles{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.ppFigure__gallery--tiles .ppFigure__item img{
  aspect-ratio: 5 / 4;
  object-fit: contain;
  background: #f1f3f5;
  border: 1px solid rgba(44, 58, 80, 0.10);
  box-shadow: none;
  padding: 0;
}
.ppFigure__gallery--tiles .ppFigure__item figcaption{
  margin-top: 10px;
  color: #2c3a50;
  font-weight: 700;
  font-size: 0.95rem;
}

/* Labeled placeholder inside a feature-card media slot */
.svcFeatCard__media--empty{ display: grid; place-items: center; }
.svcFeatCard__phLabel{
  color: #2c3a50;
  font-weight: 600;
  font-size: 0.85rem;
  text-align: center;
  padding: 0.75rem;
}

/* Readability: section-level body copy capped (was 165ch at 1366+); heads already cap at 80ch */
.dksSection > .dksBody { max-inline-size: 80ch; }
.dksReview__quote p { max-inline-size: 70ch; margin-inline: auto; }
