/* ============================================================
   Proof: testimonials section + case study pages.
   Kept in its own file so it merges cleanly with the redesign.
   Uses the colour tokens from styles.css.
   ============================================================ */

/* ── Section scaffolding ─────────────────────────────────── */
.proof__group{ margin-top:72px; }
.proof__group:first-of-type{ margin-top:0; }
.proof__label{
  display:flex; align-items:baseline; justify-content:space-between; gap:16px;
  margin-bottom:24px; padding-bottom:14px; border-bottom:1px solid var(--line);
}
.proof__label h3{ font-size:22px; }
.proof__label p{ font-size:15px; color:var(--body); }

/* ── 1 · Term sheets in 24 hours ─────────────────────────── */
.wins{ display:grid; grid-template-columns:1fr 1fr; gap:24px; }
/* light and quiet: same family as the other cards, a faint tint and accent line set them apart */
.win{ margin:0;
  position:relative; padding:28px 30px 26px; border-radius:var(--r); overflow:hidden;
  border:1px solid var(--line); border-top:3px solid var(--accent);
  background:linear-gradient(180deg, rgba(108,99,255,.05), rgba(108,99,255,0) 60%), var(--paper);
  color:var(--ink);
}
.win__tag{
  display:inline-block; padding:5px 12px; border-radius:100px;
  background:rgba(142,160,255,.16); color:#cfd6ff;
  font-size:12.5px; font-weight:600; letter-spacing:.08em; text-transform:uppercase;
}
.win__big{ margin-top:0; font-family:var(--display); font-size:clamp(22px,2.2vw,27px); font-weight:600; line-height:1.2; letter-spacing:-0.02em; color:var(--ink); }
.win blockquote{ margin:12px 0 0; font-size:16px; line-height:1.6; color:var(--ink-2); }
.win__who{ margin-top:18px; padding-top:14px; border-top:1px solid var(--line); display:flex; align-items:center; gap:14px; }
.win__logo{ filter:brightness(0); object-fit:contain; }
.win__who b{ display:block; font-weight:600; color:var(--ink); }
.win__who span{ font-size:14px; color:var(--body); }

/* ── 2 · Case study cards ────────────────────────────────── */
.cases{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.case{
  display:flex; flex-direction:column; border:1px solid var(--line); border-radius:var(--r);
  background:var(--paper); overflow:hidden; transition:border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.case:hover{ border-color:var(--line-2); box-shadow:0 14px 40px rgba(13,17,23,.07); transform:translateY(-3px); }
.case[hidden]{ display:none; }
.case__body{ display:flex; flex-direction:column; flex:1; padding:22px 24px 24px; }
.case__who{ font-size:13.5px; color:var(--body); }
.case h4{ margin:8px 0 10px; font-family:var(--display); font-size:20px; font-weight:600; line-height:1.2; letter-spacing:-0.02em; }
.case__sum{ font-size:15px; color:var(--body); }
.case__quote{ margin:14px 0 0; padding-left:14px; border-left:2px solid var(--accent); font-size:15px; color:var(--ink-2); font-style:italic; }
.case__more{ margin-top:auto; padding-top:18px; font-size:15px; font-weight:600; color:var(--accent-ink); }
.case__more:hover{ text-decoration:underline; text-underline-offset:3px; }

/* video thumbnail (landing) — a button that opens the player */
.vthumb{
  position:relative; display:block; width:100%; aspect-ratio:16/10; padding:0; border:0; cursor:pointer;
  background:linear-gradient(160deg, #0b1650 0%, #071033 55%, #050b22 100%); overflow:hidden;
}
.vthumb img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.vthumb::after{ content:""; position:absolute; inset:0; background:linear-gradient(180deg, transparent 50%, rgba(7,13,43,.45)); }
.vthumb__play{
  position:absolute; left:50%; top:50%; z-index:1; width:62px; height:62px; margin:-31px 0 0 -31px;
  border-radius:50%; background:#fff; box-shadow:0 10px 30px rgba(7,13,43,.35); transition:transform .2s ease;
}
.vthumb__play::before{
  content:""; position:absolute; left:25px; top:19px;
  border-left:17px solid var(--accent); border-top:12px solid transparent; border-bottom:12px solid transparent;
}
.vthumb:hover .vthumb__play{ transform:scale(1.07); }
.vthumb__len{ position:absolute; right:12px; bottom:10px; z-index:1; font-size:12.5px; font-weight:600; color:#fff; }
.vthumb:focus-visible{ outline:3px solid var(--accent); outline-offset:-3px; }

/* written-only case study: a quote panel where the video would be */
.case__panel{
  aspect-ratio:16/10; display:flex; align-items:center; padding:26px;
  background:linear-gradient(140deg, rgba(108,99,255,.12), rgba(108,99,255,.03)); border-bottom:1px solid var(--line);
}
.case__panel p{ font-family:var(--display); font-size:21px; font-weight:500; line-height:1.3; letter-spacing:-0.02em; color:var(--ink); }

/* ── 3 · What founders say (logo + quote cards, raised ones badged) ── */
.tcards{ columns:3; column-gap:22px; }
.tcard{
  break-inside:avoid; margin:0 0 22px; display:flex; flex-direction:column;
  padding:24px 24px 22px; border:1px solid var(--line); border-radius:var(--r); background:var(--paper);
}
/* logos are sized inline to equal area (build script), so they read the same size */
.tcard__logo{ height:48px; display:flex; align-items:center; }
.tcard__logo img{ display:block; object-fit:contain; }
.tcard__word{ font-family:var(--display); font-size:21px; font-weight:700; letter-spacing:-0.02em; color:var(--ink-2); }
/* raise badge sits to the right of the name */
.tcard__tag{
  flex:0 0 auto; padding:6px 12px; border-radius:100px; background:var(--accent-ink); color:#fff;
  font-size:13px; font-weight:600; line-height:1.2; white-space:nowrap;
}
.tcard blockquote{ margin:14px 0 0; font-size:15px; line-height:1.6; color:var(--ink-2); }
.tcard figcaption{ margin-top:16px; padding-top:14px; border-top:1px solid var(--line); font-size:14px;
  display:flex; align-items:center; justify-content:space-between; gap:12px; }
.tcard figcaption b{ display:block; color:var(--ink); }
.tcard figcaption span{ color:var(--body); }

/* ── Video player (modal on the landing page) ────────────── */
.vplayer{ width:min(960px, 94vw); padding:0; border:0; border-radius:14px; background:#000; overflow:visible; }
.vplayer::backdrop{ background:rgba(7,13,43,.82); }
.vplayer video{ display:block; width:100%; max-height:82vh; border-radius:14px; background:#000; }
.vplayer__close{
  position:absolute; right:-6px; top:-46px; width:38px; height:38px; border-radius:50%; border:0; cursor:pointer;
  background:#fff; color:var(--ink); font-size:22px; line-height:38px;
}
.vplayer__msg{ padding:60px 30px; color:#fff; text-align:center; }

/* ── Case study page ─────────────────────────────────────── */
.cs{ padding:72px 0 110px; background:linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%); }
.cs__wrap{ max-width:760px; margin-inline:auto; padding-inline:28px; }
.cs__back{ font-size:14.5px; color:var(--body); }
.cs__back:hover{ color:var(--accent-ink); }
.cs h1{ margin-top:22px; font-size:clamp(32px,4.4vw,52px); letter-spacing:-0.035em; line-height:1.08; }
.cs__by{ margin-top:14px; font-size:16px; color:var(--body); }
.cs__video{ margin:36px 0 8px; border-radius:14px; overflow:hidden; background:#000; }
.cs__video video{ display:block; width:100%; background:#000; }
.cs__body{ margin-top:34px; }
.cs__body h2{ margin:42px 0 12px; font-size:24px; letter-spacing:-0.025em; }
.cs__body p{ margin-top:14px; font-size:17.5px; line-height:1.75; color:var(--ink-2); }
.cs__quote{
  margin:40px 0; padding:28px 30px; border-radius:var(--r);
  background:var(--dark-bg); color:#fff; font-family:var(--display);
  font-size:clamp(21px,2.4vw,27px); line-height:1.35; letter-spacing:-0.015em;
}
.cs__quote cite{ display:block; margin-top:14px; font-family:var(--sans); font-style:normal; font-size:15px; color:var(--dark-body); letter-spacing:0; }
.cs__cta{ margin-top:48px; padding:30px; border:1px solid var(--line); border-radius:var(--r); background:var(--paper); }
.cs__cta p{ font-size:17px; color:var(--ink-2); }
.cs__cta .btn{ margin-top:18px; }
.cs__more{ margin-top:56px; }
.cs__more h2{ font-size:20px; margin-bottom:16px; }
.cs__more ul{ display:grid; gap:10px; }
.cs__more a{ color:var(--accent-ink); font-weight:500; }
.cs__more a:hover{ text-decoration:underline; text-underline-offset:3px; }

@media (max-width:960px){
  .cases{ grid-template-columns:1fr 1fr; }
  .tcards{ columns:2; }
}
@media (max-width:760px){
  .wins, .cases{ grid-template-columns:1fr; }
  .tcards{ columns:1; }
  .proof__label{ flex-direction:column; gap:4px; }
  .cs{ padding:48px 0 80px; }
  .cs__wrap{ padding-inline:20px; }
  .vplayer__close{ right:4px; top:-44px; }
}
.tcard figcaption .tcard__tag{ color:#fff; }
/* term-sheet cards: name on the left, company logo on the right */
.win__who{ justify-content:space-between; }
/* a card with several client logos (e.g. regional partner) */
.tcard__logos{ display:flex; align-items:center; gap:18px; flex-wrap:wrap; }
.tcard__logos img{ display:block; object-fit:contain; }
/* all client logos in one colour: solid black, no brand colours */
.tcard__logo img, .tcard__logos img{ filter:brightness(0); }
/* raise badge beside a name on the term-sheet cards */
.win__who .tcard__tag{ display:table; margin-top:8px; font-size:12.5px; padding:5px 11px; color:#fff; }
