/* Photo pages extend the approved roof-timing landing-page shell. */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/assets/fonts/fraunces-latin.woff2") format("woff2"); }
.sc-project-page { --display: "Fraunces", Georgia, "Times New Roman", serif; --navy: #082c4f; --blue: #0f6da8; --yellow: #f4b21b; --ink: #162330; --muted: #596b7a; --line: #d9e3ea; --soft: #f4f8fb; --white: #fff; --max: 1160px; margin: 0; color: var(--ink); background: var(--white); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.55; }
.sc-project-page * { box-sizing: border-box; }
.sc-project-page a { color: inherit; text-underline-offset: 4px; }
.sc-project-page img { display: block; max-width: 100%; height: auto; }
.sc-project-page h1, .sc-project-page h2, .sc-project-page h3, .sc-project-page p { margin-top: 0; }
.sc-project-page h1, .sc-project-page h2 { font-family: var(--display); font-weight: 600; color: var(--navy); }
.sc-project-page h1 { max-width: 940px; margin-bottom: 24px; font-size: clamp(2.3rem, 4.5vw, 3.85rem); line-height: 1.06; overflow-wrap: break-word; }
.sc-project-page h2 { margin-bottom: 16px; font-size: clamp(1.85rem, 3vw, 2.65rem); line-height: 1.1; }
.sc-project-page h3 { margin-bottom: 10px; color: var(--navy); font-size: 1.18rem; line-height: 1.3; }
.sc-project-page a:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.sc-project-page .skip-link { position: fixed; top: 12px; left: 16px; z-index: 100; transform: translateY(-160%); padding: 10px 14px; border-radius: 8px; background: var(--navy); color: var(--white); font-weight: 800; }
.sc-project-page .skip-link:focus { transform: translateY(0); }
.sc-project-page .site-header { position: fixed; inset: 0 0 auto; z-index: 20; border-bottom: 1px solid rgba(15,109,168,.16); background: rgba(255,255,255,.96); backdrop-filter: blur(14px); box-shadow: 0 8px 24px rgba(5,35,61,.08); }
.sc-project-page .nav { width: calc(100% - 32px); max-width: 1380px; min-height: 86px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.sc-project-page .brand { flex-shrink: 0; }
.sc-project-page .brand img { width: 194px; }
.sc-project-page .nav-links { display: flex; gap: clamp(16px,2vw,30px); font-size: .94rem; font-weight: 800; color: var(--navy); }
.sc-project-page .nav-links a { text-decoration: none; }
.sc-project-page .nav-actions { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.sc-project-page .phone { display: inline-flex; align-items: center; min-height: 44px; color: var(--blue); font-weight: 800; text-decoration: none; }
.sc-project-page .phone-label { display: none; }
.sc-project-page .button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 20px; border: 1px solid transparent; border-radius: 8px; background: var(--yellow); color: #082238; font-weight: 800; text-align: center; text-decoration: none; }
.sc-project-page .button:hover { background: #ffc928; }
.sc-project-page .site-header .button { min-height: 44px; padding: 12px 18px; border-color: rgba(15,109,168,.55); color: var(--navy); background: transparent; }
.sc-project-page .site-header .button:hover { background: #edf7fb; }
.sc-project-page main { padding-top: 86px; }
.sc-project-page .wrap, .sc-project-page .footer-inner { width: calc(100% - 32px); max-width: var(--max); margin: auto; }
.sc-project-page .section { padding: 64px 0; }
.sc-project-page .soft { background: var(--soft); }
.sc-project-page .intro { padding: 54px 0 48px; border-bottom: 1px solid var(--line); background: var(--soft); }
.sc-project-page .eyebrow { margin: 0 0 16px; color: var(--blue); font-size: .8rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.sc-project-page .lead { max-width: 760px; margin-bottom: 24px; color: #284154; font-size: clamp(1.08rem,1.5vw,1.2rem); line-height: 1.6; }
.sc-project-page .sc-project-note { max-width: 760px; color: var(--muted); font-size: .94rem; overflow-wrap: anywhere; }
.sc-project-page .sc-project-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; color: var(--muted); font-size: .9rem; }
.sc-project-page .sc-project-breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; }
.sc-project-gallery { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; margin-top: 28px; }
.sc-project-gallery figure { margin: 0; min-width: 0; }
.sc-project-media { display: grid; place-items: center; aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--soft); }
.sc-project-gallery .sc-project-photo { width: 100%; height: 100%; object-fit: contain; }
.sc-project-gallery figcaption { margin-top: 12px; color: var(--muted); font-size: .94rem; }
.sc-project-gallery figcaption strong { color: var(--navy); }
.sc-project-copy { max-width: 760px; }
.sc-project-source { padding: 24px 0; border-top: 1px solid var(--line); }
.sc-project-source p:last-child { margin-bottom: 0; }
.sc-project-page .text-link { color: var(--blue); font-weight: 800; }
.sc-project-page .cta-band { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 36px; border-radius: 8px; background: var(--navy); color: var(--white); }
.sc-project-page .cta-band h2 { color: var(--white); }
.sc-project-page .cta-band p { margin-bottom: 0; color: #dbeef5; }
.sc-project-page .cta-actions { flex-shrink: 0; }
.sc-project-page .sc-project-related { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 28px; }
.sc-project-page .sc-project-related a { display: inline-flex; align-items: center; min-height: 44px; }
.sc-project-page .footer { padding: 32px 0; border-top: 1px solid var(--line); background: #f8fbfd; color: var(--muted); font-size: .92rem; }
.sc-project-page .footer-inner { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.sc-project-page .footer a { display: inline-flex; align-items: center; min-height: 44px; }
/* Homepage post links are separate from the unidentified installation gallery. */
.install-section #project-posts { grid-column: 1 / -1; order: 4; margin-top: 40px; min-width: 0; }
.install-section .install-steps { order: 5; }
.sc-posts-heading { max-width: 760px; }
.sc-posts-heading h3 { font-size: clamp(1.35rem,2vw,1.65rem); }
.sc-posts-heading p { color: #596b7a; }
.sc-post-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin-top: 24px; }
.sc-post-card { display: flex; flex-direction: column; align-items: flex-start; padding: 24px; min-width: 0; border: 1px solid #d9e3ea; border-radius: 8px; background: #fff; }
.sc-post-card .sc-post-media { display: grid; place-items: center; width: 100%; aspect-ratio: 4 / 3; margin: 0 0 18px; overflow: hidden; border-radius: 6px; background: #f4f8fb; }
.sc-post-card .sc-post-media picture { display: block; width: 100%; height: 100%; }
.sc-post-card .sc-post-photo { display: block; width: 100%; height: 100%; object-fit: cover; }
.sc-post-card h4 { margin: 0 0 12px; color: #082c4f; font-size: 1.08rem; line-height: 1.35; }
.sc-post-card p { margin: 0 0 14px; color: #596b7a; font-size: .94rem; line-height: 1.55; overflow-wrap: anywhere; }
.sc-post-card .sc-post-date { font-size: .84rem; }
.sc-post-card .sc-post-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: auto; color: #0f6da8; font-weight: 800; font-size: .94rem; }
.sc-post-card .sc-post-link:focus-visible { outline: 3px solid #0f6da8; outline-offset: 4px; }
@media (max-width: 1100px) { .sc-project-page .nav-links { display: none; } }
@media (max-width: 900px) { .sc-project-gallery { gap: 16px; } .sc-project-slot { padding: 16px; } }
@media (max-width: 800px) { .sc-project-page .cta-band { align-items: flex-start; flex-direction: column; } }
@media (max-width: 680px) {
  .sc-project-page .nav { min-height: 63px; gap: 12px; }
  .sc-project-page .brand img { width: 166px; }
  .sc-project-page .nav-actions { gap: 0; }
  .sc-project-page .nav-actions .button, .sc-project-page .phone-number { display: none; }
  .sc-project-page .phone-label { display: inline; }
  .sc-project-page .phone { padding: 0 10px; font-size: .88rem; }
  .sc-project-page main { padding-top: 63px; }
  .sc-project-page .intro { padding: 28px 0 36px; }
  .sc-project-page h1 { font-size: clamp(2rem,8.6vw,2.65rem); line-height: 1.08; margin-bottom: 20px; }
  .sc-project-page .eyebrow { font-size: .74rem; margin-bottom: 14px; }
  .sc-project-page .lead { font-size: 1.03rem; }
  .sc-project-page .intro .button, .sc-project-page .cta-actions, .sc-project-page .cta-actions .button { width: 100%; }
  .sc-project-page .section { padding: 48px 0; }
  .sc-project-page .cta-band { padding: 28px 22px; gap: 24px; }
  .sc-project-gallery, .sc-project-details, .sc-project-hub, .sc-post-grid { grid-template-columns: 1fr; }
  .sc-project-gallery { gap: 28px; }
  .sc-project-slot { padding: 24px; }
  .install-section #project-posts { grid-column: 1; order: 4; margin-top: 32px; }
  .install-section .install-steps { order: 5; }
}
@media (prefers-reduced-motion: reduce) { .sc-project-page { scroll-behavior: auto; } }
.sc-project-gallery--single { grid-template-columns: minmax(0, 1fr); max-width: 960px; }
.sc-project-gallery--bethel { max-width: 765px; }
.sc-project-gallery--single .sc-project-media { aspect-ratio: auto; }
.sc-project-gallery--single picture { display: block; width: 100%; }
.sc-project-gallery--single .sc-project-photo { width: 100%; height: auto; object-fit: contain; }
.sc-post-card .sc-post-photo { object-fit: contain; }
.sc-post-card h4 a { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 4px; }
.sc-post-card .sc-post-source { margin-top: auto; margin-bottom: 0; font-size: .84rem; }
