/* Client results: a continuous ruled table, followed by the client's voice. */
#s4 {
  --results-line:#dedee5;
  --results-inset:clamp(32px,4vw,64px);
  --results-cell-pad:clamp(24px,3vw,44px);
  color:#1a1a1a;
}

#s4 .slide-inner { max-width:1480px; }
#s4 h2 { margin:0 0 34px; }

.results-grid {
  position:relative;
  width:100%;
  border-inline:1px solid var(--results-line);
}

/* The two inside rails continue through both the metrics and the quote. */
.results-grid::before {
  content:'';
  position:absolute;
  inset:0 var(--results-inset);
  border-inline:1px solid var(--results-line);
  pointer-events:none;
}

.results-rail {
  position:relative;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  padding-inline:var(--results-inset);
}

.results-rail::before,
.results-rail::after,
.results-testimonial::after {
  content:'';
  position:absolute;
  left:50%;
  width:100vw;
  height:1px;
  transform:translateX(-50%);
  background:var(--results-line);
  pointer-events:none;
}

.results-rail::before { top:0; }
.results-rail::after,
.results-testimonial::after { bottom:0; }

.result-metric {
  min-width:0;
  padding:25px var(--results-cell-pad) 29px;
}

.result-metric+.result-metric { border-left:1px solid var(--results-line); }

.result-number {
  font-family:'GT Alpina',Georgia,serif;
  font-weight:100;
  font-size:clamp(88px,7.2vw,116px);
  line-height:1;
  letter-spacing:-.055em;
  white-space:nowrap;
}

.result-number>span {
  font-size:.68em;
  letter-spacing:-.045em;
  margin-left:3px;
}

.result-label {
  margin-top:14px;
  max-width:25ch;
  font-family:'Geist',Arial,sans-serif;
  font-size:20px;
  font-weight:400;
  line-height:1.3;
  letter-spacing:-.015em;
  color:#1a1a1a;
}

.results-testimonial {
  position:relative;
  margin:0;
  padding:28px calc(var(--results-inset) + var(--results-cell-pad)) 30px;
}

.results-testimonial blockquote { margin:0; }

.testimonial-mark {
  display:block;
  width:fit-content;
  height:28px;
  margin-bottom:16px;
  font-family:'Geist',Arial,sans-serif;
  font-size:48px;
  font-weight:600;
  line-height:1;
}

.testimonial-text {
  max-width:38em;
  font-family:'Geist',Arial,sans-serif;
  font-size:clamp(26px,2.4vw,36px);
  font-weight:400;
  line-height:1.35;
  letter-spacing:-.025em;
  text-wrap:pretty;
}

.results-testimonial figcaption {
  display:flex;
  flex-direction:column;
  gap:2px;
  margin-top:25px;
  font-family:'Geist',Arial,sans-serif;
  font-size:20px;
  font-weight:400;
  line-height:1.3;
  letter-spacing:-.015em;
}

.testimonial-name { font-weight:500; }

@media(min-width:901px) and (max-height:800px) {
  #s4 h2 { margin-bottom:26px; }
  .result-metric { padding-block:21px 23px; }
  .result-number { font-size:88px; }
  .result-label { margin-top:12px; }
  .results-testimonial { padding-block:24px 26px; }
  .testimonial-mark { margin-bottom:12px; }
  .testimonial-text { font-size:30px; }
  .results-testimonial figcaption { margin-top:21px; }
}

@media(max-width:900px) {
  #s4 { --results-inset:24px; --results-cell-pad:20px; }
  .result-number { font-size:clamp(62px,9vw,80px); }
  .result-label { font-size:18px; }
  .testimonial-text { font-size:27px; }
}

@media(max-width:700px) {
  #s4 { --results-inset:0px; --results-cell-pad:12px; }
  #s4 h2 { margin-bottom:28px; max-width:16ch; }
  .result-metric { padding-block:20px 22px; }
  .result-number { font-size:clamp(46px,12vw,70px); }
  .result-number>span { margin-left:1px; }
  .result-label { margin-top:10px; font-size:14px; line-height:1.3; letter-spacing:-.025em; }
  .results-testimonial { padding:24px calc(var(--results-inset) + var(--results-cell-pad)) 27px; }
  .testimonial-mark { height:25px; font-size:42px; margin-bottom:13px; }
  .testimonial-text { font-size:24px; line-height:1.4; }
  .results-testimonial figcaption { margin-top:23px; font-size:18px; }
}

@media(max-width:360px) {
  #s4 { --results-cell-pad:6px; }
  .result-label { font-size:13px; }
}
