.photo-stage {
  position: relative;
  isolation: isolate;
  background: var(--text);
  color: var(--surface);
}
.stage-image, .photo-stage::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.stage-image { object-fit: cover; }
@media (prefers-reduced-motion: reduce) {
  .stage-video { display: none; }
}
.photo-stage::after {
  content: "";
  pointer-events: none;
  background: linear-gradient(to bottom, transparent 60%, color-mix(in srgb, var(--text) 70%, transparent));
}
.home-hero {
  --hero-edge: max(var(--gutter), (100% - 75rem) / 2);
  display: grid;
  grid-template-columns: var(--hero-edge) minmax(0, 1fr) var(--hero-edge);
  border-bottom: 1px solid var(--rule, var(--line));
}
.hero-photo {
  grid-area: 1 / 1 / 2 / -1;
  min-height: min(88vh, 52rem);
}
.hero-copy {
  grid-area: 1 / 2;
  z-index: 1;
  align-self: end;
  padding-block: clamp(2rem, 4vw, 4rem);
  color: var(--surface);
}
.hero-copy :focus-visible { outline-color: var(--surface); }
.home-hero > .pressure-figure {
  grid-area: 2 / 2;
  z-index: 1;
  align-self: end;
  width: min(100%, 24rem);
  margin-block: 1rem;
}
.hero-copy h1 { max-width: 10em; }
.hero-copy p { margin-top: 1.25rem; }
.hero-copy .actions { margin-top: 1.5rem; }
.pressure-figure {
  overflow: hidden;
  border: 1px solid var(--rule, var(--line));
  border-radius: 8px;
  background: var(--surface);
}
.pressure-figure img { width: 100%; }
.pressure-figure figcaption { border-top: 1px solid var(--rule, var(--line)); padding: clamp(0.85rem, 2vw, 1.25rem); }
.pressure-figure p { color: var(--muted); }
.figure-heading { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.25rem 0.75rem; }
.figure-heading span { color: var(--muted); }
.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr)); gap: 0.5rem 1rem; margin-top: 0.85rem; }
.metrics dd { width: fit-content; border-bottom: 3px solid var(--wood); font-size: clamp(1.25rem, 1rem + 1.8vw, 2.25rem); line-height: 1.25; }
.news-list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.2rem 1rem; padding-block: 0.85rem; border-top: 1px solid var(--rule, var(--line)); }
.news-list time, .news-list span { color: var(--muted); }
.news-list a { flex: 1 1 20rem; }
.estimate { padding: clamp(1rem, 2vw, 1.5rem); background: var(--surface); border: 1px solid var(--rule, var(--line)); border-radius: 8px; }
.estimate p:first-child { margin-top: 0; }
.estimate-fields { display: flex; align-items: end; flex-wrap: wrap; gap: 1rem; margin-block: 1rem; }
.estimate-fields label { flex: 1 1 10rem; }
.estimate input { display: block; width: 100%; min-height: 2.75rem; padding: 0.4rem 0.55rem; border: 1px solid var(--muted); border-radius: 4px; }
.estimate output { font-weight: 700; }
.detail-sidebar { padding: 1rem; background: var(--surface); border: 1px solid var(--rule, var(--line)); border-radius: 8px; }
.detail-sidebar h2 { font-size: 1.125rem; margin-bottom: 0.75rem; }
.detail-sidebar li + li { margin-top: 0.15rem; }
.detail-sidebar [aria-current="location"] { font-weight: 700; text-decoration-thickness: 2px; }
.sidebar-actions { display: grid; gap: 0.5rem; margin-top: 1rem; border-top: 1px solid var(--rule, var(--line)); padding-top: 1rem; }
.detail-section { scroll-margin-top: 1rem; }
.detail-section + .detail-section { margin-top: clamp(2rem, 1.2rem + 3vw, 4.5rem); }
.detail-section .actions { margin-top: 1rem; }
.feature-list div { border-top: 1px solid var(--rule, var(--line)); padding-block: 0.8rem; }
.feature-list dt { font-weight: 700; }
.product-figure { margin-top: 1.25rem; width: fit-content; }
.product-figure figcaption { color: var(--muted); padding-top: 0.5rem; }
@media (min-width: 48rem) {
  .home-hero {
    grid-template-columns: var(--hero-edge) minmax(0, 1fr) var(--gutter) minmax(0, 0.8fr) var(--hero-edge);
  }
  .home-hero > .pressure-figure {
    grid-area: 1 / 4;
    justify-self: end;
  }
}
.acoustic-diagram { display: block; width: 100%; height: auto; }
.comparison {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
  gap: 1rem;
  margin-block: 1rem;
}
.case-results, .result-group { display: grid; gap: 1rem; }
.case-results { margin-bottom: var(--section); gap: 2rem; }
.filter-form + ul, .archive-list { margin-top: 1.5rem; }
.archive-list li { color: var(--muted); }
main > .inline-cta:last-child { margin-bottom: var(--section); }
.steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2.5rem;
  padding-inline-start: 1.5rem;
}
.steps [aria-current="step"] { font-weight: 700; text-decoration: underline; }
.faq details { border-top: 1px solid var(--rule, var(--line)); padding-block: 0.85rem; }
.faq summary { cursor: pointer; font-weight: 700; }
.account-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 21rem), 1fr));
  gap: clamp(1.5rem, 5vw, 4rem);
}
.account-layout .feature-list { margin-top: 1rem; }
body:not(.top-page) :is(.pressure-figure, .estimate, .detail-sidebar) {
  border-radius: 0;
}
body:not(.top-page) .detail-sidebar h2 {
  font-size: clamp(1.125rem, 1.05rem + 0.4vw, 1.375rem);
}
body:not(.top-page) .detail-section + .detail-section {
  margin-top: var(--section);
}
body:not(.top-page) .feature-list div {
  padding-block: clamp(1rem, 2.7vw, 2.2rem);
}
body:not(.top-page) .case-results {
  gap: calc(var(--section) / 2);
}
body:not(.top-page) .page-photo {
  background: var(--night);
}
body:not(.top-page) .page-photo::after {
  background: linear-gradient(to bottom, color-mix(in srgb, var(--night) 62%, transparent), var(--night));
}
body:not(.top-page) .pressure-figure {
  background: var(--bg);
  color: var(--text);
  color-scheme: light;
}
body:not(.top-page) .pressure-figure figcaption {
  border-color: var(--wood-deep);
}
body:not(.top-page) .pressure-figure p {
  color: var(--text);
}
body:not(.top-page) :is(.product-figure img, .card-link img[src^="/assets/svg/"]) {
  background: var(--bg);
}
