/* Homepage project journey, using the retained olive palette and typefaces. */
.olive-home .home-opening__stage {
  height: auto;
  min-height: clamp(610px, calc(100svh - 164px), 760px);
}
.olive-home .home-opening__copy { padding: 60px 5vw 72px; }
.olive-home .home-opening__eyebrow { margin-bottom: 26px; }
.olive-home .olive-opening-lead { max-width: 440px; }
.olive-home .home-opening__actions { gap: 16px 22px; margin-top: 30px; }
.olive-home .sg-home-status { max-width: 360px; margin-top: 20px; }
@media (min-width: 861px) {
  .olive-home .home-opening__image img { position: absolute; inset: 0; }
}

.sg-home-fireplace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 7vw;
}
.sg-home-fireplace h2,
.sg-home-installation h2,
.sg-home-journey h2 {
  font-size: clamp(50px, 5.2vw, 78px);
  line-height: 1.02;
  margin: 0;
}
.sg-home-fireplace-copy > p:not(.olive-kicker) {
  max-width: 520px;
  margin: 28px 0;
  font-size: 16px;
  line-height: 1.85;
  color: var(--muted);
}
.sg-home-scope { margin: 0 0 30px; }
.sg-home-scope > div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.sg-home-scope dt { font-size: 14px; font-weight: 550; line-height: 1.6; }
.sg-home-scope dd { margin: 0; font-size: 14px; line-height: 1.8; color: var(--muted); }
.sg-home-materials {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
  margin: 0;
  min-width: 0;
}
.sg-home-materials > div { min-width: 0; }
.sg-home-materials-main { grid-column: 1 / -1; }
.sg-home-materials img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.4;
  object-fit: cover;
  background: #dedfd3;
}
.sg-home-materials-main img { aspect-ratio: 1.2; border-top-right-radius: 80px; }
.sg-home-materials > div > span {
  display: block;
  padding-top: 10px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}
.sg-home-materials figcaption {
  grid-column: 1 / -1;
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}

.sg-home-installation { background: #e5e8dc; scroll-margin-top: 100px; }
.sg-home-installation .olive-section-head > p {
  max-width: 390px;
  margin: 0;
  font-size: 16px;
  line-height: 1.85;
  color: #525945;
}
.sg-home-installation-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sg-home-installation-options article {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px 34px 0;
  border-top: 1px solid #50563f55;
  border-right: 1px solid #50563f40;
}
.sg-home-installation-options article:first-child { padding-left: 0; }
.sg-home-installation-options article:last-child { padding-right: 0; border-right: 0; }
.sg-home-route-number { font-size: 12px; line-height: 1; color: #596347; margin-bottom: 34px; }
.sg-home-installation-options h3 { font-size: clamp(31px, 3vw, 43px); line-height: 1.12; margin: 0 0 18px; }
.sg-home-installation-options p { margin: 0 0 30px; font-size: 15px; line-height: 1.85; color: #525945; }
.sg-home-installation-options .olive-underlink { margin-top: auto; font-size: 13px; min-height: 44px; }

.sg-home-journey { border-bottom: 1px solid var(--line); }
.sg-home-journey ol { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 26px; list-style: none; margin: 0; padding: 0; }
.sg-home-journey li { border-top: 1px solid var(--line); padding-top: 23px; min-width: 0; }
.sg-home-journey li > span { font-size: 12px; color: #677052; }
.sg-home-journey h3 { margin: 24px 0 14px; font-size: 30px; line-height: 1.15; }
.sg-home-journey li > p { margin: 0; font-size: 14px; line-height: 1.85; color: var(--muted); }
.olive-home .sg-home-close > div > span { display: block; margin-top: 20px; font-size: 12px; line-height: 1.7; }

@media (max-width: 1100px) {
  .sg-home-fireplace { gap: 5vw; }
  .sg-home-scope > div { grid-template-columns: 100px minmax(0, 1fr); gap: 18px; }
  .sg-home-installation-options article { padding-inline: 22px; }
  .sg-home-journey ol { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 35px 30px; }
}

@media (max-width: 860px) {
  .olive-home .home-opening__stage { min-height: 0; }
  .olive-home .home-opening__copy { min-height: 0; padding: 60px 7vw 66px; }
  .sg-home-fireplace { grid-template-columns: 1fr; gap: 45px; }
  .sg-home-fireplace-copy > p:not(.olive-kicker) { max-width: 610px; }
  .sg-home-materials { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 18px 22px; align-items: start; }
  .sg-home-materials-main { grid-column: 1; grid-row: 1 / 3; }
  .sg-home-materials-main img { aspect-ratio: .89; }
  .sg-home-materials-detail { grid-column: 2; }
  .sg-home-installation .olive-section-head { align-items: start; }
  .sg-home-installation .olive-section-head > p { max-width: 310px; }
  .sg-home-installation-options article { padding-inline: 18px; }
}

@media (max-width: 650px) {
  .olive-home .home-opening__copy { padding: 43px 22px 48px; }
  .olive-home .home-opening__actions { width: 100%; gap: 12px; margin-top: 27px; }
  .olive-home .home-opening__primary { max-width: 330px; width: 100%; }
  .olive-home .sg-home-status { font-size: 12px; line-height: 1.7; margin-top: 19px; }
  .sg-home-fireplace h2, .sg-home-installation h2, .sg-home-journey h2 { font-size: clamp(44px, 11.5vw, 62px); }
  .sg-home-fireplace-copy > p:not(.olive-kicker) { font-size: 15px; margin-block: 24px; }
  .sg-home-scope > div { grid-template-columns: 1fr; gap: 7px; padding-block: 18px; }
  .sg-home-scope dt { font-size: 15px; }
  .sg-home-materials { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .sg-home-materials-main { grid-column: 1 / -1; grid-row: auto; }
  .sg-home-materials-main img { aspect-ratio: 1.15; border-top-right-radius: 55px; }
  .sg-home-materials-detail { grid-column: auto; }
  .sg-home-materials > div > span { font-size: 12px; }
  .sg-home-installation .olive-section-head > p { max-width: 100%; margin-top: 24px; font-size: 15px; }
  .sg-home-installation-options { grid-template-columns: 1fr; }
  .sg-home-installation-options article,
  .sg-home-installation-options article:first-child,
  .sg-home-installation-options article:last-child { border-right: 0; padding: 26px 0; }
  .sg-home-installation-options article:last-child { padding-bottom: 0; }
  .sg-home-route-number { margin-bottom: 20px; }
  .sg-home-installation-options h3 { font-size: 36px; }
  .sg-home-installation-options p { margin-bottom: 17px; }
  .sg-home-installation-options .olive-underlink { font-size: 14px; }
  .sg-home-journey ol { grid-template-columns: 1fr; gap: 0; }
  .sg-home-journey li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 8px 18px; padding: 24px 0; }
  .sg-home-journey li > span { grid-row: 1 / 3; padding-top: 8px; }
  .sg-home-journey h3 { font-size: 31px; margin: 0; }
  .sg-home-journey li > p { grid-column: 2; font-size: 14px; }
}

@media (max-width: 370px) {
  .olive-home .home-opening__copy { padding-inline: 17px; }
  .sg-home-fireplace h2, .sg-home-installation h2, .sg-home-journey h2 { font-size: 42px; }
}

/* Bring the appliance into the mobile opening without losing the two clear routes. */
@media (max-width: 650px) {
  .olive-home .home-opening__copy { padding: 30px 22px 26px; }
  .olive-home .home-opening__eyebrow { margin-bottom: 20px; font-size: 9px; }
  .olive-home .olive-opening-lead { margin-top: 20px; font-size: 15px; line-height: 1.65; }
  .olive-home .home-opening__actions { margin-top: 18px; gap: 8px 18px; }
  .olive-home .home-opening__primary { min-height: 52px; }
  .olive-home .sg-home-status { margin-top: 12px; }
  .olive-home .home-opening__image { height: 310px; min-height: 0; }
  .olive-home .home-opening__image img { width:100%; height:100%; object-fit:cover; object-position:50% 72%; }
}
