/* Testimonials page
   ========================================================================== */

.testimonials-page { background: #f5f5f5; color: #191919; }
.testimonials-page .site-header, .testimonials-page .copyright { color: var(--color-white); }
.testimonials-page .site-header { background: var(--header-gradient); }
.testimonials-kicker { margin: 0 0 14px; color: var(--color-red); font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.featured-testimonial { display: grid; gap: 50px; max-width: 1210px; margin: auto; padding: 190px 0 135px; }
.featured-copy { max-width: 720px; }
.featured-copy h1, .section-heading h2, .reviews-heading h2, .testimonials-cta h2 { margin: 0 0 25px; font-size: clamp(2.4rem, 4vw, 4.1rem); line-height: 1.02; letter-spacing: -.025em; }
.featured-copy > p:last-child { margin: 0; color: #555; font-size: 19px; line-height: 1.45; }
.featured-media { position: relative; display: grid; grid-template-columns: minmax(300px, 38%) 1fr; align-items: stretch; }
.featured-media video { display: block; order: 2; width: 100%; height: 430px; background: #07141c; object-fit: cover; }
.featured-media blockquote { position: relative; display: flex; order: 1; flex-direction: column; justify-content: center; width: 100%; min-height: 430px; margin: 0; padding: 38px 42px; overflow: hidden; background: var(--color-red-dark); color: #fff; }
.featured-media blockquote > span { position: absolute; top: -32px; right: 18px; color: rgb(255 255 255 / 12%); font-family: Georgia, serif; font-size: 210px; line-height: 1; pointer-events: none; }
.featured-media blockquote p { position: relative; margin: 0 0 24px; font-size: 20px; font-style: italic; line-height: 1.3; }
.featured-media blockquote footer { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: 15px; line-height: 1.25; }
.featured-media blockquote footer strong { max-width: 55%; }
.featured-media blockquote footer img { flex: 0 0 auto; width: 120px; height: 46px; object-fit: contain; object-position: right center; }
.highlight-notes { padding: 105px max(var(--page-gutter), calc((100vw - 1210px) / 2)) 115px; overflow: hidden; background: #e9e7e4; }
.highlight-notes-heading { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-bottom: 30px; }
.highlight-notes-heading .testimonials-kicker { margin: 0; }
.highlight-notes-heading h2 { margin: 0; font-size: clamp(2.4rem, 4vw, 4rem); line-height: 1; letter-spacing: -.025em; }
.notes-controls { display: flex; gap: 10px; }
.notes-arrow { display: grid; width: 48px; height: 48px; padding: 0; border: 1px solid #191919; border-radius: 50%; background: transparent; color: #191919; cursor: pointer; place-items: center; font: inherit; font-size: 24px; transition: background-color var(--transition-fast), color var(--transition-fast), opacity var(--transition-fast); }
.notes-arrow:hover:not(:disabled) { background: #191919; color: #fff; }
.notes-arrow:disabled { cursor: default; opacity: .25; }
.notes-track { display: grid; grid-auto-columns: calc((100% - 40px) / 3); grid-auto-flow: column; gap: 20px; overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none; }
.notes-track::-webkit-scrollbar { display: none; }
.note-card { display: flex; flex-direction: column; min-height: 330px; padding: 30px; border-top: 4px solid var(--color-red); background: #f5f5f5; scroll-snap-align: start; }
.note-card span { color: var(--color-red); font-size: 14px; font-weight: 700; letter-spacing: .1em; }
.note-card p { margin: 35px 0 30px; font-size: 22px; font-weight: 500; line-height: 1.28; }
.note-card footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 48px; margin-top: auto; padding-top: 20px; border-top: 1px solid #ccc; }
.note-card footer strong { max-width: 55%; font-size: 15px; line-height: 1.15; }
.note-card footer img { width: 105px; height: 42px; object-fit: contain; object-position: right center; filter: brightness(0); }
.notes-dots { display: flex; justify-content: center; gap: 8px; margin-top: 30px; }
.notes-dots span { width: 7px; height: 7px; border-radius: 50%; background: #aaa; transition: width var(--transition-fast), background-color var(--transition-fast); }
.notes-dots span.is-active { width: 25px; border-radius: 10px; background: var(--color-red); }
.interviews-section { padding: 110px max(var(--page-gutter), calc((100vw - 1210px) / 2)) 125px; background: #111; color: #fff; }
.section-heading { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 70px; margin-bottom: 65px; }
.section-heading h2 { max-width: 720px; margin: 0; }
.section-heading > p { margin: 0 0 6px; color: #bbb; font-size: 18px; line-height: 1.4; }
.interview-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 55px 28px; }
.interview-card { min-width: 0; }
.interview-card video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #280808; object-fit: cover; }
.interview-card > div { padding: 22px 4px 0; }
.interview-card span { color: #ff4b4b; font-size: 13px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.interview-card h3 { margin: 5px 0 4px; font-size: 28px; line-height: 1.15; }
.interview-card p { margin: 0; color: #aaa; font-size: 16px; }
.reviews-section { display: grid; grid-template-columns: 340px 1fr; gap: 80px; max-width: 1210px; margin: auto; padding: 125px 0; }
.reviews-heading h2 { font-size: 42px; }
.reviews-grid { display: grid; gap: 18px; }
.reviews-grid blockquote { margin: 0; padding: 32px 36px; border-left: 4px solid var(--color-red); background: #e9e7e4; }
.reviews-grid blockquote p { margin: 0 0 22px; font-size: 19px; font-style: italic; line-height: 1.4; }
.reviews-grid footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.reviews-grid footer > div { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 10px; }
.reviews-grid footer span { color: #666; font-size: 14px; }
.reviews-grid footer img { flex: 0 0 auto; width: 112px; height: 42px; object-fit: contain; object-position: right center; filter: brightness(0); }
.testimonials-cta { padding: 100px var(--page-gutter); background: var(--color-red-footer); color: #fff; text-align: center; }
.testimonials-cta .testimonials-kicker { color: #ff9a9a; }
.testimonials-cta h2 { margin-bottom: 32px; }
.client-brands-section { padding: 115px max(var(--page-gutter), calc((100vw - 1210px) / 2)) 125px; background: #fff; }
.client-brands-section h2 { margin: 0 0 58px; font-size: clamp(2.4rem, 4vw, 4rem); line-height: 1.05; letter-spacing: -.025em; text-align: center; }
.client-brands-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; }
.client-brands-grid li { display: grid; min-width: 0; min-height: 142px; padding: 25px; overflow: hidden; border-right: 1px dotted var(--color-red); border-bottom: 1px dotted var(--color-red); background: #fff; place-items: center; }
.client-brands-grid li:nth-child(5n) { border-right: 0; }
.client-brands-grid li:last-child { border-bottom: 0; }
.client-brands-grid li:last-child:nth-child(5n + 1) { grid-column: 1 / -1; border-right: 0; }
.client-brands-grid li:last-child:nth-child(5n + 1) img { width: calc(20% - 40px); }
.client-brands-grid img { display: block; width: 100%; height: 78px; opacity: .5; object-fit: contain; object-position: center; transform: scale(var(--logo-scale, 1)); transform-origin: center; }
.client-brands-grid .logo-zoom-sm { --logo-scale: 1.12; }
.client-brands-grid .logo-zoom-md { --logo-scale: 1.28; }
.client-brands-grid .logo-zoom-lg { --logo-scale: 1.48; }
.client-brands-grid .logo-zoom-xl { --logo-scale: 1.72; }
.client-brands-grid .logo-zoom-xxl { --logo-scale: 1.95; }

@media (max-width: 1200px) { .featured-testimonial, .reviews-section { margin-inline: var(--page-gutter); } }
@media (max-width: 1100px) {
  .client-brands-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .client-brands-grid li:nth-child(5n) { border-right: 1px dotted var(--color-red); }
  .client-brands-grid li:nth-child(3n) { border-right: 0; }
  .client-brands-grid li:last-child:nth-child(3n + 1) { grid-column: 1 / -1; border-right: 0; }
  .client-brands-grid li:last-child:nth-child(3n + 1) img { width: calc(33.333% - 33px); }
}
@media (max-width: 900px) {
  .featured-testimonial { gap: 50px; padding-block: 145px 100px; }
  .featured-copy { max-width: 650px; }
  .featured-media { width: 100%; }
  .notes-track { grid-auto-columns: calc((100% - 20px) / 2); }
  .section-heading { grid-template-columns: 1fr; gap: 20px; }
  .reviews-section { grid-template-columns: 1fr; gap: 35px; padding-block: 90px; }
  .reviews-heading { max-width: 620px; }
}
@media (max-width: 580px) {
  .featured-testimonial, .reviews-section { margin-inline: 24px; }
  .featured-testimonial { padding-block: 130px 75px; }
  .featured-media { min-height: 0; }
  .featured-media { grid-template-columns: 1fr; }
  .featured-media video { order: 1; width: 100%; height: auto; aspect-ratio: 16 / 9; }
  .featured-media blockquote { order: 2; width: 100%; min-height: 0; padding: 28px 24px; }
  .featured-media blockquote p { font-size: 18px; }
  .featured-media blockquote footer { gap: 12px; }
  .featured-media blockquote footer img { width: 90px; height: 40px; }
  .highlight-notes { padding: 70px 24px 75px; }
  .highlight-notes-heading { margin-bottom: 24px; }
  .notes-controls { align-self: flex-end; }
  .notes-arrow { width: 43px; height: 43px; }
  .notes-track { grid-auto-columns: 100%; }
  .note-card { min-height: 250px; padding: 26px; }
  .note-card p { font-size: 20px; }
  .note-card footer { gap: 12px; }
  .note-card footer strong { max-width: calc(100% - 102px); }
  .note-card footer img { width: 90px; }
  .interviews-section { padding: 75px 24px 85px; }
  .interview-grid { grid-template-columns: 1fr; gap: 42px; }
  .reviews-section { padding-block: 75px; }
  .reviews-grid blockquote { padding: 27px 24px; }
  .reviews-grid footer > div { align-items: flex-start; flex-direction: column; gap: 1px; }
  .testimonials-cta { padding: 75px 24px; }
  .client-brands-section { padding: 75px 24px 85px; }
  .client-brands-section h2 { margin-bottom: 38px; text-align: left; }
  .client-brands-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .client-brands-grid li:nth-child(3n) { border-right: 1px dotted var(--color-red); }
  .client-brands-grid li:last-child:nth-child(5n + 1),
  .client-brands-grid li:last-child:nth-child(3n + 1) { grid-column: auto; }
  .client-brands-grid li:last-child:nth-child(5n + 1) img,
  .client-brands-grid li:last-child:nth-child(3n + 1) img { width: 100%; }
  .client-brands-grid li:nth-child(2n) { border-right: 0; }
  .client-brands-grid li:nth-last-child(-n + 2) { border-bottom: 0; }
  .client-brands-grid li:nth-last-child(2):nth-child(even) { border-bottom: 1px dotted var(--color-red); }
  .client-brands-grid li:last-child:nth-child(odd) { grid-column: 1 / -1; border-right: 0; }
  .client-brands-grid li:last-child:nth-child(odd) img { width: calc(50% - 18px); }
  .client-brands-grid li { min-height: 112px; padding: 18px; }
  .client-brands-grid img { height: 64px; }
}
