/* Richmond page only. The production shell retains the site's shared styles. */
.richmond-main { color:#253626; }
.richmond-main section[id] { scroll-margin-top:100px; }
.richmond-main .richmond-photo {
  width:100%;
  max-width:var(--richmond-photo-width, 100%);
  margin:0 auto 28px;
  overflow:visible;
  background:transparent;
}
.richmond-main .richmond-photo img,
.richmond-main .richmond-video-stage img {
  display:block;
  width:100%;
  max-width:100%;
  height:auto;
  aspect-ratio:auto;
  object-fit:contain;
  object-position:center;
  transform:none;
  border-radius:16px;
}
.richmond-main .richmond-hero-photo { margin-bottom:36px; }
.inner-page .richmond-main .richmond-hero h1 {
  max-width:1100px;
  margin:0 0 20px;
  font-size:clamp(36px, 4.2vw, 56px);
  font-weight:750;
  line-height:1.12;
  letter-spacing:-.04em;
  text-wrap:balance;
}
.inner-page .richmond-main .richmond-subheading {
  max-width:1000px;
  margin-bottom:10px;
  color:#253626;
  font-size:clamp(18px, 1.8vw, 23px);
  font-weight:650;
  line-height:1.5;
}
.inner-page .richmond-main .richmond-byline {
  color:#667066;
  font-size:11px;
  font-weight:400;
  margin-bottom:24px;
}
.richmond-intro,
.richmond-main .richmond-body-copy { max-width:100ch; }
.richmond-main .richmond-intro p:last-child { margin-bottom:0; }
.richmond-main .richmond-stats a {
  display:block;
  color:inherit;
  text-decoration-color:#91ac58;
  text-underline-offset:4px;
}
.richmond-main .richmond-paired-photos {
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:24px;
  align-items:start;
  margin-top:30px;
}
.richmond-main .richmond-paired-photos .richmond-photo { margin-bottom:0; }
.richmond-main .richmond-project-list { max-width:100ch; margin-bottom:28px; }
.richmond-main .richmond-estate-gallery {
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:16px;
  align-items:start;
  max-width:900px;
  margin:30px auto 0;
}
.richmond-main .richmond-estate-gallery .richmond-photo { margin:0 auto; }
.richmond-main .richmond-more-projects > .container > h2 { margin-bottom:30px; }
.richmond-main .richmond-solar-only { margin-top:48px; }
.richmond-main .richmond-video-section { margin-top:32px; }
.richmond-main .richmond-video-section h3 { margin-bottom:16px; }
.richmond-main .richmond-video-stage {
  position:relative;
  width:100%;
  max-width:900px;
  margin-inline:auto;
  background:#f3f7ed;
  border-radius:16px;
}
.richmond-main .richmond-video-play {
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%, -50%);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:76px;
  height:76px;
  padding:0;
  border:2px solid #fff;
  border-radius:50%;
  background:#253626;
  color:#fff;
  cursor:pointer;
  box-shadow:0 4px 20px #17201d40;
}
.richmond-main .richmond-video-play[hidden] { display:none; }
.richmond-main .richmond-video-play:hover { background:#365b2c; }
.richmond-main .richmond-video-play:focus-visible {
  outline:4px solid #fff;
  outline-offset:5px;
  box-shadow:0 0 0 10px #365b2c;
}
.richmond-main .richmond-video-play svg { width:26px; height:30px; margin-left:4px; }
.richmond-main .richmond-video-loaded { aspect-ratio:16 / 9; overflow:hidden; }
.richmond-main .richmond-video-loaded iframe {
  display:block;
  width:100%;
  height:100%;
  border:0;
}
.inner-page .richmond-main .richmond-video-watch {
  max-width:900px;
  margin:12px auto 0;
  font-size:12px;
  line-height:1.7;
}
.richmond-main .richmond-table-wrap {
  width:100%;
  overflow-x:auto;
  border:1px solid #d5e1cc;
  border-radius:16px;
}
.richmond-main .richmond-solutions-table {
  width:100%;
  border-collapse:collapse;
  table-layout:fixed;
  color:#52604f;
  font-size:14px;
  line-height:1.8;
}
.richmond-main .richmond-solutions-table th,
.richmond-main .richmond-solutions-table td {
  padding:20px 22px;
  text-align:left;
  vertical-align:top;
  border-bottom:1px solid #d5e1cc;
  overflow-wrap:break-word;
}
.richmond-main .richmond-solutions-table thead { background:#edf6e3; color:#253626; }
.richmond-main .richmond-solutions-table th { font-weight:700; }
.richmond-main .richmond-solutions-table th:first-child { width:24%; }
.richmond-main .richmond-solutions-table tbody th { color:#253626; }
.richmond-main .richmond-solutions-table tbody tr:nth-child(even) { background:#f8faf4; }
.richmond-main .richmond-solutions-table tbody tr:last-child > * { border-bottom:0; }
.richmond-main .richmond-table-wrap:focus-visible { outline:3px solid #387923; outline-offset:5px; }
.inner-page .richmond-main .richmond-closing p {
  max-width:86ch;
  color:#253626;
  font-size:clamp(18px, 1.8vw, 23px);
  font-weight:600;
  line-height:1.6;
  margin-bottom:20px;
}
.richmond-main .richmond-closing .button { margin-top:6px; }
.richmond-main .richmond-nearby { padding-block:30px; font-size:14px; line-height:1.9; }
.richmond-main .richmond-nearby p { margin:0 0 5px; }
@media (max-width:700px) {
  .richmond-main .richmond-hero-photo { margin-bottom:26px; }
  .richmond-main .richmond-photo { margin-bottom:23px; }
  .richmond-main .richmond-paired-photos,
  .richmond-main .richmond-estate-gallery { grid-template-columns:minmax(0, 1fr); gap:18px; }
  .richmond-main .richmond-estate-gallery { max-width:480px; }
  .richmond-main .richmond-paired-photos .richmond-photo,
  .richmond-main .richmond-estate-gallery .richmond-photo { margin-bottom:0; }
  .richmond-main .richmond-solar-only { margin-top:36px; }
  .richmond-main .richmond-video-section { margin-top:26px; }
  .richmond-main .richmond-video-play { width:62px; height:62px; }
  .richmond-main .richmond-solutions-table { font-size:12px; line-height:1.7; }
  .richmond-main .richmond-solutions-table th,
  .richmond-main .richmond-solutions-table td { padding:13px 10px; }
  .richmond-main .richmond-solutions-table th:first-child { width:28%; }
  .richmond-main .richmond-nearby { padding-block:25px; }
  .richmond-main .richmond-closing .button { white-space:normal; text-align:center; }
}
