/* Authentic manufacturer examples, paired for comparing roof and swatch. */
.roof-color-gallery .system-heading {max-width:58rem}
.roof-color-gallery .roof-color-eyebrow {margin:0 0 .65rem;font-size:.875rem;font-weight:700;line-height:1.45;letter-spacing:.075em;text-transform:uppercase;color:#79572f}
.roof-color-gallery .roof-color-intro-note {font-size:.96rem;color:#625b4f}
.roof-color-nav {display:flex;gap:.55rem;flex-wrap:wrap;margin:0 0 2.7rem;padding:0}
.roof-color-nav a {display:inline-flex;align-items:center;min-height:44px;padding:.65rem .95rem;border:1px solid #c7bba6;border-radius:4px;background:#eee8dc;color:#423626;font-size:.91rem;font-weight:650;line-height:1.35;text-decoration:none}
.roof-color-nav a:hover {border-color:#92734d;background:#e4d9c7}
.roof-color-collection {margin-top:2.8rem;scroll-margin-top:2rem}
.roof-color-collection-heading {display:flex;align-items:end;justify-content:space-between;gap:1rem 1.5rem;margin:0 0 1.3rem;padding-top:1.4rem;border-top:1px solid #bfb29b}
.roof-color-collection-heading .roof-color-eyebrow {margin-bottom:.35rem}
.roof-color-collection-heading h3 {margin:0;max-width:34ch;font-size:clamp(1.45rem,2.4vw,2.1rem);line-height:1.15;letter-spacing:-.035em}
.roof-color-count {flex:none;color:#6c5a41;font-size:.86rem;font-weight:600;white-space:nowrap}
.roof-color-gallery .roof-color-collection-intro,.roof-color-gallery .roof-color-regional-note {max-width:72ch;margin:-.2rem 0 1.25rem;color:#625b4f;font-size:.96rem;line-height:1.65}
.roof-color-gallery .roof-color-regional-note {padding:.9rem 1.1rem;border-left:3px solid #9c7947;background:#e9dfcd}
.roof-color-pairs {list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.4rem;margin:0;padding:0}
.roof-color-card {min-width:0;overflow:hidden;border:1px solid #d2c8b8;border-radius:5px;background:#faf7ef}
.roof-color-card-heading {display:flex;align-items:baseline;justify-content:space-between;gap:.6rem 1rem;padding:1rem 1.1rem .9rem}
.roof-color-card-heading h4 {margin:0;color:#29251f;font-size:clamp(1.12rem,1.5vw,1.35rem);font-weight:700;line-height:1.25;letter-spacing:-.025em}
.roof-color-card-heading>span {flex:none;color:#73644f;font-size:.8125rem;line-height:1.5}
.roof-color-pair {position:relative;display:block;background:#eae7df;cursor:zoom-in;text-decoration:none}
.roof-color-pair>span {display:block;min-width:0;overflow:hidden}
.roof-color-pair img.roof-color-complete-pair {position:static;display:block;width:100%;height:auto;max-width:100%;object-fit:contain;transform:none}
.roof-color-pair .roof-color-enlarge {position:absolute;right:.55rem;bottom:.55rem;display:flex;align-items:center;gap:.5rem;padding:.28rem .5rem;border:1px solid #fff6;border-radius:3px;background:#211e18e6;color:#fffaf0;font-size:.875rem;font-weight:650;line-height:1.4;overflow:visible;box-shadow:0 1px 5px #0003}
.roof-color-enlarge>span {font-size:.9rem;line-height:1}
.roof-color-pair:hover .roof-color-enlarge {background:#74502c}
.roof-color-pair-labels {display:flex;justify-content:space-between;gap:3px;background:#ede5d6;color:#625440;font-size:.8125rem;font-weight:650;line-height:1.4}
.roof-color-pair-labels span {padding:.4rem .75rem}
.roof-color-card-source {margin:0;padding:.65rem 1.1rem .75rem;color:#776b5c;font-size:.8125rem;line-height:1.5}
.roof-color-source-note {margin-top:2.5rem;padding:clamp(1.25rem,3vw,2rem);border-left:3px solid #987447;background:#e8dfcf}
.roof-color-source-note h3 {margin:0;font-size:1.45rem}
.roof-color-source-note p {max-width:72ch;margin:.65rem 0 0;font-size:1rem;line-height:1.65;color:#51483a}
.roof-color-source-note .material-links {gap:.65rem 1.5rem;margin-top:1rem}
.roof-metal-colors {list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1.1rem;margin:0;padding:0}
.roof-metal-color {min-width:0;border:1px solid #cfc5b4;border-radius:4px;overflow:hidden;background:#faf7ef}
.roof-metal-color figure {margin:0}
.roof-metal-color .roof-metal-swatch {display:block;width:100%;height:auto;aspect-ratio:1.8;object-fit:cover;object-position:center}
.roof-metal-color figcaption {display:flex;flex-direction:column;gap:.25rem;padding:.75rem .9rem .9rem;color:#2c2923}
.roof-metal-color strong {display:block;font-size:1rem;font-weight:680;line-height:1.3}
.roof-metal-color figcaption span {font-size:.875rem;line-height:1.45;color:#746551}
.roof-color-chart {margin-top:2.3rem;border:1px solid #bfb29b;border-radius:5px;background:#eee8dc}
.roof-color-chart summary {padding:1rem 1.1rem;color:#4a3a26;font-size:1rem;font-weight:650;line-height:1.5;cursor:pointer}
.roof-color-chart>div {padding:0 clamp(.75rem,2vw,1.5rem) 1.5rem}
.roof-color-chart img {width:100%;max-width:700px;height:auto;margin:0 auto;border:1px solid #d4cbbd}
.roof-color-gallery a:focus-visible,.roof-color-gallery summary:focus-visible {outline:3px solid #176385;outline-offset:4px}
.roof-color-pair:focus-visible {outline-offset:-4px}
@media(min-width:1500px) {
  .roof-color-pairs {gap:1.7rem}
}
@media(max-width:900px) {
  .roof-color-card-heading {align-items:start;flex-direction:column;gap:.2rem}
  .roof-color-count {font-size:.8rem}
}
@media(max-width:680px) {
  .roof-color-pairs {grid-template-columns:1fr;gap:1.15rem}
  .roof-color-card-heading {align-items:baseline;flex-direction:row;padding:.9rem 1rem .8rem}
  .roof-color-card-heading h4 {font-size:1.2rem}
  .roof-color-collection {margin-top:2.1rem}
  .roof-color-collection-heading {align-items:start;gap:.6rem}
  .roof-color-collection-heading h3 {font-size:1.5rem}
  .roof-color-count {padding-top:.25rem}
  .roof-metal-colors {grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem}
  .roof-metal-color strong {font-size:.95rem}
  .roof-metal-color figcaption {padding:.65rem .7rem .8rem}
  .roof-color-nav {gap:.45rem;margin-bottom:2rem}
  .roof-color-nav a {font-size:.84rem;padding:.55rem .7rem}
}
@media(max-width:360px) {
  .roof-color-card-heading {align-items:start;flex-direction:column;gap:.2rem}
  .roof-color-pair-labels {font-size:.68rem}
  .roof-color-pair-labels span {padding-inline:.5rem}
}
