.roof-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.roof-types-main, .roof-detail-main { max-width: 1440px; margin: 0 auto; padding: 42px clamp(18px, 4vw, 56px) 48px; }
.roof-types-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.roof-type-card { min-width: 0; scroll-margin-top: calc(var(--site-header-height) + 24px); }
.roof-type-open { display: flex; flex-direction: column; height: 100%; padding: 6px; border: 1px solid #dce1e5; border-radius: 8px; background: #fff; box-shadow: 0 3px 0 #fff, 0 4px 0 #dce1e5, 0 7px 0 #fff, 0 8px 0 #dce1e5, 0 12px 23px rgb(20 37 55 / 8%); transition: transform 180ms ease, box-shadow 180ms ease; }
.roof-type-image { aspect-ratio: 3 / 2; overflow: hidden; border-radius: 4px; background: #e8edf0; }
.roof-type-image img { width: 100%; height: 100%; object-fit: cover; }
.roof-type-copy { display: flex; flex: 1; flex-direction: column; padding: 20px 12px 12px; }
.roof-type-copy h2 { margin: 0 0 10px; color: var(--blue); font-size: clamp(24px, 2.2vw, 32px); line-height: 1.1; letter-spacing: -.02em; text-transform: uppercase; text-shadow: 0 1px 1px rgb(2 10 34 / 16%); }
.roof-type-copy p { color: var(--muted); font-size: 13px; line-height: 1.6; margin-bottom: 23px; text-shadow: none; }
.roof-type-cta, .roof-detail-cta { display: flex; justify-content: center; align-items: center; gap: 12px; min-height: 46px; padding: 12px 14px; background: var(--orange); color: #061744; border-radius: 5px; text-transform: uppercase; font-size: 12px; font-weight: 600; line-height: 1.35; text-align: center; text-shadow: none; transition: background 180ms ease, color 180ms ease; }
.roof-type-cta { margin-top: auto; }
.roof-type-cta .icon { width: 18px; height: 18px; }
.roof-type-open:is(:hover, :focus-visible) .roof-type-cta, .roof-detail-cta:is(:hover, :focus-visible) { background: var(--blue); color: #fff; }
.roof-type-open:focus-visible { outline: 3px solid var(--orange); outline-offset: 6px; }
.roof-back-nav { margin-bottom: 24px; }
.roof-back-nav a { display: inline-flex; min-height: 44px; align-items: center; gap: 10px; color: var(--blue); font-size: 12px; font-weight: 600; text-transform: uppercase; text-shadow: none; }
.roof-back-nav a:hover { color: #ad3d00; }
.roof-back-nav a > span { font-size: 23px; }
.roof-detail-intro { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: clamp(28px, 4vw, 64px); }
.roof-detail-image { overflow: hidden; border-radius: 7px; background: #e8edf0; box-shadow: 0 10px 26px rgb(20 37 55 / 12%); }
.roof-detail-image img { width: 100%; height: auto; }
.roof-detail-copy .eyebrow { color: var(--muted); margin-bottom: 16px; }
.roof-detail-copy h1 { color: var(--blue); font-size: clamp(34px, 4.2vw, 58px); line-height: 1.1; letter-spacing: -.035em; text-transform: uppercase; margin-bottom: 20px; }
.roof-detail-copy > p:not(.eyebrow) { font-size: 16px; line-height: 1.75; color: var(--muted); max-width: 520px; text-shadow: none; }
.roof-detail-cta { width: fit-content; max-width: 100%; margin-top: 26px; padding-inline: 22px; min-height: 50px; font-size: 13px; }
.roof-detail-cta > span { font-size: 22px; }
.roof-pros-cons { margin-top: 46px; scroll-margin-top: calc(var(--site-header-height) + 24px); }
.roof-pros-cons:focus { outline: none; }
.roof-pros-cons > h2 { margin-bottom: 22px; color: var(--ink); font-size: clamp(25px, 3vw, 36px); line-height: 1.2; letter-spacing: -.025em; text-transform: uppercase; text-shadow: 0 1px 2px rgb(2 10 34 / 14%); }
.roof-comparison-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.roof-comparison { padding: 27px 28px; border: 1px solid #dce1e5; border-top: 4px solid var(--blue); border-radius: 7px; background: #fff; box-shadow: 0 8px 20px rgb(20 37 55 / 5%); }
.roof-comparison-cons { border-top-color: var(--orange); }
.roof-comparison h3 { display: flex; align-items: center; gap: 10px; font-size: clamp(16px, 1.7vw, 22px); font-weight: 600; color: var(--ink); text-transform: uppercase; line-height: 1.3; text-shadow: none; }
.roof-comparison h3 > span { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 4px; background: var(--blue); color: white; font-size: 23px; font-weight: 500; }
.roof-comparison-cons h3 > span { background: var(--orange); color: #061744; }
.roof-comparison ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 20px; }
.roof-comparison li { text-shadow: none; }
.roof-comparison li strong { display: block; font-size: 14px; font-weight: 600; line-height: 1.4; margin-bottom: 5px; }
.roof-comparison li p { color: var(--muted); font-size: 13px; line-height: 1.65; text-shadow: none; }
.roof-local-note { margin-top: 23px; padding-left: 15px; border-left: 3px solid var(--orange); font-size: 13px; line-height: 1.7; color: var(--muted); text-shadow: none; }
.roof-references { margin-top: 15px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.roof-references summary, .roof-extra-gallery > summary { cursor: pointer; min-height: 44px; padding-block: 12px; font-weight: 500; text-shadow: none; }
.roof-references ul { margin: 3px 0 12px; padding-left: 19px; display: grid; gap: 6px; }
.roof-references a { text-decoration: underline; text-underline-offset: 3px; text-shadow: none; }
.roof-references a:hover { color: var(--blue); }
.roof-extra-gallery { margin-top: 20px; border-top: 1px solid #dce1e5; }
.roof-extra-gallery > summary { color: var(--blue); font-size: 14px; text-transform: uppercase; }
.metal-gallery { padding-top: 16px; }
.metal-gallery-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 20px; }
.metal-gallery-heading h3 { font-size: 24px; color: var(--blue); }
.metal-gallery-heading h3 span { color: var(--orange); }
.metal-gallery-heading p { font-size: 13px; color: var(--muted); }
.metal-gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 18px; }
.metal-gallery-photo { border-radius: 5px; overflow: hidden; }
.metal-gallery-photo img { width: 100%; height: auto; }
@media (hover: hover) and (pointer: fine) {
  .roof-type-open:hover { transform: translateY(-3px); }
}
@media (max-width: 1000px) {
  .roof-types-main { max-width: 860px; }
  .roof-types-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 22px; }
  .roof-type-copy { padding-top: 16px; }
  .roof-detail-intro { gap: 28px; }
  .roof-detail-copy h1 { font-size: 38px; }
  .roof-detail-copy > p:not(.eyebrow) { font-size: 14px; }
}
@media (max-width: 680px) {
  .roof-types-main { padding: 25px 14px 36px; }
  .roof-types-grid { gap: 24px 12px; }
  .roof-type-open { padding: 4px; border-radius: 6px; }
  .roof-type-copy { padding: 13px 7px 7px; }
  .roof-type-copy h2 { font-size: clamp(22px, 5.5vw, 28px); margin-bottom: 8px; }
  .roof-type-copy p { font-size: 11px; line-height: 1.55; margin-bottom: 14px; }
  .roof-type-cta { font-size: 10px; gap: 6px; padding: 11px 4px; }
  .roof-type-cta .icon { width: 15px; height: 15px; }
  .roof-detail-main { padding: 17px 18px 32px; }
  .roof-back-nav { margin-bottom: 16px; }
  .roof-back-nav a { font-size: 11px; }
  .roof-detail-intro { grid-template-columns: 1fr; gap: 26px; }
  .roof-detail-copy .eyebrow { margin-bottom: 10px; }
  .roof-detail-copy h1 { font-size: clamp(30px, 8.3vw, 44px); margin-bottom: 15px; }
  .roof-detail-copy > p:not(.eyebrow) { font-size: 14px; line-height: 1.7; }
  .roof-detail-cta { width: 100%; font-size: 12px; padding-inline: 12px; margin-top: 20px; }
  .roof-pros-cons { margin-top: 34px; }
  .roof-pros-cons > h2 { font-size: clamp(23px, 6vw, 30px); margin-bottom: 18px; }
  .roof-comparison-grid { grid-template-columns: 1fr; gap: 18px; }
  .roof-comparison { padding: 23px 21px; }
  .roof-comparison h3 { font-size: 17px; }
  .roof-comparison ul { margin-top: 20px; gap: 18px; }
  .roof-local-note { font-size: 12px; }
  .metal-gallery-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .roof-type-open, .roof-type-cta, .roof-detail-cta { transition: none; }
  .roof-type-open:hover { transform: none; }
}
