.stm-closing {
  padding-block: clamp(1.25rem, 2.8vw, 2.7rem) clamp(2rem, 3.5vw, 3.8rem);
  scroll-margin-top: 8rem;
}
.home-testimonials:has(+ .stm-closing) { margin-bottom: 0; }
.stm-closing-inner {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(.75rem, 2.35vw, 2.4rem);
  padding: clamp(1.2rem, 2.8vw, 2.9rem);
  background: radial-gradient(ellipse at 81% 44%, var(--stm-blue-surface), transparent 58%), linear-gradient(125deg,var(--stm-blue-wash),#fcfefe);
}
.stm-closing-copy { min-width: 0; }
.stm-closing-copy .eyebrow { color: var(--stm-blue); }
.stm-closing-copy .eyebrow span { width: 7px; height: 17px; border-radius: 6px; }
.stm-closing h2 { text-wrap: balance; }
.stm-closing .button { min-height: 52px; }
.stm-closing-art {
  width: min(100%, 42rem);
  height: auto;
  max-height: clamp(210px, 26vw, 390px);
  object-fit: contain;
  justify-self: center;
}
.stm-monitor {
  width: min(100%, 33rem);
  justify-self: center;
  margin: 0;
  text-align: center;
}
.stm-monitor-frame {
  position: relative;
  padding: clamp(5px, .65vw, 10px);
  border: 1px solid var(--stm-blue-border);
  border-radius: clamp(10px, 1.35vw, 19px);
  background: linear-gradient(145deg, var(--stm-panel-blue), var(--stm-navy-deep));
  box-shadow: inset 0 1px 0 #ffffff6b, var(--stm-card-shadow);
}
.stm-monitor-frame img {
  width: 100%;
  height: auto;
  border-radius: clamp(5px, .65vw, 10px);
}
.stm-monitor::after {
  display: block;
  content: "";
  width: 42%;
  height: clamp(24px, 3vw, 38px);
  margin-inline: auto;
  background: linear-gradient(var(--stm-panel-blue) 0 62%, var(--stm-green) 62% 76%, var(--stm-navy-deep) 76%);
  clip-path: polygon(39% 0, 61% 0, 68% 60%, 94% 70%, 100% 86%, 98% 100%, 2% 100%, 0 86%, 6% 70%, 32% 60%);
}
.stm-closing-scene {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  width: min(100%, 40rem);
  justify-self: center;
  align-items: end;
  gap: .25rem;
  padding-block: .7rem 1.7rem;
}
.stm-closing-scene::after {
  position: absolute;
  isolation: isolate;
  z-index: -1;
  bottom: 0;
  left: 2%;
  right: 2%;
  height: clamp(29px, 4vw, 56px);
  border-radius: 50% / 39%;
  border: 1px solid var(--stm-blue-border);
  background: linear-gradient(var(--stm-blue-accent) 0%,var(--stm-panel-blue) 44%,var(--stm-green) 50%,var(--stm-green-accent) 66%,var(--stm-navy) 72%);
  box-shadow: 0 8px 17px #09285635;
  content: "";
}
.stm-closing-eryn {
  align-self: end;
  justify-self: end;
  width: 109%;
  max-width: none;
  height: auto;
  max-height: clamp(166px, 22vw, 310px);
  object-fit: contain;
  object-position: right bottom;
  z-index: 1;
}
.stm-closing-board {
  align-self: center;
  min-width: 0;
  margin: 0 0 1.35rem -.6rem;
  padding: clamp(.7rem, 1.4vw, 1.2rem);
  border: 1px solid var(--stm-blue-border);
  border-radius: 17px;
  background: linear-gradient(155deg,var(--stm-panel-blue),var(--stm-navy-deep) 64%);
  color: white;
  box-shadow: 0 4px 0 var(--stm-navy-deep), 0 13px 24px #0b224745, inset 0 1px 0 #b7d7f8b3;
}
.stm-closing-board figcaption { margin-bottom: .58rem; font-weight: 800; font-size: clamp(.89rem, 1.3vw, 1.16rem); line-height: 1.25; overflow-wrap: anywhere; }
.stm-closing-board ul { display: grid; gap: .42rem; padding: 0; margin: 0; list-style: none; }
.stm-closing-board li {
  display: flex;
  align-items: center;
  gap: .48rem;
  min-height: 37px;
  padding: .34rem .45rem;
  border: 1px solid #8ab9ed57;
  border-radius: 8px;
  background: #d9f1ff13;
  color: var(--stm-blue-surface);
  font-size: clamp(.77rem, 1vw, .94rem);
  line-height: 1.26;
  font-weight: 650;
  overflow-wrap: anywhere;
}
.stm-closing-board .service-icon {
  display: grid;
  place-items: center;
  flex: 0 0 23px;
  width: 23px;
  height: 23px;
  background: transparent;
  color: var(--stm-green-light);
}
.stm-closing-board .service-icon svg { width: 20px; height: 20px; }
.stm-closing-scene-map {
  grid-template-columns: minmax(0, .62fr) minmax(0, 1.38fr);
  width: min(100%, 45rem);
  gap: clamp(.18rem, .8vw, .75rem);
  padding-block: .45rem .75rem;
}
.stm-closing-scene-map::after { content: none; }
.stm-closing-eryn-stand {
  position: relative;
  isolation: isolate;
  align-self: end;
  justify-self: end;
  width: min(112%, calc(100% + clamp(.4rem, 1.55vw, 1.65rem)));
  margin-bottom: .35rem;
}
.stm-closing-eryn-stand img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  z-index: 1;
}
.stm-closing-eryn-stand::after {
  position: absolute;
  bottom: -3%;
  left: 14%;
  width: 57%;
  height: 9%;
  min-height: 6px;
  border-radius: 50% / 40%;
  border: 1px solid var(--stm-blue-border);
  background: linear-gradient(var(--stm-blue-accent) 0%, var(--stm-panel-blue) 45%, var(--stm-green) 48%, var(--stm-green-accent) 67%, var(--stm-navy) 72%);
  box-shadow: 0 5px 10px #09285635;
  content: "";
}
.stm-closing-map {
  align-self: end;
  margin: 0 0 .5rem;
  padding: .42rem;
  border-radius: 18px;
  scroll-margin-top: 8rem;
}
.stm-closing-map iframe {
  display: block;
  width: 100%;
  height: auto;
  min-height: 220px;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 12px;
  background: var(--stm-blue-surface);
}
.stm-closing-map figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .3rem .65rem;
  margin: 0;
  padding: .55rem .38rem .25rem;
  font-size: .88rem;
}
.stm-closing-map figcaption strong, .stm-closing-map figcaption small { display: block; }
.stm-closing-map figcaption small { margin-top: .18rem; color: var(--stm-blue-surface); font-weight: 500; }
.stm-closing-map figcaption a {
  display: inline-flex;
  align-items: center;
  gap: .24rem;
  min-height: 32px;
  color: var(--stm-green-light);
  text-decoration: underline;
  text-underline-offset: .18em;
}
@media (max-width: 780px) {
  .stm-closing-inner { grid-template-columns: minmax(0, 1fr); }
  .stm-closing-art { max-height: min(66vw, 340px); }
  .stm-closing-scene { width: min(100%, 30rem); gap: .1rem; }
  .stm-closing-eryn { max-height: min(47vw, 245px); }
}
@media (max-width: 455px) {
  .stm-closing .actions { align-items: stretch; }
  .stm-closing .button { flex: 1 1 auto; }
  .stm-closing-board { margin: 0 0 .4rem -.2rem; padding: .55rem; border-radius: 12px; }
  .stm-closing-board li { gap: .28rem; padding-inline: .25rem; }
  .stm-closing-board .service-icon { flex-basis: 17px; width: 17px; height: 17px; }
  .stm-closing-board .service-icon svg { width: 16px; height: 16px; }
  .stm-closing-scene-map {
    grid-template-columns: minmax(0, .25fr) minmax(200px, 1fr);
    width: calc(100% + 1.5rem);
  }
  .stm-closing-map { padding: .28rem; margin: 0; }
  .stm-closing-map iframe { border-radius: 8px; min-height: 200px; }
}

