/* Blue Ridge project field guide. Scoped additions preserve the existing site. */
.br-gallery-tools{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:25px 0;border-block:1px solid var(--line)}
.br-gallery-applications{display:flex;flex-wrap:wrap;gap:8px}
.br-gallery-applications button{min-height:44px;padding:10px 16px;border:1px solid #c7d7dc;border-radius:3px;background:#fff;color:var(--navy);font-size:.9375rem;font-weight:500}
.br-gallery-applications button:hover{background:#e8f0f1}
.br-gallery-applications button[aria-pressed=true]{background:var(--navy);border-color:var(--navy);color:#fff}
.br-gallery-color-label{display:block;min-width:210px;max-width:260px;font-size:.875rem;font-weight:600}
.br-gallery-color-label span{display:block;margin-bottom:8px}
.br-gallery-color-label select{width:100%;min-height:47px;padding:10px 38px 10px 13px;border:1px solid #bacdd4;background-color:#fff;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23376774' stroke-width='1.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 15px center;border-radius:3px;appearance:none;color:var(--navy)}
.br-gallery-introline{display:flex;justify-content:space-between;gap:30px;padding:20px 0 30px;font-size:.875rem;color:var(--muted);line-height:1.65}
.br-gallery-introline>p+p{margin:0;max-width:620px;text-align:right}
#br-gallery-count{font-weight:600;color:var(--navy);flex-shrink:0}
.br-project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:42px 25px}
.br-project-card{min-width:0}
.br-project-image-button{display:block;position:relative;padding:0;width:100%;overflow:hidden;background:#dce6e9;border-radius:5px;color:#fff;text-align:left}
.br-photo-frame{display:block;position:relative;aspect-ratio:1.25;overflow:hidden;background:#dce6e9}
.br-photo-frame>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .45s ease}
.br-project-image-button:hover .br-photo-frame:not(.is-lakeside)>img{transform:scale(1.025)}
.br-photo-frame.is-lakeside{aspect-ratio:942 / 800}
.br-photo-frame.is-lakeside>img{width:122.29299%;height:192%;max-width:none;left:-22.29299%;top:-35%;object-fit:fill}
.br-photo-open{position:absolute;bottom:16px;right:16px;padding:6px 11px;background:#092332d9;border:1px solid #ffffff65;border-radius:3px;color:#fff;font-size:.875rem;line-height:1.5}
.br-project-caption{padding:19px 1px 0}
.br-project-kind{font-size:.8125rem;font-weight:600;text-transform:uppercase;letter-spacing:.085em;color:#476f7c;margin:0 0 9px}
.br-project-caption h3{font-family:var(--display);font-weight:400;font-size:1.6rem;letter-spacing:-.025em;line-height:1.23}
.br-project-caption h3 button{font:inherit;text-align:left;padding:0;background:none;color:var(--navy)}
.br-project-caption h3 button:hover{text-decoration:underline;text-underline-offset:5px;text-decoration-thickness:1px}
.br-project-colors{font-size:1rem;line-height:1.65;margin-top:11px;color:var(--navy)}
.br-project-credit{font-size:.8125rem;line-height:1.65;color:var(--muted);margin-top:9px}
.br-gallery-next{margin-top:64px;display:flex;align-items:center;justify-content:space-between;gap:50px;padding:42px 44px;background:var(--navy) url('assets/ridge-landscape.svg') center bottom/cover no-repeat;color:#fff;border-radius:5px}
.br-gallery-next>div{max-width:680px}
.br-gallery-next .eyebrow{color:#c0dade;margin-bottom:14px}
.br-gallery-next h2{font-size:clamp(2.1rem,3.5vw,3.2rem);color:#fff;margin-bottom:17px}
.br-gallery-next p:not(.eyebrow){font-size:1rem;line-height:1.8;color:#dcebee}
.br-gallery-next .button{flex-shrink:0}
.br-gallery-empty{grid-column:1/-1;padding:42px;border:1px solid var(--line);background:#f4f8f9;border-radius:5px}
.br-gallery-empty h3{font-size:1.3rem;margin-bottom:15px}
.br-gallery-empty .button{margin-top:20px}
.br-home-project-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:40px 25px}
.br-home-project-grid>.br-project-card{grid-column:span 2}
.br-home-project-grid>.br-project-card:nth-child(n+4){grid-column:span 3}
.br-home-project-grid>.br-project-card:nth-child(n+4) .br-photo-frame{aspect-ratio:1.75}
.br-gallery-preview-footer{display:flex;justify-content:space-between;gap:24px;align-items:center;border-top:1px solid var(--line);padding-top:26px;margin-top:34px}
.br-gallery-preview-footer p{font-size:.9375rem;color:var(--muted)}
.br-installed-intro,.br-pairing-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:65px;margin-bottom:34px}
.br-installed-intro h2,.br-pairing-heading h2{font-size:clamp(2.3rem,4.2vw,3.8rem)}
.br-installed-intro p:not(.eyebrow){max-width:570px;font-size:1rem;color:var(--muted);line-height:1.8;margin-top:20px}
.br-installed-intro .text-link{flex-shrink:0}
.br-installed-project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px}
.br-pairing-heading>div{min-width:0;flex:1}
.br-pairing-heading>p{flex:1;max-width:530px;font-size:1rem;line-height:1.8;color:var(--muted)}
.br-pairings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:30px}
.br-pairing-card{border:1px solid #d6e1e5;border-radius:5px;overflow:hidden;background:#fff;min-width:0}
.br-pairing-preview{position:relative;aspect-ratio:1.85;overflow:hidden;background:#e1e9ec}
.br-pairing-preview img{position:absolute;object-fit:cover;width:100%;height:100%;inset:0}
.br-pairing-preview .br-pairing-field{inset:28px;width:calc(100% - 56px);height:calc(100% - 56px);box-shadow:0 0 0 2px #c4c9c8b0}
.br-pairing-preview-label{position:absolute;right:12px;bottom:10px;padding:4px 8px;background:#092332df;color:#fff;font-size:.8125rem;line-height:1.5;border-radius:3px}
.br-pairing-copy{padding:26px 27px 28px}
.br-pairing-copy h3{font-family:var(--display);font-weight:400;font-size:1.75rem;line-height:1.2;color:var(--navy)}
.br-pairing-copy>p{margin-top:11px;font-size:1rem;color:var(--muted);line-height:1.7}
.br-pairing-key{display:grid;grid-template-columns:1fr 1fr;gap:22px;border-block:1px solid var(--line);padding-block:17px;margin:23px 0 20px}
.br-pairing-key dt{font-size:.8125rem;color:var(--muted);margin-bottom:5px}
.br-pairing-key dd{margin:0}
.br-pairing-key button{padding:0;background:none;text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px;color:var(--navy);font-size:1rem;font-weight:600;text-align:left}
.br-pairing-note{margin-top:24px;max-width:1000px}
.br-project-dialog{width:min(1140px,calc(100% - 40px));max-height:calc(100svh - 48px);padding:0;border:0;border-radius:7px;background:#fff;color:var(--ink);box-shadow:0 22px 100px #001a3170;overflow:auto}
.br-project-dialog::backdrop{background:#092332b8;backdrop-filter:blur(4px)}
.br-project-dialog-content{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(320px,1fr);align-items:start}
.br-project-dialog-photo{aspect-ratio:auto;min-height:620px;height:100%}
.br-project-dialog-photo>img{object-fit:cover}
.br-project-dialog-photo.is-lakeside{height:auto;min-height:0;aspect-ratio:942 / 800;align-self:center}
.br-project-dialog-copy{padding:55px 35px 35px}
.br-project-dialog-copy h2{font-size:clamp(2rem,3.2vw,3rem);margin-bottom:22px}
.br-project-dialog-copy>p:not(.eyebrow):not(.br-project-credit){line-height:1.8;color:var(--muted)}
.br-project-dialog-close{position:absolute;z-index:2;right:14px;top:12px;padding:8px 14px;background:#fff;border:1px solid #becfd5;border-radius:4px;min-height:40px;color:var(--navy);font-size:.875rem}
.br-project-dialog-close:hover{background:#e7eff2}
.br-project-dialog .button-row{margin-top:28px}
.br-project-dialog .button{font-size:.875rem;padding:12px 17px}
.br-project-recipe-links{border-block:1px solid var(--line);padding-block:22px;margin-top:25px}
.br-section-label{font-size:.875rem;font-weight:600;color:var(--navy);margin-bottom:12px}
.br-installed-color{display:flex;align-items:center;gap:13px;width:100%;padding:9px 0;background:none;text-align:left;color:var(--navy);font-size:1rem;font-weight:600}
.br-installed-color img{width:49px;height:49px;object-fit:cover;border-radius:3px;border:1px solid var(--line)}
.br-installed-color small{display:block;font-weight:400;font-size:.8125rem;color:var(--muted);margin-top:3px}
.br-installed-color:hover>span{text-decoration:underline;text-underline-offset:3px}
.br-photo-source{margin-top:25px;padding-top:18px;border-top:1px solid var(--line);font-size:.875rem;color:var(--muted)}
.br-photo-source summary{cursor:pointer;font-weight:500;color:var(--navy)}
.br-photo-source p{margin-top:12px;line-height:1.7}
.br-photo-source a{text-decoration:underline;text-underline-offset:3px}
.br-color-installed{margin-top:24px;padding-top:21px;border-top:1px solid var(--line)}
.br-color-installed>a{display:flex;align-items:center;gap:15px;padding:10px;border:1px solid #ccdde2;border-radius:4px;background:#f4f8f9;color:var(--navy);font-size:.9375rem;font-weight:600}
.br-color-installed .br-photo-frame{width:90px;flex:0 0 90px;aspect-ratio:1.2;border-radius:3px}
.br-color-installed>a small{display:block;font-size:.8125rem;font-weight:400;color:var(--muted);margin-top:5px;line-height:1.5}
.br-color-installed>a:hover{background:#e7f0f2}
@media(max-width:1080px){.br-gallery-tools{align-items:stretch;flex-direction:column;gap:20px}.br-gallery-color-label{max-width:320px}.br-project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.br-gallery-next{gap:30px;padding:35px}.br-gallery-next .button{flex-shrink:1}.br-project-dialog-content{grid-template-columns:1fr 1fr}.br-project-dialog-copy{padding:55px 27px 30px}.br-project-dialog-photo{min-height:650px}.br-installed-intro,.br-pairing-heading{gap:30px}}
@media(max-width:760px){.br-gallery-tools{padding-block:20px}.br-gallery-applications{gap:7px}.br-gallery-applications button{padding:9px 12px;font-size:.875rem}.br-gallery-color-label{max-width:none}.br-gallery-introline{display:block;padding-bottom:25px}.br-gallery-introline>p+p{text-align:left;margin-top:10px}.br-project-grid{gap:30px 18px}.br-project-caption h3{font-size:1.4rem}.br-project-caption{padding-top:15px}.br-photo-open{bottom:10px;right:10px;font-size:.8125rem}.br-gallery-next{display:block;margin-top:42px;padding:30px 25px}.br-gallery-next .button{margin-top:25px}.br-home-project-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:30px 18px}.br-home-project-grid>.br-project-card,.br-home-project-grid>.br-project-card:nth-child(n+4){grid-column:span 1}.br-home-project-grid>.br-project-card:nth-child(n+4) .br-photo-frame{aspect-ratio:1.25}.br-home-project-grid>.br-project-card:last-child{grid-column:1/-1}.br-home-project-grid>.br-project-card:last-child .br-photo-frame{aspect-ratio:1.8}.br-gallery-preview-footer{display:block}.br-gallery-preview-footer .text-link{display:inline-block;margin-top:16px}.br-installed-intro,.br-pairing-heading{display:block}.br-installed-intro>.text-link{display:inline-block;margin-top:22px}.br-pairing-heading>p{margin-top:25px}.br-installed-project-grid{grid-template-columns:1fr;gap:30px}.br-installed-project-grid .br-photo-frame{aspect-ratio:1.7}.br-pairings-grid{grid-template-columns:1fr;gap:25px}.br-pairing-copy{padding:24px}.br-project-dialog{width:calc(100% - 24px);max-height:calc(100svh - 24px)}.br-project-dialog-content{display:block}.br-project-dialog-photo{height:320px;min-height:0;aspect-ratio:auto}.br-project-dialog-photo.is-lakeside{height:auto;aspect-ratio:942 / 800}.br-project-dialog-copy{padding:29px 25px}.br-project-dialog-close{position:sticky;float:right;margin-bottom:-55px;top:10px;right:auto;margin-right:12px;margin-top:10px}.br-project-dialog-copy h2{font-size:2rem}}
@media(max-width:480px){.br-project-grid,.br-home-project-grid{grid-template-columns:1fr}.br-home-project-grid>.br-project-card:last-child{grid-column:auto}.br-home-project-grid>.br-project-card:last-child .br-photo-frame{aspect-ratio:1.25}.br-project-caption h3{font-size:1.65rem}.br-gallery-introline{font-size:.875rem}.br-pairing-key{gap:17px}.br-pairing-preview .br-pairing-field{inset:22px;width:calc(100% - 44px);height:calc(100% - 44px)}.br-project-dialog-copy{padding-inline:20px}.br-color-installed .br-photo-frame{width:75px;flex-basis:75px}}
@media(prefers-reduced-motion:reduce){.br-photo-frame>img{transition:none}}
