/*
 * Frozen secondary-service Hero contract.
 * Kitchen Renovations is the approved geometry and typography reference.
 * This file is linked only by secondary-nav landing/service pages with a
 * standard Hero. Product/design detail pages intentionally do not load it.
 */
:root {
  --dk-service-hero-main-height: 763px;
  --dk-service-hero-rail-height: 87px;
  --dk-service-hero-inline-gutter: 44px;
  --dk-service-hero-content-width: 1400px;
  --dk-service-hero-title-size: 80.64px;
  --dk-service-hero-title-line: 0.92;
  --dk-service-hero-eyebrow-size: 20px;
  --dk-service-hero-copy-size: 18px;
  --dk-service-proof-bg: var(--business-accent-soft, #f7f4ee);
  --dk-service-proof-accent: var(--business-accent, #b88a44);
  --dk-service-proof-title: #123047;
  --dk-service-proof-copy: #536978;
  --dk-service-proof-divider: rgba(18, 48, 71, 0.1);
  --dk-standard-page-hero-height: 560px;
}

body[data-business="renovations"] {
  --dk-service-proof-bg: #f7f4ee;
  --dk-service-proof-accent: #b88a44;
  --dk-service-proof-title: #123047;
  --dk-service-proof-copy: #536978;
  --dk-service-proof-divider: rgba(18, 48, 71, 0.1);
}

body[data-business="extensions"] {
  --dk-service-proof-bg: #f1f4f5;
  --dk-service-proof-accent: #6e8794;
  --dk-service-proof-title: #123047;
  --dk-service-proof-copy: #536978;
  --dk-service-proof-divider: rgba(18, 48, 71, 0.1);
}

body[data-business="granny-flats"] {
  --dk-service-proof-bg: #eef6f2;
  --dk-service-proof-accent: #3f816c;
  --dk-service-proof-title: #123047;
  --dk-service-proof-copy: #536978;
  --dk-service-proof-divider: rgba(18, 48, 71, 0.1);
}

body[data-business="new-builds"] {
  --dk-service-proof-bg: #eef6fb;
  --dk-service-proof-accent: #679dbb;
  --dk-service-proof-title: #123047;
  --dk-service-proof-copy: #536978;
  --dk-service-proof-divider: rgba(18, 48, 71, 0.1);
}

body[data-business="home-modifications"] {
  --dk-service-proof-bg: #f0f7f1;
  --dk-service-proof-accent: #5e986b;
  --dk-service-proof-title: #123047;
  --dk-service-proof-copy: #536978;
  --dk-service-proof-divider: rgba(18, 48, 71, 0.1);
}

/* Renovations: the rail is integrated inside the Hero. */
html body[data-business="renovations"]:not(:has(input[name="source_page"][value="/renovations/kitchen-renovations/"])) .hero--with-trust-rail {
  display: flex !important;
  flex-direction: column !important;
  min-height: 0 !important;
}

html body[data-business="renovations"]:not(:has(input[name="source_page"][value="/renovations/kitchen-renovations/"])) .hero--with-trust-rail > .hero-inner {
  width: min(var(--dk-service-hero-content-width), calc(100% - (2 * var(--dk-service-hero-inline-gutter)))) !important;
  margin-inline: auto !important;
}

/* Granny Flats and New Builds retain their approved page-specific composition,
   while sharing the same outer frame, image behaviour and spacing. */
html body.granny-page[data-business="granny-flats"] main > :is(
  .hero, .od-hero, .ft-hero, .ac-hero, .op-hero, .dc-hero, .cd-hero
) > :is(
  .hero-inner, .od-hero__grid, .ft-hero__layout, .ac-hero__layout,
  .op-hero__layout, .dc-hero__grid, .cd-hero__layout, .cd-hero__inner
),
html body.new-builds-family[data-business="new-builds"] main > :is(
  .custom-home-hero, .hl-hero, .kdr-hero
) > :is(
  .custom-home-hero__grid, .hl-hero__grid, .kdr-hero__grid
) {
  width: min(var(--dk-service-hero-content-width), calc(100% - (2 * var(--dk-service-hero-inline-gutter)))) !important;
  margin-inline: auto !important;
}

html body.new-builds-family[data-business="new-builds"] main > .duplex-hero {
  padding-inline: max(var(--dk-service-hero-inline-gutter), calc((100% - var(--dk-service-hero-content-width)) / 2)) !important;
}

html body.new-builds-family[data-business="new-builds"] main > #new-builds-hero .new-builds-hero__copy-panel {
  padding-left: max(var(--dk-service-hero-inline-gutter), calc((100vw - var(--dk-service-hero-content-width)) / 2)) !important;
  padding-right: var(--dk-service-hero-inline-gutter) !important;
}

/* Shared desktop Hero height. The credential rail remains a separate 87px row. */
@media (min-width: 1025px) {
  html body[data-business="extensions"] main > :is(
    .extensions-hero, .gfe-hero, .ss-hero
  ),
  html body[data-business="extensions"] main > :is(
    .extensions-hero, .gfe-hero, .ss-hero
  ) > :is(
    .extensions-hero__inner, .gfe-hero__inner, .ss-hero__inner
  ),
  html body[data-business="extensions"] main > :is(
    .gfe-hero, .ss-hero
  ) > :is(
    .gfe-hero__image, .ss-hero__image
  ),
  html body[data-business="home-modifications"] main > .hero,
  html body[data-business="home-modifications"] main > .hero > .hero-inner {
    height: var(--dk-service-hero-main-height) !important;
    min-height: var(--dk-service-hero-main-height) !important;
    max-height: var(--dk-service-hero-main-height) !important;
  }

  html body[data-business="renovations"]:not(:has(input[name="source_page"][value="/renovations/kitchen-renovations/"])) .hero--with-trust-rail > .hero-inner,
  html body.granny-page[data-business="granny-flats"] main > :is(
    .hero, .od-hero, .ft-hero, .ac-hero, .op-hero, .dc-hero, .cd-hero
  ),
  html body.granny-page[data-business="granny-flats"] main > :is(
    .hero, .od-hero, .ft-hero, .ac-hero, .op-hero, .dc-hero, .cd-hero
  ) > :is(
    .hero-inner, .od-hero__grid, .ft-hero__layout, .ac-hero__layout,
    .op-hero__layout, .dc-hero__grid, .cd-hero__layout, .cd-hero__inner
  ),
  html body.new-builds-family[data-business="new-builds"] main > :is(
    .custom-home-hero, .hl-hero, .kdr-hero
  ),
  html body.new-builds-family[data-business="new-builds"] main > :is(
    .custom-home-hero, .hl-hero, .kdr-hero
  ) > :is(
    .custom-home-hero__grid, .hl-hero__grid, .kdr-hero__grid
  ),
  html body.new-builds-family[data-business="new-builds"] main > .custom-home-hero :is(
    .custom-home-hero__copy, .custom-home-hero__media, .custom-home-hero__media > img
  ),
  html body.new-builds-family[data-business="new-builds"] main > .hl-hero .hl-hero__media,
  html body.new-builds-family[data-business="new-builds"] main > .kdr-hero .kdr-hero__visual,
  html body.new-builds-family[data-business="new-builds"] main > .duplex-hero,
  html body.new-builds-family[data-business="new-builds"] main > .duplex-hero :is(
    .duplex-hero__media, .duplex-hero__image, .duplex-hero__image img
  ) {
    height: var(--dk-service-hero-main-height) !important;
    min-height: var(--dk-service-hero-main-height) !important;
    max-height: var(--dk-service-hero-main-height) !important;
  }

  html body[data-business="renovations"]:not(:has(input[name="source_page"][value="/renovations/kitchen-renovations/"])) .hero--with-trust-rail > .hero-inner,
  html body.granny-page[data-business="granny-flats"] main > :is(
    .hero, .od-hero, .ft-hero, .ac-hero, .op-hero, .dc-hero, .cd-hero
  ) > :is(
    .hero-inner, .od-hero__grid, .ft-hero__layout, .ac-hero__layout,
    .op-hero__layout, .dc-hero__grid, .cd-hero__layout, .cd-hero__inner
  ) {
    padding-top: 24px !important;
    padding-bottom: 24px !important;
  }

  html body.new-builds-page.new-builds-family[data-business="new-builds"] #main-content > #new-builds-hero {
    grid-template-rows: var(--dk-service-hero-main-height) var(--dk-service-hero-rail-height) !important;
    min-height: calc(var(--dk-service-hero-main-height) + var(--dk-service-hero-rail-height)) !important;
    height: calc(var(--dk-service-hero-main-height) + var(--dk-service-hero-rail-height)) !important;
  }

  html body.new-builds-page.new-builds-family[data-business="new-builds"] #new-builds-hero :is(
    .new-builds-hero__copy-panel, .new-builds-hero__image-panel
  ) {
    height: var(--dk-service-hero-main-height) !important;
    min-height: var(--dk-service-hero-main-height) !important;
    max-height: var(--dk-service-hero-main-height) !important;
  }

  /* Content-dense legacy Heroes keep all approved content inside the shared
     frame through layout rhythm, not smaller shared typography. */
  html body.approvals-costs-page[data-business="granny-flats"] #approvals-costs-hero .ac-hero__layout {
    grid-template-columns: minmax(0, 1fr) 430px !important;
    gap: 48px !important;
  }

  html body.approvals-costs-page[data-business="granny-flats"] #approvals-costs-hero .ac-hero__copy {
    max-width: none !important;
  }

  html body.approvals-costs-page[data-business="granny-flats"] #approvals-costs-hero .ac-eyebrow {
    margin-bottom: 14px !important;
  }

  html body.approvals-costs-page[data-business="granny-flats"] #approvals-costs-hero .ac-hero__supporting {
    margin-top: 14px !important;
    line-height: 1.55 !important;
  }

  html body.approvals-costs-page[data-business="granny-flats"] #approvals-costs-hero .ac-hero__benefits {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 12px !important;
    margin-top: 16px !important;
  }

  html body.approvals-costs-page[data-business="granny-flats"] #approvals-costs-hero .ac-hero__benefits li {
    grid-template-columns: 34px minmax(0, 1fr) !important;
    gap: 8px !important;
    align-items: start !important;
  }

  html body.approvals-costs-page[data-business="granny-flats"] #approvals-costs-hero .ac-hero__benefits li > span {
    width: 34px !important;
    height: 34px !important;
  }

  html body.approvals-costs-page[data-business="granny-flats"] #approvals-costs-hero .ac-actions {
    margin-top: 16px !important;
  }

  html body.approvals-costs-page[data-business="granny-flats"] #approvals-costs-hero .ac-property-form {
    padding: 20px 22px !important;
  }

  html body.approvals-costs-page[data-business="granny-flats"] #approvals-costs-hero .ac-property-form > p {
    margin: 6px 0 12px !important;
  }

  html body.approvals-costs-page[data-business="granny-flats"] #approvals-costs-hero .ac-property-form form {
    gap: 8px !important;
  }

  html body.approvals-costs-page[data-business="granny-flats"] #approvals-costs-hero .ac-property-form input {
    min-height: 42px !important;
  }

  html body.approvals-costs-page[data-business="granny-flats"] #approvals-costs-hero .ac-property-form button {
    min-height: 46px !important;
  }

  html body.approvals-costs-page[data-business="granny-flats"] #approvals-costs-hero .ac-property-form > small {
    margin-top: 8px !important;
  }

  html body.granny-page.dc-page[data-business="granny-flats"] #designer-collection-hero .dc-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  }

  html body.granny-page.dc-page[data-business="granny-flats"] #designer-collection-hero .dc-hero__copy {
    max-width: none !important;
    padding-block: 24px !important;
    padding-right: 36px !important;
  }

  html body.granny-page.dc-page[data-business="granny-flats"] #designer-collection-hero .dc-breadcrumb {
    margin-bottom: 18px !important;
  }

  html body.granny-page.dc-page[data-business="granny-flats"] #designer-collection-hero .dc-eyebrow {
    margin-bottom: 14px !important;
  }

  html body.duplex-page.new-builds-family[data-business="new-builds"] #duplex-hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  }

  html body.duplex-page.new-builds-family[data-business="new-builds"] #duplex-hero .duplex-hero__copy {
    padding: 22px 42px 22px max(44px, calc((100vw - var(--dk-service-hero-content-width)) / 2)) !important;
  }

  html body.duplex-page.new-builds-family[data-business="new-builds"] #duplex-hero .kicker {
    margin-bottom: 12px !important;
  }

  html body.duplex-page.new-builds-family[data-business="new-builds"] #duplex-hero h1 {
    max-width: none !important;
    margin-bottom: 14px !important;
  }

  html body.duplex-page.new-builds-family[data-business="new-builds"] #duplex-hero h1 span {
    display: inline !important;
  }

  html body.duplex-page.new-builds-family[data-business="new-builds"] #duplex-hero .duplex-hero__lead {
    max-width: none !important;
    margin-bottom: 14px !important;
    line-height: 1.6 !important;
  }

  html body.duplex-page.new-builds-family[data-business="new-builds"] #duplex-hero .duplex-actions {
    gap: 12px 18px !important;
  }

  html body.duplex-page.new-builds-family[data-business="new-builds"] #duplex-hero .duplex-hero__note {
    max-width: none !important;
    margin-top: 10px !important;
    padding-top: 8px !important;
    font-size: 11px !important;
    line-height: 1.4 !important;
  }
}

@media (min-width: 1025px) {
  html:root:root:root:root:root:root:root:root:root:root body[data-business="extensions"] main > section.extensions-hero.extensions-hero::before,
  html:root:root:root:root:root:root:root:root:root:root body.knockdown-rebuild-page.new-builds-family[data-business="new-builds"] #main-content > section#kdr-hero#kdr-hero::before,
  html:root:root:root:root:root:root:root:root:root:root body.knockdown-rebuild-page.new-builds-family[data-business="new-builds"] #main-content > section#kdr-hero#kdr-hero::after {
    background: none !important;
    background-image: none !important;
    filter: none !important;
    opacity: 0 !important;
  }

  html:root:root:root:root:root:root:root:root:root:root body[data-business="extensions"] main > section.extensions-hero.extensions-hero .extensions-hero__copy {
    position: relative !important;
    z-index: 2 !important;
    width: min(610px, 100%) !important;
    max-width: 610px !important;
    padding: 34px !important;
    border: 1px solid rgba(255, 255, 255, 0.72) !important;
    border-radius: 18px !important;
    background: rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 26px 70px rgba(18, 48, 71, 0.16) !important;
  }

  html:root:root:root:root:root:root:root:root:root:root body[data-business="extensions"] main > section.extensions-hero.extensions-hero .extensions-hero__copy :is(h1, p, li),
  html:root:root:root:root:root:root:root:root:root:root body[data-business="extensions"] main > section.extensions-hero.extensions-hero .extensions-hero__copy .extensions-hero__lead {
    color: #123047 !important;
  }

  html:root:root:root:root:root:root:root:root:root:root body[data-business="extensions"] main > section.extensions-hero.extensions-hero .extensions-hero__eyebrow,
  html:root:root:root:root:root:root:root:root:root:root body[data-business="extensions"] main > section.extensions-hero.extensions-hero h1 span {
    color: var(--dk-service-proof-accent, #6e8794) !important;
  }
}

/* Real service-page coverage outside the Renovations / Granny / New Builds families. */
html body[data-business="extensions"] main > :is(.gfe-hero, .ss-hero) > :is(.gfe-hero__overlay, .ss-hero__shade),
html body[data-business="home-modifications"] main > .hero::after {
  background: none !important;
  opacity: 0 !important;
}

html body[data-business="extensions"] main > :is(.gfe-hero, .ss-hero) > :is(.gfe-hero__image, .ss-hero__image),
html body[data-business="home-modifications"] main > .hero::before {
  filter: none !important;
}

html body[data-business="home-modifications"] main > .hero .hero-trust-row {
  color: var(--dk-service-proof-title) !important;
}

html body[data-business="home-modifications"] main > .hero .hero-trust-item {
  font-size: var(--dk-service-hero-copy-size) !important;
  line-height: 1.35 !important;
  font-weight: 600 !important;
}

html body[data-business="home-modifications"] main > .hero .hero-trust-item > span {
  color: var(--dk-service-proof-title) !important;
  font-family: "Manrope", "Noto Sans SC", Arial, sans-serif !important;
  font-size: 15.5px !important;
  line-height: 1.24 !important;
  font-weight: 700 !important;
}

html body[data-business="home-modifications"] main > .hero .hero-trust-item svg {
  width: 28px !important;
  height: 28px !important;
  color: var(--dk-service-proof-accent) !important;
}

@media (min-width: 1025px) {
  html body[data-business="home-modifications"] main > .hero {
    height: calc(var(--dk-service-hero-main-height) + var(--dk-service-hero-rail-height)) !important;
    min-height: calc(var(--dk-service-hero-main-height) + var(--dk-service-hero-rail-height)) !important;
    max-height: calc(var(--dk-service-hero-main-height) + var(--dk-service-hero-rail-height)) !important;
    overflow: hidden !important;
  }

  html body[data-business="home-modifications"] main > .hero > .hero-inner {
    height: var(--dk-service-hero-main-height) !important;
    min-height: var(--dk-service-hero-main-height) !important;
    max-height: var(--dk-service-hero-main-height) !important;
  }

  html body[data-business="home-modifications"] main > .hero .hero-trust-row {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 2 !important;
    width: 100% !important;
    max-width: none !important;
    height: var(--dk-service-hero-rail-height) !important;
    min-height: var(--dk-service-hero-rail-height) !important;
    margin: 0 !important;
    padding-inline: max(var(--dk-service-hero-inline-gutter), calc((100vw - var(--dk-service-hero-content-width)) / 2)) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: nowrap !important;
    gap: clamp(16px, 2vw, 34px) !important;
    background: var(--dk-service-proof-bg) !important;
    background-image: none !important;
    border-top: 1px solid var(--dk-service-proof-divider) !important;
    color: var(--dk-service-proof-title) !important;
  }

  html body[data-business="home-modifications"] main > .hero .hero-trust-item {
    min-height: var(--dk-service-hero-rail-height) !important;
    font-size: 15.5px !important;
    line-height: 1.24 !important;
    font-weight: 700 !important;
  }

  html body[data-business="home-modifications"] main > .hero .trust-separator {
    display: block !important;
    width: 1px !important;
    height: 30px !important;
    background: var(--dk-service-proof-divider) !important;
  }
}

/* Approved Kitchen Hero typography. Business-specific accent colours stay local. */
html body:is([data-business="renovations"], [data-business="extensions"], [data-business="home-modifications"], [data-business="granny-flats"], [data-business="new-builds"]) main > :is(
  .hero, .od-hero, .ft-hero, .ac-hero, .op-hero, .dc-hero, .cd-hero,
  #new-builds-hero, .custom-home-hero, .hl-hero, .kdr-hero, .duplex-hero,
  .extensions-hero, .gfe-hero, .ss-hero
) h1 {
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: var(--dk-service-hero-title-size) !important;
  line-height: var(--dk-service-hero-title-line) !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
}

html body:is([data-business="renovations"], [data-business="extensions"], [data-business="home-modifications"], [data-business="granny-flats"], [data-business="new-builds"]) main > :is(
  .hero, .od-hero, .ft-hero, .ac-hero, .op-hero, .dc-hero, .cd-hero,
  #new-builds-hero, .custom-home-hero, .hl-hero, .kdr-hero, .duplex-hero,
  .extensions-hero, .gfe-hero, .ss-hero
) :is(
  .eyebrow, .hero-eyebrow, .od-eyebrow, .ft-eyebrow, .ac-eyebrow,
  .op-eyebrow, .dc-eyebrow, .cd-eyebrow, .new-builds-hero__eyebrow,
  .hl-kicker, .kdr-label, .kicker, [class*="hero__eyebrow"],
  .extensions-hero__eyebrow, .gfe-hero__eyebrow, .ss-hero__eyebrow
) {
  margin-bottom: 30px !important;
  font-family: "Cinzel", Georgia, serif !important;
  font-size: var(--dk-service-hero-eyebrow-size) !important;
  line-height: 24px !important;
  font-weight: 600 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
}

html body:is([data-business="renovations"], [data-business="extensions"], [data-business="home-modifications"], [data-business="granny-flats"], [data-business="new-builds"]) main > :is(
  .hero, .od-hero, .ft-hero, .ac-hero, .op-hero, .dc-hero, .cd-hero,
  #new-builds-hero, .custom-home-hero, .hl-hero, .kdr-hero, .duplex-hero,
  .extensions-hero, .gfe-hero, .ss-hero
) :is(
  .hero-copy, .od-hero__copy, .ft-hero__copy, .ac-hero__copy,
  .op-hero__copy, .dc-hero__copy, .cd-hero__copy, .new-builds-hero__copy,
  .hl-hero__copy, .kdr-hero__copy, .custom-home-hero__copy, .duplex-hero__copy,
  .extensions-hero__copy, .gfe-hero__copy, .ss-hero__content
) > p:not([class*="eyebrow"]):not([class*="kicker"]):not([class*="label"]) {
  font-family: "Manrope", "Noto Sans SC", Arial, sans-serif !important;
  font-size: var(--dk-service-hero-copy-size) !important;
  line-height: 1.75 !important;
  font-weight: 500 !important;
}

/* Standard image crop: flexible image content inside a stable Hero frame. */
html body:is([data-business="granny-flats"], [data-business="new-builds"]) main > :is(
  .hero, .od-hero, .ft-hero, .ac-hero, .op-hero, .dc-hero, .cd-hero,
  #new-builds-hero, .custom-home-hero, .hl-hero, .kdr-hero, .duplex-hero
) :is(
  .hero-media, .od-hero__media, .ft-hero__media, .ac-hero__media,
  .op-hero__media, .dc-hero__media, .cd-hero__media,
  .new-builds-hero__image-panel, .custom-home-hero__media,
  .hl-hero__media, .kdr-hero__visual, .duplex-hero__media, .duplex-hero__image
) img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: 50% 50% !important;
}

/* Credential rail geometry and hierarchy. Content remains page-specific. */
html body[data-business="renovations"]:not(:has(input[name="source_page"][value="/renovations/kitchen-renovations/"])) .hero-trust-rail,
html body.granny-page[data-business="granny-flats"] .gf-credential-rail,
html body.new-builds-family[data-business="new-builds"] :is(
  .new-builds-trust-rail, .custom-home-trust, .duplex-trust, .hl-trust, .kdr-trust-strip
) {
  height: var(--dk-service-hero-rail-height) !important;
  min-height: var(--dk-service-hero-rail-height) !important;
  max-height: var(--dk-service-hero-rail-height) !important;
  border-top: 1px solid var(--dk-service-proof-divider) !important;
  background: var(--dk-service-proof-bg) !important;
  background-image: none !important;
  color: var(--dk-service-proof-title) !important;
  overflow: hidden !important;
}

html body.granny-page[data-business="granny-flats"] .gf-credential-rail__inner,
html body.new-builds-family[data-business="new-builds"] :is(
  .new-builds-trust-rail__inner, .custom-home-trust__grid,
  .duplex-trust__grid, .hl-trust__grid, .kdr-trust-strip__grid
) {
  width: min(var(--dk-service-hero-content-width), calc(100% - (2 * var(--dk-service-hero-inline-gutter)))) !important;
  min-height: var(--dk-service-hero-rail-height) !important;
  height: var(--dk-service-hero-rail-height) !important;
  margin-inline: auto !important;
}

html body.granny-page[data-business="granny-flats"] .gf-credential-rail__item,
html body.new-builds-family[data-business="new-builds"] :is(
  .new-builds-trust-rail__item, .custom-home-trust__grid > div,
  .duplex-trust__item, .hl-trust__grid > article, .kdr-trust-strip__grid > article
) {
  height: var(--dk-service-hero-rail-height) !important;
  min-height: var(--dk-service-hero-rail-height) !important;
  max-height: var(--dk-service-hero-rail-height) !important;
  align-items: center !important;
}

html body.granny-page[data-business="granny-flats"] .gf-credential-rail__item strong,
html body.new-builds-family[data-business="new-builds"] :is(
  .new-builds-trust-rail__copy strong, .custom-home-trust__grid > div strong,
  .duplex-trust__item span, .hl-trust__grid > article strong,
  .kdr-trust-strip__grid > article strong
) {
  color: var(--dk-service-proof-title) !important;
  font-family: "Manrope", "Noto Sans SC", Arial, sans-serif !important;
  font-size: 15.5px !important;
  line-height: 1.24 !important;
  font-weight: 700 !important;
}

html body.granny-page[data-business="granny-flats"] .gf-credential-rail__item small,
html body.new-builds-family[data-business="new-builds"] :is(
  .new-builds-trust-rail__copy > span, .custom-home-trust__grid > div small,
  .hl-trust__grid > article p, .kdr-trust-strip__grid > article small
) {
  margin-top: 3px !important;
  color: var(--dk-service-proof-copy) !important;
  font-family: "Manrope", "Noto Sans SC", Arial, sans-serif !important;
  font-size: 14px !important;
  line-height: 1.32 !important;
  font-weight: 500 !important;
}

html body.granny-page[data-business="granny-flats"] .gf-credential-rail__item::before {
  border-color: var(--accent-granny-flats-on-dark, #b9d8bc) !important;
}

html body.new-builds-family[data-business="new-builds"] :is(
  .new-builds-trust-rail__icon, .custom-home-trust__grid svg,
  .duplex-trust__item svg, .hl-trust__grid > article svg, .kdr-trust-icon
) {
  color: var(--dk-service-proof-accent) !important;
}

@media (max-width: 1024px) {
  :root {
    --dk-service-hero-inline-gutter: 24px;
    --dk-service-hero-title-size: 64px;
    --dk-service-hero-eyebrow-size: 18px;
  }

  html body:is([data-business="renovations"], [data-business="granny-flats"], [data-business="new-builds"]) main > :is(
    .hero, .od-hero, .ft-hero, .ac-hero, .op-hero, .dc-hero, .cd-hero,
    #new-builds-hero, .custom-home-hero, .hl-hero, .kdr-hero, .duplex-hero
  ),
  html body:is([data-business="renovations"], [data-business="granny-flats"], [data-business="new-builds"]) main > :is(
    .hero, .od-hero, .ft-hero, .ac-hero, .op-hero, .dc-hero, .cd-hero,
    #new-builds-hero, .custom-home-hero, .hl-hero, .kdr-hero, .duplex-hero
  ) > :is(
    .hero-inner, .od-hero__grid, .ft-hero__layout, .ac-hero__layout,
    .op-hero__layout, .dc-hero__grid, .cd-hero__layout, .cd-hero__inner,
    .custom-home-hero__grid, .hl-hero__grid, .kdr-hero__grid
  ) {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }

  html body.new-builds-page.new-builds-family[data-business="new-builds"] #main-content > #new-builds-hero {
    height: auto !important;
    min-height: 0 !important;
    grid-template-rows: auto auto auto !important;
  }

  html body.granny-page[data-business="granny-flats"] .gf-credential-rail,
  html body.new-builds-family[data-business="new-builds"] :is(
    .new-builds-trust-rail, .custom-home-trust, .duplex-trust, .hl-trust, .kdr-trust-strip
  ) {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  html:root:root:root:root:root:root:root:root body.duplex-page.new-builds-family[data-business="new-builds"] main > section#duplex-hero {
    height: auto !important;
    min-height: 620px !important;
    max-height: none !important;
  }

  html:root:root:root:root:root:root:root:root body.duplex-page.new-builds-family[data-business="new-builds"] main > section#duplex-hero .duplex-hero__copy {
    padding: 28px 32px !important;
  }

  html:root:root:root:root:root:root:root:root body.duplex-page.new-builds-family[data-business="new-builds"] main > section#duplex-hero .kicker {
    margin-bottom: 12px !important;
  }

  html:root:root:root:root:root:root:root:root body.duplex-page.new-builds-family[data-business="new-builds"] main > section#duplex-hero h1 {
    max-width: none !important;
    margin-bottom: 14px !important;
  }

  html:root:root:root:root:root:root:root:root body.duplex-page.new-builds-family[data-business="new-builds"] main > section#duplex-hero h1 span {
    display: inline !important;
  }

  html:root:root:root:root:root:root:root:root body.duplex-page.new-builds-family[data-business="new-builds"] main > section#duplex-hero .duplex-hero__lead {
    max-width: none !important;
    margin-bottom: 14px !important;
    line-height: 1.6 !important;
  }

  html:root:root:root:root:root:root:root:root body.duplex-page.new-builds-family[data-business="new-builds"] main > section#duplex-hero .duplex-hero__note {
    max-width: none !important;
    margin-top: 10px !important;
    padding-top: 8px !important;
    font-size: 11px !important;
    line-height: 1.4 !important;
  }
}

@media (max-width: 768px) {
  :root {
    --dk-service-hero-inline-gutter: 16px;
    --dk-service-hero-title-size: clamp(44px, 12vw, 54px);
    --dk-service-hero-eyebrow-size: 16px;
    --dk-service-hero-copy-size: 16px;
  }

  html body:is([data-business="renovations"], [data-business="granny-flats"], [data-business="new-builds"]) main > :is(
    .hero, .od-hero, .ft-hero, .ac-hero, .op-hero, .dc-hero, .cd-hero,
    #new-builds-hero, .custom-home-hero, .hl-hero, .kdr-hero, .duplex-hero
  ) :is(
    .eyebrow, .hero-eyebrow, .od-eyebrow, .ft-eyebrow, .ac-eyebrow,
    .op-eyebrow, .dc-eyebrow, .cd-eyebrow, .new-builds-hero__eyebrow,
    .hl-kicker, .kdr-label, .kicker, [class*="hero__eyebrow"]
  ) {
    margin-bottom: 18px !important;
    line-height: 21px !important;
  }

  html body.granny-page[data-business="granny-flats"] .gf-credential-rail__inner,
  html body.new-builds-family[data-business="new-builds"] :is(
    .new-builds-trust-rail__inner, .custom-home-trust__grid,
    .duplex-trust__grid, .hl-trust__grid, .kdr-trust-strip__grid
  ) {
    width: 100% !important;
    height: auto !important;
    min-height: 78px !important;
    display: flex !important;
    overflow-x: auto !important;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  html body.granny-page[data-business="granny-flats"] .gf-credential-rail__item,
  html body.new-builds-family[data-business="new-builds"] :is(
    .new-builds-trust-rail__item, .custom-home-trust__grid > div,
    .duplex-trust__item, .hl-trust__grid > article, .kdr-trust-strip__grid > article
  ) {
    flex: 0 0 min(82vw, 390px) !important;
    width: auto !important;
    height: 78px !important;
    min-height: 78px !important;
    max-height: 78px !important;
    scroll-snap-align: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body :is(.hero, [class*="-hero"]) *,
  html body :is(.hero-trust-rail, .gf-credential-rail, [class*="-trust"]) * {
    scroll-behavior: auto !important;
  }
}

/* Legacy New Builds pages contain unusually high-specificity !important rules.
   Keep these final compatibility selectors narrow to the five approved pages. */
@media (min-width: 1025px) {
  html:root:root:root:root:root:root:root:root body.custom-home-page.new-builds-family[data-business="new-builds"] main > section.custom-home-hero,
  html:root:root:root:root:root:root:root:root body.custom-home-page.new-builds-family[data-business="new-builds"] main > section.custom-home-hero > .custom-home-hero__grid,
  html:root:root:root:root:root:root:root:root body.custom-home-page.new-builds-family[data-business="new-builds"] main > section.custom-home-hero :is(.custom-home-hero__copy, .custom-home-hero__media, .custom-home-hero__media > img),
  html:root:root:root:root:root:root:root:root body.duplex-page.new-builds-family[data-business="new-builds"] main > section#duplex-hero,
  html:root:root:root:root:root:root:root:root body.duplex-page.new-builds-family[data-business="new-builds"] main > section#duplex-hero :is(.duplex-hero__media, .duplex-hero__image, .duplex-hero__image img) {
    height: var(--dk-service-hero-main-height) !important;
    min-height: var(--dk-service-hero-main-height) !important;
    max-height: var(--dk-service-hero-main-height) !important;
  }

  html:root:root:root:root:root:root:root:root body.duplex-page.new-builds-family[data-business="new-builds"] main > section#duplex-hero .duplex-hero__lead {
    margin-bottom: 14px !important;
    line-height: 1.6 !important;
  }

  html:root:root:root:root:root:root:root:root body.duplex-page.new-builds-family[data-business="new-builds"] main > section#duplex-hero .duplex-hero__note {
    margin-top: 10px !important;
    padding-top: 8px !important;
    font-size: 11px !important;
    line-height: 1.4 !important;
  }

  html:root:root:root:root:root:root:root:root body.custom-home-page.new-builds-family[data-business="new-builds"] main > section.custom-home-hero #custom-home-title {
    margin-bottom: 14px !important;
  }

  html:root:root:root:root:root:root:root:root body.custom-home-page.new-builds-family[data-business="new-builds"] main > section.custom-home-hero #custom-home-title span {
    display: inline !important;
    margin-top: 0 !important;
  }

  html:root:root:root:root:root:root:root:root body.custom-home-page.new-builds-family[data-business="new-builds"] main > section.custom-home-hero #custom-home-title span + span::before {
    content: " ";
  }

  html:root:root:root:root:root:root:root:root body.custom-home-page.new-builds-family[data-business="new-builds"] main > section.custom-home-hero .custom-home-hero__supporting {
    margin-top: 0 !important;
    line-height: 1.55 !important;
    text-align: left !important;
  }

  html:root:root:root:root:root:root:root:root body.custom-home-page.new-builds-family[data-business="new-builds"] main > section.custom-home-hero .custom-home-hero__actions {
    margin-top: 16px !important;
  }
}

html:root:root:root:root:root:root:root:root body.new-builds-page.new-builds-family[data-business="new-builds"] main > #new-builds-hero #new-builds-hero-title,
html:root:root:root:root:root:root:root:root body.custom-home-page.new-builds-family[data-business="new-builds"] main > .custom-home-hero #custom-home-title,
html:root:root:root:root:root:root:root:root body.duplex-page.new-builds-family[data-business="new-builds"] main > #duplex-hero #duplex-hero-title,
html:root:root:root:root:root:root:root:root body.house-land-page.new-builds-family[data-business="new-builds"] main > #hl-hero #hero-title,
html:root:root:root:root:root:root:root:root body.knockdown-rebuild-page.new-builds-family[data-business="new-builds"] main > #kdr-hero #kdr-hero-title {
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: var(--dk-service-hero-title-size) !important;
  line-height: var(--dk-service-hero-title-line) !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
}

html:root:root:root:root:root:root:root:root body.granny-page[data-business="granny-flats"] main > .cd-hero .cd-eyebrow,
html:root:root:root:root:root:root:root:root body.custom-home-page.new-builds-family[data-business="new-builds"] main > .custom-home-hero .custom-home-eyebrow {
  margin-bottom: 30px !important;
  font-family: "Cinzel", Georgia, serif !important;
  font-size: var(--dk-service-hero-eyebrow-size) !important;
  line-height: 24px !important;
  font-weight: 600 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
}

html:root:root:root:root:root:root:root:root:root:root body.granny-page.cd-page[data-business="granny-flats"] main > #custom-design-hero .cd-hero__copy > p.cd-eyebrow {
  font-size: 20px !important;
}

@media (max-width: 1024px) {
  html:root:root:root:root:root:root:root:root:root:root body.granny-page.cd-page[data-business="granny-flats"] main > #custom-design-hero .cd-hero__copy > p.cd-eyebrow {
    font-size: 18px !important;
  }
}

@media (max-width: 768px) {
html:root:root:root:root:root:root:root:root:root:root body.granny-page.cd-page[data-business="granny-flats"] main > #custom-design-hero .cd-hero__copy > p.cd-eyebrow {
    font-size: 16px !important;
  }
}

/* Final legacy-page locks. A few older New Builds pages carry route-local
   double-ID or late-loaded proof-rail rules; keep the shared service Hero
   contract stable without touching page content. */
@media (min-width: 1025px) {
  html:root:root:root:root:root:root:root:root body.duplex-page.new-builds-family[data-business="new-builds"] main > section#duplex-hero#duplex-hero#duplex-hero,
  html:root:root:root:root:root:root:root:root body.duplex-page.new-builds-family[data-business="new-builds"] main > section#duplex-hero#duplex-hero#duplex-hero .duplex-hero__copy,
  html:root:root:root:root:root:root:root:root body.duplex-page.new-builds-family[data-business="new-builds"] main > section#duplex-hero#duplex-hero#duplex-hero :is(.duplex-hero__media, .duplex-hero__image, .duplex-hero__image img),
  html:root:root:root:root:root:root:root:root body.house-land-page.new-builds-family[data-business="new-builds"] #main-content > section#hl-hero#hl-hero,
  html:root:root:root:root:root:root:root:root body.house-land-page.new-builds-family[data-business="new-builds"] #main-content > section#hl-hero#hl-hero > .hl-hero__grid,
  html:root:root:root:root:root:root:root:root body.house-land-page.new-builds-family[data-business="new-builds"] #main-content > section#hl-hero#hl-hero .hl-hero__media,
  html:root:root:root:root:root:root:root:root body.house-land-page.new-builds-family[data-business="new-builds"] #main-content > section#hl-hero#hl-hero .hl-hero__media > img {
    height: var(--dk-service-hero-main-height) !important;
    min-height: var(--dk-service-hero-main-height) !important;
    max-height: var(--dk-service-hero-main-height) !important;
  }
}

html:root:root:root:root:root:root:root:root body.house-land-page.new-builds-family[data-business="new-builds"] #main-content > .hl-trust.dk-proof-rail.dk-proof-rail,
html:root:root:root:root:root:root:root:root body.new-builds-family[data-business="new-builds"] main > :is(.custom-home-trust, .duplex-trust, .kdr-trust-strip).dk-proof-rail.dk-proof-rail {
  height: var(--dk-service-hero-rail-height) !important;
  min-height: var(--dk-service-hero-rail-height) !important;
  max-height: var(--dk-service-hero-rail-height) !important;
  background: var(--dk-service-proof-bg) !important;
  background-color: var(--dk-service-proof-bg) !important;
  background-image: none !important;
  color: var(--dk-service-proof-title) !important;
}

html:root:root:root:root:root:root:root:root body.house-land-page.new-builds-family[data-business="new-builds"] #main-content > .hl-trust.dk-proof-rail .dk-proof-rail__inner,
html:root:root:root:root:root:root:root:root body.house-land-page.new-builds-family[data-business="new-builds"] #main-content > .hl-trust.dk-proof-rail .hl-trust__grid,
html:root:root:root:root:root:root:root:root body.new-builds-family[data-business="new-builds"] main > :is(.custom-home-trust, .duplex-trust, .kdr-trust-strip).dk-proof-rail .dk-proof-rail__inner {
  height: var(--dk-service-hero-rail-height) !important;
  min-height: var(--dk-service-hero-rail-height) !important;
  max-height: var(--dk-service-hero-rail-height) !important;
}

html:root:root:root:root:root:root:root:root body.house-land-page.new-builds-family[data-business="new-builds"] #main-content > .hl-trust.dk-proof-rail .dk-proof-rail__item,
html:root:root:root:root:root:root:root:root body.new-builds-family[data-business="new-builds"] main > :is(.custom-home-trust, .duplex-trust, .kdr-trust-strip).dk-proof-rail .dk-proof-rail__item {
  height: var(--dk-service-hero-rail-height) !important;
  min-height: var(--dk-service-hero-rail-height) !important;
  max-height: var(--dk-service-hero-rail-height) !important;
  background: transparent !important;
}

html:root:root:root:root:root:root:root:root body.new-builds-family[data-business="new-builds"] main .dk-proof-rail.dk-proof-rail .dk-proof-rail__icon,
html:root:root:root:root:root:root:root:root body.new-builds-family[data-business="new-builds"] main .dk-proof-rail.dk-proof-rail .dk-proof-rail__icon svg {
  color: var(--dk-service-proof-accent) !important;
}

html:root:root:root:root:root:root:root:root body.new-builds-family[data-business="new-builds"] main .dk-proof-rail.dk-proof-rail .dk-proof-rail__copy strong {
  color: var(--dk-service-proof-title) !important;
  font-family: "Manrope", "Noto Sans SC", Arial, sans-serif !important;
  font-size: 15.5px !important;
  line-height: 1.24 !important;
  font-weight: 700 !important;
}

html:root:root:root:root:root:root:root:root body.new-builds-family[data-business="new-builds"] main .dk-proof-rail.dk-proof-rail .dk-proof-rail__copy :is(span, small) {
  margin-top: 3px !important;
  color: var(--dk-service-proof-copy) !important;
  font-family: "Manrope", "Noto Sans SC", Arial, sans-serif !important;
  font-size: 14px !important;
  line-height: 1.32 !important;
  font-weight: 500 !important;
}

html:root:root:root:root:root:root:root:root body.house-land-page.new-builds-family[data-business="new-builds"] #main-content > .hl-trust.dk-proof-rail.dk-proof-rail .dk-proof-rail__icon,
html:root:root:root:root:root:root:root:root body.house-land-page.new-builds-family[data-business="new-builds"] #main-content > .hl-trust.dk-proof-rail.dk-proof-rail .dk-proof-rail__icon svg {
  color: var(--dk-service-proof-accent) !important;
}

html:root:root:root:root:root:root:root:root body.house-land-page.new-builds-family[data-business="new-builds"] #main-content > .hl-trust.dk-proof-rail.dk-proof-rail .dk-proof-rail__copy strong {
  color: var(--dk-service-proof-title) !important;
  font-family: "Manrope", "Noto Sans SC", Arial, sans-serif !important;
  font-size: 15.5px !important;
  line-height: 1.24 !important;
  font-weight: 700 !important;
}

html:root:root:root:root:root:root:root:root body.house-land-page.new-builds-family[data-business="new-builds"] #main-content > .hl-trust.dk-proof-rail.dk-proof-rail .dk-proof-rail__copy :is(span, small) {
  margin-top: 3px !important;
  color: var(--dk-service-proof-copy) !important;
  font-family: "Manrope", "Noto Sans SC", Arial, sans-serif !important;
  font-size: 14px !important;
  line-height: 1.32 !important;
  font-weight: 500 !important;
}

/* House & Land / Knockdown Rebuild pilot lock: use a full representative Hero image with a contained copy panel. */
@media (min-width: 769px) {
  html:root:root:root:root:root:root:root:root:root body.house-land-page.new-builds-family[data-business="new-builds"] #main-content > section#hl-hero#hl-hero {
    position: relative !important;
    overflow: hidden !important;
    height: var(--dk-service-hero-main-height) !important;
    min-height: var(--dk-service-hero-main-height) !important;
    max-height: var(--dk-service-hero-main-height) !important;
    background: var(--dk-service-proof-bg, #eef6fb) !important;
  }

  html:root:root:root:root:root:root:root:root:root body.knockdown-rebuild-page.new-builds-family[data-business="new-builds"] #main-content > section#kdr-hero#kdr-hero {
    position: relative !important;
    overflow: hidden !important;
    isolation: isolate !important;
    height: var(--dk-service-hero-main-height) !important;
    min-height: var(--dk-service-hero-main-height) !important;
    max-height: var(--dk-service-hero-main-height) !important;
    background: var(--dk-service-proof-bg, #eef6fb) !important;
  }

  html:root:root:root:root:root:root:root:root:root body.knockdown-rebuild-page.new-builds-family[data-business="new-builds"] #main-content > section#kdr-hero#kdr-hero::before {
    content: none !important;
  }

  html:root:root:root:root:root:root:root:root:root body.house-land-page.new-builds-family[data-business="new-builds"] #main-content > section#hl-hero#hl-hero > .hl-hero__grid {
    position: relative !important;
    z-index: 2 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 0.46fr) minmax(0, 0.54fr) !important;
    align-items: center !important;
    height: var(--dk-service-hero-main-height) !important;
    min-height: var(--dk-service-hero-main-height) !important;
    max-height: var(--dk-service-hero-main-height) !important;
    background: transparent !important;
  }

  html:root:root:root:root:root:root:root:root:root body.knockdown-rebuild-page.new-builds-family[data-business="new-builds"] #main-content > section#kdr-hero#kdr-hero > .kdr-hero__grid {
    position: relative !important;
    z-index: 2 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 0.52fr) minmax(0, 0.48fr) !important;
    align-items: center !important;
    gap: clamp(26px, 3vw, 48px) !important;
    width: min(var(--dk-service-hero-content-width), calc(100% - (2 * var(--dk-service-hero-inline-gutter)))) !important;
    height: var(--dk-service-hero-main-height) !important;
    min-height: var(--dk-service-hero-main-height) !important;
    max-height: var(--dk-service-hero-main-height) !important;
    margin-inline: auto !important;
    padding: 0 !important;
    background: transparent !important;
  }

  html:root:root:root:root:root:root:root:root:root body.house-land-page.new-builds-family[data-business="new-builds"] #main-content > section#hl-hero#hl-hero .hl-hero__media {
    position: absolute !important;
    top: 0 !important;
    right: auto !important;
    bottom: auto !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 0 !important;
    display: block !important;
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
    width: 100vw !important;
    height: var(--dk-service-hero-main-height) !important;
    min-height: var(--dk-service-hero-main-height) !important;
    max-height: var(--dk-service-hero-main-height) !important;
    margin: 0 !important;
    overflow: hidden !important;
    border-radius: 0 !important;
    background: var(--dk-service-proof-bg, #eef6fb) !important;
  }

  html:root:root:root:root:root:root:root:root:root body.knockdown-rebuild-page.new-builds-family[data-business="new-builds"] #main-content > section#kdr-hero#kdr-hero .kdr-hero__visual {
    position: absolute !important;
    top: 0 !important;
    right: auto !important;
    bottom: auto !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 0 !important;
    display: block !important;
    width: 100vw !important;
    height: var(--dk-service-hero-main-height) !important;
    min-height: var(--dk-service-hero-main-height) !important;
    max-height: var(--dk-service-hero-main-height) !important;
    margin: 0 !important;
    overflow: hidden !important;
    border-radius: 0 !important;
    background: var(--dk-service-proof-bg, #eef6fb) !important;
  }

  html:root:root:root:root:root:root:root:root:root body.house-land-page.new-builds-family[data-business="new-builds"] #main-content > section#hl-hero#hl-hero .hl-hero__media > img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    object-fit: cover !important;
    object-position: 62% 50% !important;
    filter: none !important;
  }

  html:root:root:root:root:root:root:root:root:root body.knockdown-rebuild-page.new-builds-family[data-business="new-builds"] #main-content > section#kdr-hero#kdr-hero .kdr-hero__visual > img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    object-fit: cover !important;
    object-position: 58% 50% !important;
    filter: none !important;
  }

  html:root:root:root:root:root:root:root:root:root body.house-land-page.new-builds-family[data-business="new-builds"] #main-content > section#hl-hero#hl-hero .hl-hero__copy {
    position: relative !important;
    z-index: 3 !important;
    align-self: center !important;
    width: min(590px, 100%) !important;
    max-width: 590px !important;
    padding: 34px !important;
    border: 1px solid rgba(255, 255, 255, 0.72) !important;
    border-radius: 18px !important;
    background: rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 26px 70px rgba(18, 48, 71, 0.16) !important;
  }

  html:root:root:root:root:root:root:root:root:root body.knockdown-rebuild-page.new-builds-family[data-business="new-builds"] #main-content > section#kdr-hero#kdr-hero .kdr-hero__copy,
  html:root:root:root:root:root:root:root:root:root body.knockdown-rebuild-page.new-builds-family[data-business="new-builds"] #main-content > section#kdr-hero#kdr-hero .kdr-review-card {
    position: relative !important;
    z-index: 3 !important;
    align-self: center !important;
    padding: 32px !important;
    border: 1px solid rgba(255, 255, 255, 0.72) !important;
    border-radius: 18px !important;
    background: rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 26px 70px rgba(18, 48, 71, 0.16) !important;
  }

  html:root:root:root:root:root:root:root:root:root body.knockdown-rebuild-page.new-builds-family[data-business="new-builds"] #main-content > section#kdr-hero#kdr-hero .kdr-hero__copy :is(h1, p),
  html:root:root:root:root:root:root:root:root:root body.knockdown-rebuild-page.new-builds-family[data-business="new-builds"] #main-content > section#kdr-hero#kdr-hero .kdr-review-card :is(h2, p, li, small) {
    color: #123047 !important;
  }

  html:root:root:root:root:root:root:root:root:root body.knockdown-rebuild-page.new-builds-family[data-business="new-builds"] #main-content > section#kdr-hero#kdr-hero .kdr-label,
  html:root:root:root:root:root:root:root:root:root body.knockdown-rebuild-page.new-builds-family[data-business="new-builds"] #main-content > section#kdr-hero#kdr-hero h1 span {
    color: var(--dk-service-proof-accent, #679dbb) !important;
  }
}

@media (max-width: 768px) {
  html:root:root:root:root body.house-land-page.new-builds-family[data-business="new-builds"] #main-content > section#hl-hero#hl-hero .hl-hero__copy {
    background: rgba(255, 255, 255, 0.92) !important;
    box-shadow: 0 18px 44px rgba(18, 48, 71, 0.14) !important;
  }

  html:root:root:root:root body.knockdown-rebuild-page.new-builds-family[data-business="new-builds"] #main-content > section#kdr-hero#kdr-hero .kdr-hero__copy,
html:root:root:root:root body.knockdown-rebuild-page.new-builds-family[data-business="new-builds"] #main-content > section#kdr-hero#kdr-hero .kdr-review-card {
    background: rgba(255, 255, 255, 0.92) !important;
    box-shadow: 0 18px 44px rgba(18, 48, 71, 0.14) !important;
  }
}

/* Extensions rail height parity: include borders inside the Kitchen-standard 87px row. */
html:root:root:root:root body[data-business="extensions"] main > .dk-proof-rail.dk-proof-rail,
html:root:root:root:root body[data-business="extensions"] main > .dk-proof-rail.dk-proof-rail > .dk-proof-rail__inner,
html:root:root:root:root body[data-business="extensions"] main > .dk-proof-rail.dk-proof-rail .dk-proof-rail__item {
  height: var(--dk-service-hero-rail-height) !important;
  min-height: var(--dk-service-hero-rail-height) !important;
  max-height: var(--dk-service-hero-rail-height) !important;
  overflow: hidden !important;
}

/* Extensions landing parity: legacy landing markup uses a taller internal proof
   block, so lock the outer Hero to the same Kitchen-standard frame. */
@media (min-width: 1025px) {
  html:root:root:root:root:root body[data-business="extensions"] main > section#home-extensions-hero.extensions-hero {
    height: var(--dk-service-hero-main-height) !important;
    min-height: var(--dk-service-hero-main-height) !important;
    max-height: var(--dk-service-hero-main-height) !important;
    overflow: hidden !important;
  }

  html:root:root:root:root:root body[data-business="extensions"] main > section#home-extensions-hero.extensions-hero > .extensions-hero__inner {
    height: var(--dk-service-hero-main-height) !important;
    min-height: var(--dk-service-hero-main-height) !important;
    max-height: var(--dk-service-hero-main-height) !important;
    align-items: center !important;
  }

  html:root:root:root:root:root body[data-business="extensions"] main > section#home-extensions-hero.extensions-hero .extensions-hero__proof {
    margin-top: 18px !important;
    gap: 12px !important;
  }

  html:root:root:root:root:root body[data-business="extensions"] main > section.extensions-trust-strip.dk-proof-rail.dk-proof-rail--extensions {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    height: var(--dk-service-hero-rail-height) !important;
    min-height: var(--dk-service-hero-rail-height) !important;
    max-height: var(--dk-service-hero-rail-height) !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: var(--dk-service-proof-bg) !important;
    background-image: none !important;
    border-top: 1px solid var(--dk-service-proof-divider) !important;
  }

  html:root:root:root:root:root body[data-business="extensions"] main > section.extensions-trust-strip.dk-proof-rail.dk-proof-rail--extensions > .dk-proof-rail__inner {
    height: var(--dk-service-hero-rail-height) !important;
    min-height: var(--dk-service-hero-rail-height) !important;
    max-height: var(--dk-service-hero-rail-height) !important;
  }
}

/* Final service Hero visual contract.
   Kitchen remains the reference page and is intentionally excluded from the
   Renovations override above. Other secondary-menu business pages use one
   sharp representative image field with no blur, fog or gradient wash. */
html:root:root:root:root:root:root:root:root:root:root body:is(
  [data-business="renovations"], [data-business="extensions"],
  [data-business="granny-flats"], [data-business="new-builds"]
) main .dk-proof-rail.dk-proof-rail {
  background: var(--dk-service-proof-bg) !important;
  background-color: var(--dk-service-proof-bg) !important;
  background-image: none !important;
  color: var(--dk-service-proof-title) !important;
}

html:root:root:root:root:root:root:root:root:root:root body:is(
  [data-business="renovations"], [data-business="extensions"],
  [data-business="granny-flats"], [data-business="new-builds"]
) main .dk-proof-rail.dk-proof-rail .dk-proof-rail__copy strong {
  color: var(--dk-service-proof-title) !important;
  font-size: 15.5px !important;
  line-height: 1.24 !important;
}

html:root:root:root:root:root:root:root:root:root:root body:is(
  [data-business="renovations"], [data-business="extensions"],
  [data-business="granny-flats"], [data-business="new-builds"]
) main .dk-proof-rail.dk-proof-rail .dk-proof-rail__copy :is(span, small) {
  color: var(--dk-service-proof-copy) !important;
  font-size: 14px !important;
  line-height: 1.32 !important;
}

html:root:root:root:root:root:root:root:root:root:root body:is(
  [data-business="renovations"], [data-business="extensions"],
  [data-business="granny-flats"], [data-business="new-builds"]
) main .dk-proof-rail.dk-proof-rail .dk-proof-rail__icon {
  color: var(--dk-service-proof-accent) !important;
}

@media (max-width: 1180px) and (min-width: 769px) {
  html body:is(
    [data-business="renovations"], [data-business="extensions"],
    [data-business="granny-flats"], [data-business="new-builds"]
  ) {
    overflow-x: clip !important;
  }

  html body:is(
    [data-business="renovations"], [data-business="extensions"],
    [data-business="granny-flats"], [data-business="new-builds"]
  ) main .dk-proof-rail.dk-proof-rail {
    box-sizing: border-box !important;
    height: var(--dk-service-hero-rail-height) !important;
    min-height: var(--dk-service-hero-rail-height) !important;
    max-height: var(--dk-service-hero-rail-height) !important;
  }
}

@media (max-width: 1100px) and (min-width: 769px) {
  html body.second-storey-page[data-business="extensions"] :is(
    .ss-intro, .ss-intro__grid, .ss-intro__copy, .ss-feature-points
  ),
  html body.second-storey-page[data-business="extensions"] .ss-planner__nav,
  html body.second-storey-page[data-business="extensions"] .ss-tabs {
    min-width: 0 !important;
    max-width: 100% !important;
    overflow-x: clip !important;
  }

  html body.second-storey-page[data-business="extensions"] .ss-tabs {
    overflow-x: auto !important;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
  }

  html body.second-storey-page[data-business="extensions"] .ss-tabs::-webkit-scrollbar {
    display: none;
  }

  html body.granny-page.designs-page[data-business="granny-flats"] :is(
    .od-catalog, .od-shell, .od-catalog__layout, .od-results, .od-price-note,
    .design-support-actions
  ) {
    min-width: 0 !important;
    max-width: 100% !important;
    overflow-x: clip !important;
  }

  html body.granny-page.designs-page[data-business="granny-flats"] .design-support-actions {
    flex-wrap: wrap !important;
  }
}

@media (min-width: 1025px) {
  html:root:root:root:root:root:root:root:root:root:root body.new-builds-family[data-business="new-builds"] main > :is(
    .custom-home-hero, .duplex-hero
  ) {
    position: relative !important;
    isolation: isolate !important;
    overflow: hidden !important;
    height: var(--dk-service-hero-main-height) !important;
    min-height: var(--dk-service-hero-main-height) !important;
    max-height: var(--dk-service-hero-main-height) !important;
    background: var(--dk-service-proof-bg, #eef6fb) !important;
  }

  html:root:root:root:root:root:root:root:root:root:root body.custom-home-page.new-builds-family[data-business="new-builds"] main > .custom-home-hero > .custom-home-hero__grid {
    position: relative !important;
    z-index: 2 !important;
    display: grid !important;
    width: min(var(--dk-service-hero-content-width), calc(100% - (2 * var(--dk-service-hero-inline-gutter)))) !important;
    height: var(--dk-service-hero-main-height) !important;
    min-height: var(--dk-service-hero-main-height) !important;
    max-height: var(--dk-service-hero-main-height) !important;
    margin-inline: auto !important;
    padding: 0 !important;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.58fr) !important;
    gap: clamp(28px, 3vw, 48px) !important;
    align-items: center !important;
    background: transparent !important;
  }

  html:root:root:root:root:root:root:root:root:root:root body.duplex-page.new-builds-family[data-business="new-builds"] main > .duplex-hero {
    display: grid !important;
    width: 100% !important;
    padding-inline: max(var(--dk-service-hero-inline-gutter), calc((100vw - var(--dk-service-hero-content-width)) / 2)) !important;
    grid-template-columns: minmax(0, 0.55fr) minmax(0, 0.45fr) !important;
    align-items: center !important;
  }

  html:root:root:root:root:root:root:root:root:root:root body.custom-home-page.new-builds-family[data-business="new-builds"] main > .custom-home-hero .custom-home-hero__media,
  html:root:root:root:root:root:root:root:root:root:root body.duplex-page.new-builds-family[data-business="new-builds"] main > .duplex-hero .duplex-hero__image {
    position: absolute !important;
    top: 0 !important;
    right: auto !important;
    bottom: auto !important;
    left: 50% !important;
    z-index: 0 !important;
    display: block !important;
    width: 100vw !important;
    height: var(--dk-service-hero-main-height) !important;
    min-height: var(--dk-service-hero-main-height) !important;
    max-height: var(--dk-service-hero-main-height) !important;
    margin: 0 !important;
    transform: translateX(-50%) !important;
    overflow: hidden !important;
    border-radius: 0 !important;
    background: var(--dk-service-proof-bg, #eef6fb) !important;
  }

  html:root:root:root:root:root:root:root:root:root:root body.custom-home-page.new-builds-family[data-business="new-builds"] main > .custom-home-hero .custom-home-hero__media img,
  html:root:root:root:root:root:root:root:root:root:root body.duplex-page.new-builds-family[data-business="new-builds"] main > .duplex-hero .duplex-hero__image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    object-fit: cover !important;
    object-position: 62% 50% !important;
    filter: none !important;
    opacity: 1 !important;
  }

  html:root:root:root:root:root:root:root:root:root:root body.custom-home-page.new-builds-family[data-business="new-builds"] main > .custom-home-hero .custom-home-hero__copy,
  html:root:root:root:root:root:root:root:root:root:root body.duplex-page.new-builds-family[data-business="new-builds"] main > .duplex-hero .duplex-hero__copy {
    position: relative !important;
    z-index: 3 !important;
    align-self: center !important;
    width: min(610px, 100%) !important;
    max-width: 610px !important;
    padding: 34px !important;
    border: 1px solid rgba(255, 255, 255, 0.72) !important;
    border-radius: 18px !important;
    background: rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 26px 70px rgba(18, 48, 71, 0.16) !important;
  }

  html:root:root:root:root:root:root:root:root:root:root body.custom-home-page.new-builds-family[data-business="new-builds"] main > .custom-home-hero .custom-home-hero__form-panel {
    position: relative !important;
    z-index: 3 !important;
    align-self: center !important;
    width: min(390px, 100%) !important;
    max-height: calc(var(--dk-service-hero-main-height) - 64px) !important;
    overflow: auto !important;
    border: 1px solid rgba(255, 255, 255, 0.72) !important;
    background: rgba(255, 255, 255, 0.94) !important;
    box-shadow: 0 26px 70px rgba(18, 48, 71, 0.16) !important;
  }

  html:root:root:root:root:root:root:root:root:root:root body.custom-home-page.new-builds-family[data-business="new-builds"] main > .custom-home-hero .custom-home-hero__backdrop,
  html:root:root:root:root:root:root:root:root:root:root body.new-builds-family[data-business="new-builds"] main > :is(.custom-home-hero, .duplex-hero)::before,
  html:root:root:root:root:root:root:root:root:root:root body.new-builds-family[data-business="new-builds"] main > :is(.custom-home-hero, .duplex-hero)::after {
    background: none !important;
    background-image: none !important;
    filter: none !important;
    opacity: 0 !important;
  }
}

/* Clear-image Hero hardening
   Removes legacy colour-wash / fog layers from secondary service Heroes while
   leaving the Kitchen reference Hero untouched. */
html:root:root:root:root:root:root:root:root:root:root body.granny-page[data-business="granny-flats"] main > :is(
  #fast-track-hero.ft-hero,
  #approvals-costs-hero.ac-hero,
  #our-process-hero.op-hero
)::before,
html:root:root:root:root:root:root:root:root:root:root body.granny-page[data-business="granny-flats"] main > :is(
  #fast-track-hero.ft-hero,
  #approvals-costs-hero.ac-hero,
  #our-process-hero.op-hero
)::after,
html:root:root:root:root:root:root:root:root:root:root body.home-extensions-page[data-business="extensions"] main > :is(
  .gfe-hero,
  .ss-hero,
  .extensions-hero
) > :is(.gfe-hero__overlay, .ss-hero__shade),
html:root:root:root:root:root:root:root:root:root:root body.knockdown-rebuild-page.new-builds-family[data-business="new-builds"] #main-content > #kdr-hero.kdr-hero::before,
html:root:root:root:root:root:root:root:root:root:root body.knockdown-rebuild-page.new-builds-family[data-business="new-builds"] #main-content > #kdr-hero.kdr-hero::after,
html:root:root:root:root:root:root:root:root:root:root body.new-builds-family[data-business="new-builds"] main > :is(
  #new-builds-hero.new-builds-hero,
  #hl-hero.hl-hero,
  .custom-home-hero,
  #duplex-hero.duplex-hero
)::before,
html:root:root:root:root:root:root:root:root:root:root body.new-builds-family[data-business="new-builds"] main > :is(
  #new-builds-hero.new-builds-hero,
  #hl-hero.hl-hero,
  .custom-home-hero,
  #duplex-hero.duplex-hero
)::after,
html:root:root:root:root:root:root:root:root:root:root body.new-builds-page.new-builds-family[data-business="new-builds"] #new-builds-hero .new-builds-hero__image-panel::before,
html:root:root:root:root:root:root:root:root:root:root body.new-builds-page.new-builds-family[data-business="new-builds"] #new-builds-hero .new-builds-hero__image-panel::after,
html:root:root:root:root:root:root:root:root:root:root body.custom-home-page.new-builds-family[data-business="new-builds"] main > .custom-home-hero .custom-home-hero__backdrop {
  background: none !important;
  background-image: none !important;
  opacity: 0 !important;
  filter: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html:root:root:root:root:root:root:root:root:root:root body.granny-page[data-business="granny-flats"] main > :is(
  #fast-track-hero.ft-hero,
  #approvals-costs-hero.ac-hero,
  #our-process-hero.op-hero
) :is(.ft-hero__media img, .ac-hero__media img, .op-hero__media img),
html:root:root:root:root:root:root:root:root:root:root body.home-extensions-page[data-business="extensions"] main > :is(
  .gfe-hero,
  .ss-hero
) > :is(.gfe-hero__image, .ss-hero__image),
html:root:root:root:root:root:root:root:root:root:root body.new-builds-family[data-business="new-builds"] main > :is(
  #new-builds-hero.new-builds-hero,
  #hl-hero.hl-hero,
  .custom-home-hero,
  #duplex-hero.duplex-hero
) img,
html:root:root:root:root:root:root:root:root:root:root body.knockdown-rebuild-page.new-builds-family[data-business="new-builds"] #main-content > #kdr-hero .kdr-hero__visual img {
  filter: none !important;
  opacity: 1 !important;
}

html:root:root:root:root:root:root:root:root:root:root body.knockdown-rebuild-page.new-builds-family[data-business="new-builds"] #main-content > #kdr-hero .kdr-review-card {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
