/* ==========================================================================
   Member stories — shared testimonial cards
   Loaded after style.css / vvip.css, night.css and artwork.css.
   ========================================================================== */

.testimonials {
  position: relative;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.story-card {
  display: flex;
  flex-direction: column;
  min-height: 248px;
  padding: 26px 24px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.section--surface .story-card {
  background: var(--paper);
}

.story-card::before {
  content: "";
  width: 32px;
  height: 2px;
  margin-bottom: 18px;
  background: var(--gold);
}

.story-card__name {
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.story-card__quote {
  margin: 14px 0 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(19px, 2.1vw, 24px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.32;
}

.story-card__meta {
  margin-top: auto;
  padding-top: 20px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}

.story-card__link {
  margin-top: 10px;
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  text-transform: uppercase;
}

.story-card__link:hover {
  color: var(--ink);
}

.testimonials__toolbar,
.testimonials__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.testimonials__toolbar {
  margin-bottom: 22px;
}

.testimonials__foot {
  margin-top: 24px;
}

.testimonials__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.story-next {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.18s var(--ease), color 0.18s var(--ease),
    background-color 0.18s var(--ease);
}

.story-next:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.story-next:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.testimonials__note {
  max-width: 60ch;
  margin-top: 16px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.story-grid--all {
  display: block;
  columns: 2;
  column-gap: 14px;
}

.story-grid--all .story-card {
  display: block;
  min-height: 0;
  margin: 0 0 14px;
  break-inside: avoid;
}

.story-card--full h3 {
  margin: 14px 0 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.story-card__body {
  margin-top: 14px;
}

.story-card__body p {
  margin: 0;
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.7;
}

.story-card__body p + p {
  margin-top: 12px;
}

.story-card--full .story-card__meta {
  padding-top: 18px;
}

@media (max-width: 1020px) {
  .story-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .story-grid {
    grid-template-columns: 1fr;
  }

  .story-card {
    min-height: 0;
  }

  .story-grid--all {
    columns: 1;
  }

  .testimonials__foot {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .story-next {
    transition: none;
  }
}
