.home-content {
  color-scheme: light;
  --paper: #f7f2e9;
  --panel: #fffdfa;
  --line: #ded1c7;
  --text: #291d21;
  --muted: #5c4d50;
  --accent: #63283c;
  background: var(--paper);
  color: var(--text);
}

.home-content h2 { color: var(--burgundy); font-weight: 620; }
.home-content .eyebrow { color: #78532e; }
.home-content .under { color: var(--accent); }
.home-content .under:hover { color: var(--burgundy); }
.home-content :focus-visible { outline-color: var(--accent); }
.home-content .button.outline { color: var(--burgundy); border-color: #a77784; }
.home-content .button.outline:hover { background: #f1e4e6; border-color: var(--burgundy); }
.home-content .section { padding-block: clamp(44px, 5.2vw, 76px); }
.home-content :is(#solutions, #roof-details) { scroll-margin-block-start: 20px; }

.home-section-heading {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 10px 30px;
}
.home-section-heading > p { max-width: 35ch; margin-block-end: 4px; }
.roof-guide-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(14px, 2vw, 24px);
}
.roof-guide-photo, .roof-guide-details, .roof-guide-video {
  min-inline-size: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}
.roof-guide-photo figure > div { position: relative; }
.roof-guide-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.roof-guide-photo figcaption {
  padding: 9px 14px;
  background: #efe6da;
  color: var(--muted);
  font-size: .78rem;
}
.roof-guide-action { padding: 12px 14px 14px; }
.roof-point {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 2px solid #fff8eb;
  border-radius: 50%;
  background: var(--burgundy);
  box-shadow: 0 2px 8px #21131963;
  color: #fff;
  font-size: .9rem;
  font-weight: 680;
}
.roof-point:is([aria-pressed="true"], :hover) {
  border-color: var(--burgundy);
  background: var(--gold);
  color: var(--burgundy);
}
.roof-guide-details {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 17px;
  padding: clamp(16px, 2vw, 25px);
}
.roof-guide-options { display: grid; gap: 5px; }
.roof-guide-options button {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 7px 10px;
  border: 1px solid transparent;
  border-radius: 5px;
  background: transparent;
  color: var(--text);
  font-size: .9rem;
  text-align: start;
}
.roof-guide-options button span {
  flex: none;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #efe4d4;
  color: var(--burgundy);
  font-size: .78rem;
  font-weight: 680;
}
.roof-guide-options button:is([aria-pressed="true"], :hover) {
  border-color: var(--line);
  background: var(--paper);
}
.roof-guide-options [aria-pressed="true"] span { background: var(--burgundy); color: #fff; }
.roof-detail-panel p { font-size: .92rem; }
.roof-detail-panel img {
  width: 100%;
  margin-block-start: 13px;
  aspect-ratio: 2.45 / 1;
  object-fit: cover;
  object-position: center 58%;
  border-radius: 5px;
}
.roof-guide-video {
  display: grid;
  grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(14px, 2vw, 26px);
  margin-block-start: clamp(14px, 2vw, 24px);
  padding: clamp(14px, 1.7vw, 22px);
}
.roof-guide-video video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 5px;
  background: #201819;
}
.roof-guide-video h3 { color: var(--burgundy); font-weight: 630; }
.roof-guide-video p { margin-block-end: 14px; }

.home-materials {
  border-block: 1px solid var(--line);
  background: var(--panel);
}
.home-material-grid, .home-video-grid { display: grid; gap: clamp(13px, 2vw, 24px); }
.home-material-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home-material {
  display: flex;
  flex-direction: column;
  align-items: start;
  padding: clamp(16px, 2.2vw, 27px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f5ede2;
}
.home-material h3 { margin-block-end: 7px; font-weight: 670; }
.home-material .eyebrow { margin-block-end: 8px; }
.home-material > p:not(.eyebrow) { margin-block-end: 12px; font-size: .9rem; }
.home-material .under { margin-block-start: auto; font-weight: 620; }

.home-content .application-card {
  border-radius: 7px;
  box-shadow: 0 2px 5px #4814260b;
}
.home-content .application-card:is(:hover, :focus-visible) { border-color: #a77784; }
.home-content .application-card h3 { color: var(--burgundy); }
.home-content .application-card span, .home-content .roof-process li::marker { color: var(--accent); }
.home-content .application-showcase img { aspect-ratio: 16 / 10; max-height: none; }
.home-content .home-project { background: #eee2e3; }
.home-content .home-project video, .home-video video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #201819;
}
.home-content .home-project video { border-radius: 7px; }
.home-video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.home-video {
  min-inline-size: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}
.home-video figcaption { padding: 12px 16px 15px; }
.home-video h3 { margin-block-end: 4px; font-size: 1.08rem; font-weight: 650; }
.home-video p { font-size: .88rem; }
.home-content #system-tools { background: #f0e8dd; }
.home-content .home-tool { background: var(--panel); border-color: var(--line); }
.home-content .home-tool:is(:hover, :focus-visible) { background: #fbf4e9; border-color: #a77784; }
.home-content .home-tool span { color: var(--accent); }

@media (max-width: 800px) {
  .roof-guide-grid { grid-template-columns: 1fr; }
  .roof-detail-panel img { max-height: 235px; }
}
@media (max-width: 620px) {
  .home-material-grid, .home-video-grid, .roof-guide-video { grid-template-columns: 1fr; }
  .roof-point { width: 38px; height: 38px; }
}
