/* About / Services layout with the vivid blue sampled from the supplied Iggy reference. */
.roof-types-directory-page {
  --directory-blue: #082bea;
  --directory-orange: #ff751b;
  background: var(--directory-blue);
}
.roof-types-directory-page .site-header {
  background: linear-gradient(110deg, #0849f5, #1116d9);
  border-bottom: 1px solid rgb(255 255 255 / 20%);
  box-shadow: 0 3px 15px rgb(2 12 40 / 14%);
}
.roof-types-directory-page .desktop-nav .nav-dropdown.is-current > .nav-dropdown-link::after {
  background: var(--directory-orange);
}

.roof-types-stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(180deg, #082bea, #101bde);
}
.roof-types-stage::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 16px clamp(12px, 1.5vw, 24px) 24px;
  border: 1px solid rgb(255 255 255 / 62%);
  border-radius: 18px;
  background:
    radial-gradient(ellipse at 52% 18%, rgb(0 87 252 / 84%), rgb(1 37 253 / 89%) 58%, rgb(1 5 216 / 96%) 100%),
    url("assets/home-roof-video-clear-poster.jpg") center top / cover no-repeat;
  box-shadow: 0 18px 45px rgb(0 8 32 / 22%), inset 0 0 0 1px rgb(255 255 255 / 8%);
  pointer-events: none;
}
.roof-types-stage::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -115px;
  right: -100px;
  width: 370px;
  height: 370px;
  border: 1px solid rgb(255 255 255 / 24%);
  transform: rotate(45deg);
  pointer-events: none;
}
.roof-types-directory-page .roof-types-main { padding-top: 60px; padding-bottom: 64px; }
.roof-types-directory-page .rc-directory-entry { align-items: flex-end; gap: 24px; margin-bottom: 34px; }
.roof-types-directory-page .rc-directory-entry h1 {
  color: #fff;
  font-family: Belman, Arial, sans-serif;
  font-weight: 900;
  font-size: clamp(44px, 6.4vw, 92px);
  line-height: 1.06;
  letter-spacing: -.045em;
  text-transform: uppercase;
  text-shadow: 0 3px 10px rgb(0 8 32 / 34%);
}
.roof-types-directory-page .rc-directory-entry h1::before {
  content: "";
  display: block;
  width: 27px;
  height: 7px;
  margin: 0 0 20px 2px;
  background: var(--directory-orange);
  transform: skewX(-28deg);
}
.roof-types-directory-page .rc-directory-launch { flex: none; margin-bottom: 5px; }
.roof-types-directory-page .rc-directory-launch:focus-visible { outline-color: #fff; }

/* Preserve the photo panels, card layout, copy and existing type sizes. */
.roof-types-directory-page .roof-type-open {
  border-color: rgb(204 222 255 / 48%);
  background: linear-gradient(160deg, #0c55f2, #1029dc);
  box-shadow: 0 10px 24px rgb(0 8 32 / 24%), inset 0 1px 0 rgb(255 255 255 / 7%);
}
.roof-types-directory-page .roof-type-copy h2 { color: #fff; text-shadow: 0 2px 5px rgb(0 8 32 / 30%); }
.roof-types-directory-page .roof-type-copy p { color: #e4edff; }
.roof-types-directory-page .roof-type-cta { color: #fff; text-shadow: 0 1px 2px rgb(40 15 0 / 30%); }
.roof-types-directory-page .roof-type-cta .icon { display: none; }
.roof-types-directory-page .roof-type-open:is(:hover, :focus-visible) {
  border-color: var(--directory-orange);
  box-shadow: 0 13px 30px rgb(0 8 32 / 35%);
}

.roof-types-directory-page .site-footer.site-footer-v2 {
  --footer-surface: #101bde;
  --footer-ink: #fff;
  --footer-muted: #dce7f8;
  --footer-line: rgb(177 203 241 / 27%);
  --footer-company: linear-gradient(110deg, #0849f5, #082bea);
  --footer-utility: #1116d9;
  --footer-shadow: 0 1px 2px rgb(0 8 32 / 26%);
  --footer-wordmark: url(#brand-white);
  --footer-mascot: url(#footer-iggy-white);
  --footer-focus: #fff;
  --cta-start: #f26700;
  --cta-end: #e75900;
  --cta-rim: #ffad5e;
  --cta-edge: #aa3d00;
  --cta-hover-start: #245bff;
  --cta-hover-end: #082bea;
  --cta-hover-rim: #89d7ff;
  --cta-hover-edge: #041b95;
  --cta-glow: rgb(47 154 255 / 42%);
  padding-top: 8px;
  background: var(--footer-surface);
}

@media (max-width: 1100px) {
  .roof-types-directory-page .rc-directory-entry { align-items: flex-start; flex-direction: column; }
  .roof-types-directory-page .rc-directory-launch { margin-bottom: 0; }
}
@media (max-width: 680px) {
  .roof-types-stage::before { inset: 10px 6px 16px; border-radius: 14px; }
  .roof-types-stage::after { right: -230px; }
  .roof-types-directory-page .roof-types-main { padding-top: 38px; padding-bottom: 40px; }
  .roof-types-directory-page .rc-directory-entry { gap: 22px; margin-bottom: 26px; }
  .roof-types-directory-page .rc-directory-entry h1 { font-size: clamp(42px, 10vw, 62px); }
  .roof-types-directory-page .rc-directory-launch { max-width: 100%; }
}
@media (forced-colors: active) {
  .roof-types-directory-page, .roof-types-stage { background: Canvas; }
  .roof-types-stage::before { background: Canvas; border-color: CanvasText; }
  .roof-types-stage::after { display: none; }
  .roof-types-directory-page .rc-directory-entry h1 { color: CanvasText; text-shadow: none; }
  .roof-types-directory-page .roof-type-open { background: Canvas; border-color: LinkText; }
  .roof-types-directory-page .roof-type-copy :is(h2, p) { color: CanvasText; text-shadow: none; }
  .roof-types-directory-page .roof-type-cta { background: ButtonFace; color: ButtonText; border: 1px solid ButtonText; text-shadow: none; }
}
