/* ============================================================
   THE PROFIT SYSTEM - the proof section (2026-09-23)
   Josh's clients from before The Profit System, in their own
   words. Shared by / and /agency. Built on the site tokens
   (--ink, --green, --line, --r ...) defined in each page's <style>.
   How to add a review: ventures/the-profit-system/README.md,
   "Proof section".

   CLAIM RULES:
   - CUT ONLY. Words are removed from quotes and videos; nothing
     is ever added, swapped or re-voiced. "..." marks a cut
     inside a written quote.
   - The old firm's name is cut from every quote and video
     (Josh's decision, 2026-09-23).
   - No co-founder, owner or equity holder of this business ever
     appears as a reviewer here.
   - The footnote under each block says these owners worked with
     Josh BEFORE The Profit System began. It stays.
   ============================================================ */

.pf blockquote { margin: 0; }
.proof-band { border-top: 1px solid var(--line); }

/* ---------- "Testimonials" jump button under the hero stars ---------- */
.proof-jump { margin-top: 14px; padding: 9px 18px; font-size: 14px; gap: 8px; }
.proof-jump span { font-size: 15px; line-height: 1; transition: transform .15s ease; }
.proof-jump:hover span { transform: translateY(2px); }

/* ---------- five stars under every review ----------
   The hero's gold glint (same gradient, same star shape), smaller,
   and staggered so the rows don't all flash at once. */
.pf-stars { display: block; width: 105px; height: 18px; margin: 14px 0 0;
  background: linear-gradient(110deg, #C98A0B 0%, #F2B01E 30%, #FFE9A3 46%, #FFFBEA 50%, #FFE9A3 54%, #F2B01E 70%, #C98A0B 100%);
  background-size: 300% 100%; background-position: 100% 0; animation: pf-glint 3.2s ease-in-out infinite;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 26'%3E%3Cpath d='M13 1.5l3.4 7.3 7.9.9-5.9 5.4 1.6 7.8L13 19l-7 3.9 1.6-7.8L1.7 9.7l7.9-.9z'/%3E%3C/svg%3E") 0 0 / 21px 18px repeat-x;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 26'%3E%3Cpath d='M13 1.5l3.4 7.3 7.9.9-5.9 5.4 1.6 7.8L13 19l-7 3.9 1.6-7.8L1.7 9.7l7.9-.9z'/%3E%3C/svg%3E") 0 0 / 21px 18px repeat-x;
  filter: drop-shadow(0 1px 1px rgba(201,138,11,.25)); }
.pf-feature .pf-stars { width: 125px; height: 22px; -webkit-mask-size: 25px 22px; mask-size: 25px 22px; margin-top: 16px; }
.pf-feature + .pf-feature .pf-stars,
.pf-card:nth-child(2) .pf-stars,
.pf-w:nth-child(2) .pf-stars { animation-delay: .6s; }
.pf-card:nth-child(1) .pf-stars,
.pf-w:nth-child(3) .pf-stars { animation-delay: 1.2s; }
@keyframes pf-glint { 0%, 15% { background-position: 100% 0; } 60%, 100% { background-position: 0% 0; } }

/* ---------- video frame + play button ---------- */
.pf-vid { position: relative; border-radius: var(--r); overflow: hidden; background: var(--ink); aspect-ratio: 9 / 16; }
.pf-vid video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; background: var(--ink); }
.pf-js .pf-vid:not(.is-playing) { cursor: pointer; }
.pf-js .pf-vid::after { content: ""; position: absolute; inset: auto 0 0 0; height: 42%; background: linear-gradient(to top, rgba(13,15,18,.6), rgba(13,15,18,0)); pointer-events: none; transition: opacity .2s ease; }
.pf-vid.is-playing::after { opacity: 0; }
.pf-play { display: none; position: absolute; z-index: 1; left: 50%; bottom: 16px; transform: translateX(-50%); align-items: center; gap: 10px; padding: 8px 18px 8px 8px; border-radius: 999px; border: 0; background: #fff; color: var(--ink); font: 700 14.5px/1 var(--sans); letter-spacing: -.01em; cursor: pointer; white-space: nowrap; box-shadow: 0 2px 4px rgba(13,15,18,.14), 0 12px 28px -8px rgba(13,15,18,.55); transition: transform .15s ease, box-shadow .15s ease; }
.pf-play i { width: 34px; height: 34px; border-radius: 50%; background: var(--green); display: grid; place-items: center; flex: none; box-shadow: 0 4px 12px -4px rgba(11,138,75,.6); }
.pf-play i::before { content: ""; border-left: 11px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }
.pf-play small { font: 500 12.5px/1 var(--mono); color: var(--ink-3); }
.pf-play:hover, .pf-vid:hover .pf-play { transform: translateX(-50%) translateY(-2px); box-shadow: 0 2px 4px rgba(13,15,18,.14), 0 18px 34px -10px rgba(13,15,18,.6); }
.pf-play:hover i, .pf-vid:hover .pf-play i { background: #0FA35A; }
.pf-play:focus-visible { outline: 2px solid var(--green-2); outline-offset: 3px; }
.pf-js .pf-play { display: inline-flex; }
.pf-vid.is-playing .pf-play { display: none; }

/* ---------- shared text ---------- */
.pf-tag { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--green); margin: 0; }
.pf-q { margin: 12px 0 0; font-size: 16px; line-height: 1.55; color: var(--ink); letter-spacing: -.01em; }
.pf-q-lg { font-size: clamp(19px, 2.2vw, 24px); line-height: 1.38; font-weight: 700; letter-spacing: -.022em; }
.pf-who { display: flex; flex-direction: column; margin: 14px 0 0; line-height: 1.4; }
.pf-who b { font-size: 16px; letter-spacing: -.01em; }
.pf-who span { font-size: 14px; color: var(--ink-2); }
.pf-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pf-facts span { font-size: 12.5px; font-weight: 700; padding: 6px 11px; border-radius: 999px; background: var(--green-3); border: 1px solid #CDEBDA; color: #075E33; }
.pf-foot { font-size: 13px; line-height: 1.55; color: var(--ink-2); text-align: center; max-width: 72ch; margin: 20px auto 0; }

/* ---------- featured: video left, words right ---------- */
.pf-feature { display: grid; grid-template-columns: 1fr; gap: clamp(18px, 3vw, 44px); align-items: center; border: 1px solid var(--line); border-radius: calc(var(--r) + 4px); background: #fff; padding: 12px; box-shadow: var(--shadow); }
@media (min-width: 760px) { .pf-feature { grid-template-columns: minmax(230px, 300px) 1fr; padding: 14px clamp(24px, 4vw, 52px) 14px 14px; } }
@media (max-width: 759px) { .pf-feature .pf-vid { aspect-ratio: 4 / 5; } .pf-feature .pf-body { padding: 2px 8px 12px; } }
.pf-feature + .pf-feature { margin-top: 16px; }

/* ---------- two video cards ----------
   Wide screens: video beside the words. Mid widths: two stacked
   cards side by side. Phones: a swipe row. */
.pf-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.pf-card { border: 1px solid var(--line); border-radius: calc(var(--r) + 4px); background: #fff; padding: 12px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.pf-card .pf-vid { aspect-ratio: 4 / 5; }
.pf-card .pf-body { padding: 0 6px 6px; display: flex; flex-direction: column; flex: 1; }
.pf-card .pf-q { font-size: 15.5px; margin-bottom: 14px; }
.pf-card .pf-stars { margin-top: auto; } /* stars + name sit level across the row */
.pf-card .pf-who { margin-top: 12px; }
/* compact play button: the card frames are narrower than the featured one */
.pf-card .pf-play { gap: 8px; padding: 6px 14px 6px 6px; font-size: 13.5px; bottom: 12px; }
.pf-card .pf-play i { width: 30px; height: 30px; }
.pf-card .pf-play small { font-size: 11.5px; }
@media (max-width: 360px) { .pf-card .pf-play small { display: none; } }
@media (min-width: 1000px) {
  .pf-card { display: grid; grid-template-columns: minmax(180px, 214px) 1fr; gap: clamp(18px, 2vw, 26px); align-items: center; padding: 12px 24px 12px 12px; }
  .pf-card .pf-vid { aspect-ratio: 9 / 16; }
  .pf-card .pf-body { padding: 0; display: block; }
  .pf-card .pf-q { margin-top: 0; font-size: 16px; }
}
/* an odd card out: from 880px the last card takes the whole row, video beside the words, so the grid never
   ends on a gap (as the written reviews do). Phones keep the swipe row. Added 25 Sep when Jamarl made five;
   Cheryl made six the same day, so today it waits for the next odd count. */
@media (min-width: 880px) {
  .pf-grid > .pf-card:last-child:nth-child(odd) { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(180px, 214px) minmax(0, 1fr); gap: clamp(18px, 2vw, 26px); align-items: center; padding: 12px 24px 12px 12px; }
  .pf-grid > .pf-card:last-child:nth-child(odd) .pf-vid { aspect-ratio: 9 / 16; }
  .pf-grid > .pf-card:last-child:nth-child(odd) .pf-body { padding: 0; display: block; max-width: 62ch; }
  .pf-grid > .pf-card:last-child:nth-child(odd) .pf-q { margin-top: 0; font-size: 16px; }
}
.pf-swipe { display: none; }
@media (max-width: 879px) {
  .pf-grid { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: min(80%, 330px); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) 12px; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .pf-grid::-webkit-scrollbar { display: none; }
  .pf-card { scroll-snap-align: start; }
  .pf-swipe { display: block; margin: 18px 0 0; text-align: right; font-size: 13px; font-weight: 700; color: var(--green); }
}

/* ---------- written reviews ---------- */
.pf-written { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
/* two written reviews (25 Sep, while one card waits on a source check): two full columns, in line with the video cards above, never a gap */
@media (min-width: 880px) { .pf-written:has(> .pf-w:nth-of-type(2):last-of-type) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 879px) {
  .pf-written { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: min(84%, 340px); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) 12px; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .pf-written::-webkit-scrollbar { display: none; }
  .pf-w { scroll-snap-align: start; }
}
.pf-w { margin: 0; border: 1px solid var(--line); border-radius: calc(var(--r) + 4px); background: #fff; padding: clamp(20px, 2.5vw, 26px); display: flex; flex-direction: column; box-shadow: var(--shadow); }
.pf-pull { margin: 0; font-size: 18px; font-weight: 800; line-height: 1.28; letter-spacing: -.02em; }
.pf-w .pf-q { font-size: 15px; color: var(--ink-2); margin: 10px 0 16px; }
.pf-w .pf-stars { margin-top: auto; } /* stars + name sit level across the row */
.pf-w figcaption { display: flex; align-items: center; gap: 12px; margin-top: 0; padding-top: 14px; }
.pf-w img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex: none; background: var(--bg-soft); }
.pf-w figcaption .pf-who { margin: 0; }
.pf-w figcaption .pf-who span { font-size: 13.5px; }

/* ---------- /agency ---------- */
.pf-agency { margin-top: clamp(26px, 4vw, 40px); text-align: left; }
@media (min-width: 760px) { .pf-agency .pf-feature { grid-template-columns: minmax(200px, 240px) 1fr; } }

@media (prefers-reduced-motion: reduce) {
  .pf-play, .pf-vid::after, .proof-jump span { transition: none; }
  .pf-play:hover, .pf-vid:hover .pf-play { transform: translateX(-50%); }
  .pf-stars { animation: none; background-position: 0 0; } /* solid gold, not the glint frozen mid-sweep */
}
