/* Window-style detail pages built on the shared installation-page design. */

.window-style-page .window-style-hero {
  background:
    linear-gradient(120deg, rgba(255, 253, 249, 0.98) 0%, rgba(248, 244, 236, 0.93) 58%, rgba(239, 228, 209, 0.8) 100%);
}

.window-style-page main {
  overflow: visible;
}

.window-style-page .window-style-hero .refresh-hero-frame {
  min-height: 0;
  aspect-ratio: 4 / 3;
  border-radius: 22px 78px 22px 22px;
}

.window-style-page .window-style-hero .refresh-hero-frame img {
  min-height: 0;
  object-position: center;
}

.window-style-picture-page .window-style-hero .refresh-hero-frame {
  aspect-ratio: 3 / 4;
}

.window-style-license {
  margin-top: 16px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.window-style-license a {
  color: #765116;
  text-decoration: underline;
  text-decoration-color: rgba(118, 81, 22, 0.35);
  text-underline-offset: 4px;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

.window-style-license a:hover {
  color: var(--refresh-navy);
  text-decoration-color: currentColor;
}

.window-style-facts {
  background: var(--refresh-navy);
  color: #fff;
}

.window-style-facts dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.window-style-facts dl > div {
  min-width: 0;
  padding: 30px clamp(22px, 4vw, 46px);
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.window-style-facts dl > div:first-child {
  border-left: 0;
}

.window-style-facts dt {
  color: var(--refresh-gold-light);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.window-style-facts dd {
  margin-top: 9px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.65;
}

.window-style-story {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(42px, 7vw, 86px);
}

.window-style-story .refresh-content {
  position: sticky;
  top: 118px;
}

.window-style-story .refresh-content > p + p {
  margin-top: 16px;
}

.window-style-consideration-grid {
  display: grid;
  gap: 16px;
}

.window-style-consideration {
  position: relative;
  min-height: 156px;
  padding: 27px 28px 27px 84px;
  border: 1px solid var(--refresh-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(11, 29, 58, 0.05);
}

.window-style-consideration > span {
  position: absolute;
  left: 27px;
  top: 27px;
  color: var(--refresh-gold);
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 27px;
  line-height: 1;
}

.window-style-consideration h3,
.window-style-decision h3,
.window-style-compare-card h3 {
  color: var(--refresh-navy);
  font-family: "DM Serif Display", Georgia, serif;
  font-weight: 400;
  line-height: 1.18;
}

.window-style-consideration h3 {
  font-size: 23px;
}

.window-style-consideration p {
  margin-top: 9px;
  color: var(--refresh-slate);
  font-size: 14px;
  line-height: 1.72;
}

.window-style-gallery {
  grid-template-rows: repeat(2, 260px);
}

.window-style-gallery figure {
  border: 1px solid rgba(11, 29, 58, 0.1);
  box-shadow: 0 14px 36px rgba(11, 29, 58, 0.08);
}

.window-style-gallery img {
  transition: transform 320ms ease;
}

.window-style-gallery figure:hover img {
  transform: scale(1.025);
}

.window-style-picture-page .window-style-gallery {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: auto;
  align-items: start;
}

.window-style-picture-page .window-style-gallery figure,
.window-style-picture-page .window-style-gallery figure:first-child {
  grid-row: auto;
  aspect-ratio: 2 / 3;
}

.window-style-decision-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.window-style-decision {
  min-height: 210px;
  padding: 30px;
  border: 1px solid var(--refresh-line);
  border-top: 4px solid var(--refresh-gold);
  border-radius: 12px;
  background: #fff;
}

.window-style-decision > span {
  display: block;
  margin-bottom: 25px;
  color: #8a6428;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.window-style-decision h3 {
  font-size: 25px;
}

.window-style-decision p {
  margin-top: 10px;
  color: var(--refresh-slate);
  font-size: 14px;
  line-height: 1.72;
}

.window-style-compare-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.window-style-compare-card {
  min-width: 0;
  min-height: 290px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--refresh-line);
  border-radius: 14px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(11, 29, 58, 0.05);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.window-style-compare-card:hover {
  border-color: var(--refresh-gold);
  box-shadow: 0 17px 38px rgba(11, 29, 58, 0.1);
  transform: translateY(-4px);
}

.window-style-compare-card > span {
  color: #765116;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.window-style-compare-card h3 {
  margin-top: 17px;
  font-size: 28px;
}

.window-style-compare-card p {
  margin-top: 12px;
  color: var(--refresh-slate);
  font-size: 14px;
  line-height: 1.72;
}

.window-style-compare-card strong {
  margin-top: auto;
  padding-top: 24px;
  color: #765116;
  font-size: 13px;
  line-height: 1.5;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
}

.window-style-compare-card:hover strong {
  color: var(--refresh-navy);
  text-decoration-color: currentColor;
}

.window-style-resource-links {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.window-style-resource-links a {
  padding: 11px 15px;
  border: 1px solid #cfc8bc;
  border-radius: 999px;
  background: #fff;
  color: var(--refresh-navy);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.window-style-resource-links a:hover {
  border-color: var(--refresh-navy);
  background: var(--refresh-navy);
  color: #fff;
  transform: translateY(-1px);
}

@media (max-width: 1200px) {
  .window-style-story .refresh-content {
    top: 24px;
  }
}

@media (max-width: 980px) {
  .window-style-story {
    grid-template-columns: 1fr;
  }

  .window-style-story .refresh-content {
    position: static;
  }
}

@media (max-width: 820px) {
  .window-style-facts dl,
  .window-style-compare-grid {
    grid-template-columns: 1fr;
  }

  .window-style-facts dl > div {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-left: 0;
  }

  .window-style-facts dl > div:first-child {
    border-top: 0;
  }

  .window-style-compare-card {
    min-height: 0;
  }
}

@media (max-width: 680px) {
  .window-style-page .window-style-hero .refresh-hero-frame,
  .window-style-page .window-style-hero .refresh-hero-frame img {
    min-height: 0;
  }

  .window-style-decision-grid {
    grid-template-columns: 1fr;
  }

  .window-style-consideration {
    padding: 25px 23px 25px 73px;
  }

  .window-style-consideration > span {
    left: 23px;
    top: 25px;
  }

  .window-style-gallery {
    grid-template-rows: auto;
  }

  .window-style-picture-page .window-style-gallery {
    grid-template-columns: 1fr;
  }

  .window-style-gallery figure,
  .window-style-gallery figure:first-child {
    min-height: 260px;
  }

  .window-style-picture-page .window-style-gallery figure,
  .window-style-picture-page .window-style-gallery figure:first-child {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .window-style-gallery img,
  .window-style-compare-card,
  .window-style-resource-links a {
    transition: none;
  }
}

/* Give real project photos enough room to show the complete installation. */
.window-style-gallery .window-style-project-photo:hover img { transform: none; }
.window-style-picture-page .window-style-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.window-style-picture-page .window-style-gallery figure.window-style-project-photo { aspect-ratio: auto; }
.window-style-picture-page .window-style-gallery figure.window-style-project-photo:first-child {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  align-items: center;
  aspect-ratio: auto;
}
.window-style-picture-page .window-style-gallery .window-style-project-photo img { height: auto; }
.window-style-picture-page .window-style-gallery .window-style-project-photo figcaption {
  position: static;
  padding: 30px;
  background: none;
  color: var(--refresh-navy);
  font-size: 16px;
  line-height: 1.8;
}
.window-style-picture-page .window-style-project-photo figcaption a { color: var(--refresh-navy); text-underline-offset: 4px; }
.window-style-geometric-page .window-style-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto; align-items: start; }
.window-style-geometric-page .window-style-gallery figure,
.window-style-geometric-page .window-style-gallery figure:first-child { grid-row: auto; aspect-ratio: auto; min-height: 0; }
.window-style-geometric-page .window-style-gallery .window-style-project-photo img { height: auto; }
.window-style-geometric-page .window-style-gallery .window-style-project-photo figcaption { position: static; padding: 18px; background: none; color: var(--refresh-navy); font-size: 13px; line-height: 1.7; }
.window-style-geometric-page .window-style-project-photo figcaption a { color: var(--refresh-navy); text-underline-offset: 4px; }
@media (max-width: 680px) {
  .window-style-geometric-page .window-style-gallery { grid-template-columns: 1fr; }
  .window-style-picture-page .window-style-gallery { grid-template-columns: 1fr; }
  .window-style-picture-page .window-style-gallery figure.window-style-project-photo:first-child { display: block; }
  .window-style-picture-page .window-style-gallery .window-style-project-photo figcaption { padding: 20px; font-size: 14px; }
}
