/* proof.css — the reviews block and the one-line figure (src/layouts/Proof.ts).
   No :root, no reset, no body{}: it loads beside legacy page sheets
   (/pricing) as well as the Layout pages (/hire, /services/:slug), all of
   which are dark. Colours are literal or fall back, because the legacy
   sheets do not all define the same custom properties. */

.proof {
  padding: 4.5rem var(--gutter, 1.5rem);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: #fff;
}
.proof-inner {
  max-width: 1120px;
  margin: 0 auto;
}
.proof-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  margin-bottom: 1.75rem;
}
.proof-title {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0;
}
.proof-line {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}
.proof-line strong { color: #fff; }
.proof-line:hover { color: #fff; }
.proof-stars {
  color: var(--amber, #D97706);
  letter-spacing: 0.08em;
  font-size: 0.85rem;
}
.proof-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.proof-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
}
.proof-card blockquote { margin: 0; }
.proof-card blockquote p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.86);
}
.proof-who {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.55);
}
.proof-name {
  display: block;
  font-weight: 600;
  color: #fff;
  font-size: 0.88rem;
}
.proof-all {
  display: inline-block;
  margin-top: 1.25rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.72);
}
.proof-all:hover { color: #fff; }

/* Phone: one swipeable row rather than three stacked cards. Stacked, the
   block cost about 900px; as a row it costs one card, which is what fits
   /pricing's phone budget. Native scroll-snap, no script. */
@media (max-width: 760px) {
  .proof { padding: 2rem var(--gutter, 1.25rem); }
  .proof-head { margin-bottom: 0.9rem; }
  /* The heading stays for screen readers; on a phone the figure line says
     the same thing in a third of the height, and it links /reviews, which
     is why the closing link goes too. */
  .proof-title {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
  }
  .proof-all { display: none; }
  .proof-list {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter, 1.25rem);
    gap: 0.75rem;
    margin: 0 calc(-1 * var(--gutter, 1.25rem));
    padding: 0 var(--gutter, 1.25rem) 0.25rem;
    scrollbar-width: none;
  }
  .proof-list::-webkit-scrollbar { display: none; }
  .proof-card {
    flex: 0 0 84%;
    scroll-snap-align: start;
    padding: 1rem 1.1rem;
    gap: 0.75rem;
  }
  .proof-card blockquote p { font-size: 0.9rem; line-height: 1.5; }
}
