/* ==========================================================================
   Social proof & reviews — the home proof block (.quotes / .quote / .press),
   the James Hoffmann video card, the reviews-page intro, and the mobile
   swipe-slider treatment of the quotes.
   ========================================================================== */

/* ------------------------------ Social proof ---------------------------- */
.proof {
  text-align: center;
}

.proof h2 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  max-width: 20ch;
  margin-inline: auto;
}

.quotes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(26px, 4vw, 44px);
  max-width: 900px;
  margin: 44px auto 0;
  text-align: left;
}

.quote {
  margin: 0;
}

.quote blockquote {
  margin: 0;
  font-size: 1.22rem;
  line-height: 1.5;
  color: var(--color-body);
}

.quote cite {
  display: block;
  margin-top: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  font-style: normal;
  color: var(--color-muted);
}

/* Featured-in press strip. */
.press {
  text-align: center;
  margin-top: 52px;
}

.press__label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-faint);
}

.press__logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(28px, 6vw, 64px);
  margin-top: 22px;
}

.press__logos img {
  height: 30px;
  width: auto;
  /* Logos ship as white artwork — perfect on dark, just dim them a touch. */
  opacity: 0.75;
  transition: opacity 0.15s ease;
}

.press__logos img:hover {
  opacity: 1;
}

/* Wherever the reviews would otherwise drop to a single column, show them as a
   swipeable slider instead — one card full with the next peeking at the right
   edge to invite a horizontal scroll. Full-bleed to the screen edges (negative
   margin) with the first card re-inset to the content. */
@media (max-width: 860px) {
  .quotes {
    display: flex;
    grid-template-columns: none;
    max-width: none;
    gap: 14px;
    margin-top: 28px;
    margin-inline: calc(-1 * clamp(20px, 4vw, 48px));
    padding-inline: clamp(20px, 4vw, 48px);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: clamp(20px, 4vw, 48px);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .quotes::-webkit-scrollbar {
    display: none;
  }

  .quote {
    flex: 0 0 84%;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    padding: 22px 20px;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
  }

  .quote blockquote {
    font-size: 1.12rem;
  }

  .quote cite {
    margin-top: auto;
    padding-top: 14px;
  }
}

/* James Hoffmann video card (clickable → YouTube). */
.hoff {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 26px);
  max-width: 680px;
  margin: 44px auto;
  padding: 12px;
  text-align: left;
  /* Lighter than the section, plus a drop shadow, so the card lifts off. */
  background: #232323;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  transition: border-color 0.12s ease, transform 0.12s ease, box-shadow 0.12s ease;
}

.hoff:hover {
  text-decoration: none;
  border-color: var(--color-faint);
  transform: translateY(-2px);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.6);
}

.hoff__thumb-wrap {
  position: relative;
  flex: none;
  width: 208px;
  max-width: 45%;
}

.hoff__thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.hoff__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hoff__play::before {
  content: "";
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.72);
  border: 2px solid #fff;
}

.hoff__play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-40%, -50%);
  border-style: solid;
  border-width: 8px 0 8px 14px;
  border-color: transparent transparent transparent #fff;
}

.hoff__body {
  min-width: 0;
}

.hoff__title {
  display: block;
  color: var(--color-text);
  font-weight: 700;
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  line-height: 1.25;
}

.hoff__video {
  color: var(--color-accent);
  font-weight: 600;
  font-size: 0.95rem;
  margin: 6px 0 0;
}

@media (max-width: 560px) {
  .hoff {
    flex-direction: column;
    text-align: center;
  }

  .hoff__thumb-wrap {
    width: 100%;
    max-width: 100%;
  }
}

/* Reviews page — reuses .quotes / .quote, adds a per-review title + stars. */
.reviews-intro {
  text-align: center;
}

.reviews-intro h1,
.brew-hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
}

.quote__title {
  display: block;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 6px;
}

.quote .stars {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.quote__meta {
  color: var(--color-faint);
}

/* The full reviews list runs wider, and goes 3-up on large screens. */
.reviews-all {
  max-width: none;
}

@media (min-width: 1024px) {
  .reviews-all {
    grid-template-columns: repeat(3, 1fr);
  }
}