/* Keep the service territory's project photography readable beside real page copy. */
.dd-site .oc-photo-intro {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.03fr);
  align-items: center;
  gap: clamp(30px, 5vw, 76px);
  width: min(1260px, calc(100% - 80px));
  margin-inline: auto;
  padding: clamp(34px, 4.7vw, 68px) 0;
}

.dd-site .oc-intro-copy { min-width: 0; }
.dd-site .oc-intro-copy .eyebrow { margin: 0 0 14px; color: inherit; }
.dd-site .oc-intro-copy h1 {
  max-width: 19ch;
  margin: 0 0 .35em;
  font-size: clamp(2.15rem, 3.7vw, 3.85rem);
  font-weight: 700;
  letter-spacing: -.035em;
  font-style: normal;
  line-height: 1.06;
  overflow-wrap: break-word;
  text-transform: none;
}
.dd-site .oc-intro-copy .lead {
  max-width: 48ch;
  margin: 0;
  color: inherit;
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  line-height: 1.55;
}
.dd-site .oc-intro-copy .actions { margin: 22px 0 0; }
.dd-site .black .oc-photo-intro, .dd-site .teal .oc-photo-intro,
.dd-site .black .oc-intro-copy h1, .dd-site .teal .oc-intro-copy h1 { color: #fff; }

.dd-site .oc-photo-frame {
  display: block;
  overflow: hidden;
  min-width: 0;
  width: 100%;
  margin: 0;
  border-bottom: 4px solid #007d77;
}
.dd-site .teal .oc-photo-frame { border-color: #000; }
.dd-site .oc-photo-frame .oc-job-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 1.55;
  display: block;
  object-fit: cover;
  object-position: var(--oc-focal, center);
}

.dd-site.vc-edition .vc-hero.oc-home-hero {
  isolation: isolate;
  position: relative;
  display: flex;
  align-items: flex-end;
  box-sizing: border-box;
  min-height: clamp(390px, 41vw, 620px);
  padding: clamp(65px, 8vw, 110px) 5vw clamp(34px, 4vw, 60px);
  background: #000;
}
.dd-site .oc-home-hero > .oc-main-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: var(--oc-focal, center);
  z-index: -2;
}
.dd-site .oc-home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(0,0,0,.85), rgba(0,0,0,.65) 34%, rgba(0,0,0,.08) 76%),
              linear-gradient(0deg, rgba(0,0,0,.38), transparent 55%);
  pointer-events: none;
}
.dd-site .oc-home-copy { max-width: 620px; }
.dd-site .oc-home-copy p { color: #fff; line-height: 1.55; max-width: 50ch; }
.dd-site.vc-edition .oc-home-copy .vc-btn { background: #fff; color: #000; font-weight: 700; }
.dd-site .reader .guidepic {
  width: 100%;
  height: auto;
  max-height: 440px;
  display: block;
  object-fit: cover;
}
.dd-site .reader .guidepic[src*="oc-cabinet"] { object-position: 49% 50%; }
.dd-site .reader .guidepic[src*="oc-restoration"] { object-position: 50% 50%; }
.dd-site.vc-edition .dd-hero-photo img { display: block; }
@media (max-width: 760px) {
  .dd-site .oc-photo-intro {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    width: calc(100% - 40px);
    padding: 34px 0 28px;
  }
  .dd-site .oc-photo-frame .oc-job-photo {
    aspect-ratio: 1.55;
    max-height: 345px;
  }
  .dd-site.vc-edition .vc-hero.oc-home-hero { min-height: 420px; padding: 68px 20px 34px; }
  .dd-site .oc-home-hero::before {
    background: linear-gradient(0deg, rgba(0,0,0,.9), rgba(0,0,0,.7) 44%, rgba(0,0,0,.12));
  }
  .dd-site .oc-home-copy .vc-btn + a { display: inline-flex; align-items: center; min-height: 44px; }
}

.dd-site.vc-edition {
  --oc-logo-size: clamp(155px, 19vw, 210px);
}
.dd-site.vc-edition .vc-bar .vc-brand img,
.dd-site.vc-edition .site-footer .footer-brand-row .brand img {
  width: var(--oc-logo-size);
  min-width: var(--oc-logo-size);
  max-width: none;
  height: auto;
}
.dd-site.vc-edition .site-footer .footer-brand-row .brand {
  width: calc(var(--oc-logo-size) + 94px);
  padding-inline: 24px 70px;
  box-sizing: border-box;
}
.dd-site.vc-edition .vc-bar details > summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding-inline: 10px;
  cursor: pointer;
}
@media (max-width: 640px) {
  .dd-site.vc-edition { --oc-logo-size: 128px; }
  .dd-site.vc-edition .site-footer .footer-brand-row .brand {
    width: 198px;
    padding-inline: 12px 58px;
  }
}

.dd-site main .reader {
  box-sizing: border-box;
  width: min(100% - 40px, 880px);
  margin-inline: auto;
  padding: clamp(32px, 5vw, 68px) 0;
}
.dd-site main .reader > h1 {
  max-width: 23ch;
  margin: 0;
  font-size: clamp(2rem, 3.6vw, 3.35rem);
  line-height: 1.08;
  font-style: normal;
  text-transform: none;
  letter-spacing: -.025em;
}
.dd-site main .reader > p { max-width: 72ch; line-height: 1.6; }
