.roofing {
  --action: #ff782e;
  --action-ink: #1a150f;
  --menu-bg: #171c20;
  --menu-ink: white;
  --dialog-radius: 0px;
  --line: #bfc4c3;
}
.roofing .site-nav {
  background: #181c1e;
  color: white;
}
.iron-brand {
  display: flex;
  align-items: center;
  gap: 0.58rem;
  line-height: 0.8;
}
.iron-brand svg {
  color: #ff782e;
  width: 42px;
  height: 40px;
}
.iron-brand > span {
  font:
    700 1.85rem/0.82 "Barlow Condensed",
    "Arial Narrow",
    sans-serif;
  letter-spacing: 0.025em;
}
.iron-brand small {
  font:
    600 0.62rem/1 "DM Sans",
    Arial,
    sans-serif;
  display: block;
  letter-spacing: 0.36em;
  margin-top: 0.46rem;
}
.roofing .nav-in {
  min-height: 75px;
}
.roofing .btn {
  border-radius: 0;
}
.roofing .nav-links .btn {
  min-height: 40px;
  padding: 0.72rem 1rem;
  font-size: 0.87rem;
}
.roof-hero {
  background: #26302b;
  color: white;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.roof-cover,
.roof-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}
.roof-cover {
  object-fit: cover;
  object-position: 56% 55%;
}
.roof-shade {
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(9, 14, 15, 0.83),
    rgba(10, 15, 15, 0.41) 49%,
    rgba(9, 13, 11, 0.03) 80%
  );
}
.roof-content {
  display: flex;
  position: relative;
  align-items: center;
  min-height: clamp(545px, 44.5vw, 740px);
  padding-block: 4rem 5rem;
}
.roof-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: white;
  font-size: 0.79rem;
  font-weight: 600;
}
.roof-eyebrow:before,
.ruled:before {
  content: "";
  width: 27px;
  height: 3px;
  background: #ff782e;
  display: inline-block;
  flex-shrink: 0;
}
.roof-eyebrow span {
  width: 1px;
  height: 0.8em;
  background: #c1c8c7;
}
.roofing h1,
.roofing .section-heading,
.roofing .dialog-in h2,
.photo-head h2 {
  font-family: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  text-transform: uppercase;
  font-weight: 700;
}
.roofing h1 {
  font-size: clamp(5.8rem, 9.3vw, 10rem);
  line-height: 0.86;
  letter-spacing: -0.032em;
  margin: 1.35rem 0 1.35rem;
}
.roofing h1 span {
  color: #ff782e;
}
.roof-intro {
  font-size: clamp(1rem, 1.25vw, 1.25rem);
  line-height: 1.55;
  max-width: 27rem;
  color: #f5f6f4;
}
.roof-hero .actions {
  margin-top: 1.75rem;
}
.roof-caption {
  position: absolute;
  right: 0;
  bottom: 1.6rem;
  color: white;
  padding: 0.6rem 1rem;
  border-left: 2px solid #ff782e;
  background: #0f1619cf;
  font-size: 0.95rem;
}
.roof-caption span {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.69rem;
  color: #e1e4e5;
  margin-bottom: 0.3rem;
}
.roof-services,
.area-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 7vw;
}
.ruled {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #45504f;
  margin-bottom: 1rem;
}
.roofing .section-heading {
  letter-spacing: -0.02em;
  line-height: 0.96;
}
.roofing summary {
  font-size: clamp(1.1rem, 1.9vw, 1.6rem);
  letter-spacing: -0.035em;
}
.service-list p,
.area-layout .section-lead {
  color: #4a565a;
}
.roof-gallery {
  background: #ecf0ef;
}
.gallery-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 2rem;
}
.gallery-heading > p {
  color: #4a5559;
}
.roof-projects {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.study {
  padding: 0;
  background: transparent;
  text-align: left;
}
.study img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.study > span {
  display: grid;
  gap: 0.2rem;
  padding: 1rem 0;
  border-bottom: 1px solid #a7b1b0;
}
.study strong {
  font-size: 1.35rem;
  letter-spacing: -0.04em;
}
.study small {
  font-size: 0.9rem;
  color: #4b5658;
}
.study:hover strong {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.area-layout .section-lead {
  margin-top: 1rem;
}
.area-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
  align-content: center;
}
.area-links button {
  background: white;
  text-align: left;
  border: 1px solid #bfc6c8;
  padding: 1.15rem;
  font-weight: 600;
}
.area-links button:hover {
  border-color: #202a2b;
  background: #f4f6f5;
}
.roofing .site-footer {
  background: #171c1f;
  color: #e0e6e7;
  border: 0;
}
#study-dialog {
  width: min(100% - 28px, 800px);
}
.photo-head,
.photo-nav {
  padding: 1rem 1.4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.photo-head h2 {
  font-size: 2.15rem;
  margin: 0.2rem 0 0;
}
#study-image {
  width: 100%;
  max-height: 56dvh;
  object-fit: contain;
  background: #e9eceb;
}
#study-copy {
  padding: 1rem 1.4rem 0;
  line-height: 1.55;
}
.plain {
  padding: 0.7rem 0.85rem;
  background: #eff2f3;
  border: 1px solid #c1cace;
  font-size: 0.9rem;
  font-weight: 600;
}
@media (max-width: 800px) {
  .roofing .nav-in {
    min-height: 66px;
  }
  .roofing h1 {
    font-size: clamp(4.8rem, 12.4vw, 7.5rem);
  }
  .roof-content {
    min-height: 540px;
  }
  .roofing .nav-links .btn {
    align-self: start;
  }
  .roof-caption {
    display: none;
  }
  .roof-services,
  .area-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .roof-services .section-heading br {
    display: none;
  }
  .roof-cover {
    object-position: 63% 50%;
  }
  .roof-projects {
    gap: 0.75rem;
  }
}
@media (max-width: 590px) {
  .roof-content {
    min-height: 550px;
    padding: 4rem 0;
  }
  .roof-shade {
    background: linear-gradient(90deg, #0d1416c9, #1016156b);
  }
  .roof-cover {
    object-position: 63% center;
  }
  .roof-intro {
    max-width: 21rem;
  }
  .roof-hero .actions {
    gap: 1.15rem;
  }
  .gallery-heading {
    display: block;
  }
  .gallery-heading > p {
    margin-top: 0.8rem;
  }
  .roof-projects {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .roofing .section-heading {
    font-size: 3.4rem;
  }
  .area-links button {
    padding: 0.9rem;
  }
  .roofing .iron-brand > span {
    font-size: 1.6rem;
  }
  .iron-brand svg {
    width: 36px;
  }
}
