.faq-visual {
  position: relative;
  min-height: 390px;
  aspect-ratio: 16 / 7;
  margin: 0 0 18px 190px;
  overflow: hidden;
  background-color: #26332d;
  background-image: var(--faq-image);
  background-position: center;
  background-size: cover;
  transition: background-image .35s ease;
}
.faq-visual::after { position: absolute; inset: 0; background: linear-gradient(180deg,transparent 52%,rgba(12,17,14,.66)); content: ''; }
.faq-visual-meta { position: absolute; z-index: 1; right: 28px; bottom: 24px; left: 28px; display: flex; align-items: end; justify-content: space-between; gap: 30px; color: #fff; }
.faq-visual-meta span { font-size: 8px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.faq-visual-meta strong { max-width: 480px; font-family: var(--serif); font-size: clamp(22px,2.4vw,34px); font-weight: 400; line-height: 1.05; text-align: right; }

.assurance-stats article:nth-child(3) strong::after {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 12px;
  border-radius: 50%;
  background: #d78b5a;
  box-shadow: 0 0 0 5px rgba(215,139,90,.12), 0 0 18px rgba(215,139,90,.65);
  content: '';
  vertical-align: .35em;
  animation: camera-live 2.2s ease-in-out infinite;
}

@keyframes camera-live { 50% { opacity: .45; transform: scale(.82); } }

.assurance-flow article::before {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 3;
  margin-bottom: 28px;
  background-image: linear-gradient(180deg, transparent 66%, rgba(14,20,17,.35)), url('/images/construction-control-v1.webp');
  background-repeat: no-repeat;
  background-size: 100% 100%, 300% auto;
  content: '';
}

.assurance-flow article:nth-child(1)::before { background-position: center, 0% 50%; }
.assurance-flow article:nth-child(2)::before { background-position: center, 50% 50%; }
.assurance-flow article:nth-child(3)::before { background-position: center, 100% 50%; }
.assurance-flow h3 { margin-top: 24px; }

.package-card::before {
  display: block;
  width: auto;
  aspect-ratio: 4 / 5;
  flex: 0 0 auto;
  margin: -30px -30px 28px;
  background-image: linear-gradient(180deg, transparent 68%, rgba(17,24,20,.34)), url('/images/completion-packages-v1.webp');
  background-repeat: no-repeat;
  background-size: 100% 100%, 300% auto;
  content: '';
}

.package-card:nth-child(1)::before { background-position: center, 0% 46%; }
.package-card:nth-child(2)::before { background-position: center, 50% 46%; }
.package-card:nth-child(3)::before { background-position: center, 100% 46%; }
.package-card h3 { margin-top: 34px; }

.material-card {
  min-height: 650px;
}

.material-swatch {
  height: auto;
  aspect-ratio: 2 / 3;
}

.material-ceramic .material-swatch,
.material-aerated .material-swatch,
.material-timber .material-swatch {
  background-repeat: no-repeat;
  background-size: 100% 100%, 300% 100%;
}

.material-swatch::before { position: absolute; z-index: 1; inset: 0; background-image: url('/images/material-systems-cutaway-v1.webp'); background-repeat: no-repeat; background-size: 300% 100%; clip-path: inset(0 calc(100% - var(--reveal,0%)) 0 0); content: ''; }
.material-ceramic .material-swatch::before { background-position: 0 center; }
.material-aerated .material-swatch::before { background-position: 50% center; }
.material-timber .material-swatch::before { background-position: 100% center; }
.material-swatch::after { z-index: 2; pointer-events: none; }
.material-reveal { position: absolute; z-index: 4; inset: 0; width: 100%; height: 100%; margin: 0; cursor: ew-resize; opacity: 0; }
.material-reveal-line { position: absolute; z-index: 3; top: 0; bottom: 0; left: var(--reveal,0%); width: 1px; pointer-events: none; background: rgba(255,255,255,.92); box-shadow: 0 0 24px rgba(0,0,0,.32); }
.material-reveal-line::after { position: absolute; top: 50%; left: 50%; display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid rgba(255,255,255,.72); border-radius: 50%; background: rgba(32,37,33,.72); color: white; content: '↔'; font-size: 15px; transform: translate(-50%,-50%); backdrop-filter: blur(8px); }
.material-reveal-hint { position: absolute; z-index: 3; right: 13px; bottom: 13px; padding: 8px 10px; pointer-events: none; background: rgba(25,30,27,.72); color: #fff; font-size: 8px; letter-spacing: .12em; text-transform: uppercase; backdrop-filter: blur(8px); }

.material-ceramic .material-swatch {
  background-image: linear-gradient(145deg, transparent 58%, rgba(20, 18, 15, .24)), url('/images/material-systems-v2.webp');
  background-position: center, 0% center;
}

.material-aerated .material-swatch {
  background-image: linear-gradient(145deg, transparent 58%, rgba(20, 18, 15, .2)), url('/images/material-systems-v2.webp');
  background-position: center, 50% center;
}

.material-timber .material-swatch {
  background-image: linear-gradient(145deg, transparent 58%, rgba(20, 18, 15, .24)), url('/images/material-systems-v2.webp');
  background-position: center, 100% center;
}

@media (max-width: 900px) {
  .faq-visual { margin-left: 0; }
  .package-card { min-height: 760px; }
  .material-card {
    min-height: auto;
  }

}

@media (max-width: 620px) {
  .faq-visual { min-height: 310px; aspect-ratio: 4 / 3; }
  .faq-visual-meta { right: 18px; bottom: 17px; left: 18px; align-items: start; flex-direction: column; gap: 9px; }
  .faq-visual-meta strong { font-size: 22px; text-align: left; }
  .package-card { min-height: 700px; }
  .package-card::before { margin: -25px -22px 25px; }
  .package-card h3 { margin-top: 28px; }
}
