/* /testimonials case-study carousel (Amit, Nov 24: "build", drawing JMkyceKnwJppAnMArT3ChD v3). Green slanted hero band as
   on the homepage stories section, tabs per dealership, then one white case-study card per slide: text on the left,
   storefront video cover on the right (on phones the cover sits on top). Script: tc-20261124.js. New file for the cache.
   tc-20261124b (Amit, Nov 24): names smaller, dealer logos about twice as tall; transcript expander removed from the page.
   tc-20261124c (Amit, Nov 24): no "Case study" label; name and title on one line, "Lou · Sales Manager at ..."; dealer tabs removed from the hero (arrows and dots remain).
   tc-20261124d (Amit, Nov 24): fact tags removed; button sits 28px under the description (24px on phones). */
.tc-hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; text-align: center;
  padding: calc(var(--nav-h) + var(--s-4) + 64px) var(--gutter) 176px; }
.tc-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; clip-path: polygon(0 0, 100% 0, 100% 72%, 0 100%);
  background: radial-gradient(60% 80% at 85% 10%, rgba(82,192,153,.28), transparent 70%), linear-gradient(120deg, #03392a, #021710 70%); }
.tc-hero__in { max-width: 760px; margin: 0 auto; }
.tc-eyebrow { margin: 0 0 12px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--mint-400); }
.tc-title { margin: 0; color: #fff; font-size: clamp(2rem, 1.2rem + 3vw, 3.25rem); font-weight: 500; line-height: 1.05; letter-spacing: -0.035em; text-wrap: balance; }
.tc-sub { margin: 16px auto 0; max-width: 40ch; color: #b9cdc5; font-size: var(--fs-lead); line-height: 1.55; }
.tc-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 28px; }
.tc-tab { border: 1px solid rgba(255,255,255,.32); color: #fff; font-size: 14px; font-weight: 600; padding: 9px 16px; border-radius: 999px; text-decoration: none; }
.tc-tab:hover { border-color: var(--mint-300); color: var(--mint-300); }
.tc-tab[aria-current="true"] { background: var(--mint-400); border-color: var(--mint-400); color: var(--green-950); }
.tc-tab:focus-visible { outline: 3px solid var(--mint-300); outline-offset: 3px; }

.tc { position: relative; z-index: 1; max-width: 1120px; margin: -104px auto 0; padding: 0 var(--gutter) 72px; box-sizing: content-box; }
.tc__track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: 24px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 4px 72px; margin: -4px -4px -72px; scroll-padding: 0 4px; }
.tc__track::-webkit-scrollbar { display: none; }
@media (prefers-reduced-motion: no-preference) { .tc__track { scroll-behavior: smooth; } }
.tc-slide { scroll-snap-align: start; scroll-snap-stop: always; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); min-width: 0;
  background: #fff; color: var(--ink); border: 1px solid #e3ebe7; border-radius: 16px; overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(2,23,16,.45), 0 2px 8px rgba(2,23,16,.08); scroll-margin-top: calc(var(--nav-h) + 32px); }
.tc-txt { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 40px; min-width: 0; }
.tc-kick { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--green-600); }
.tc-kick img { height: 44px; width: auto; max-width: 260px; object-fit: contain; object-position: left center; }
.tc-name { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.4; color: var(--ink); }
.tc-name__dot { color: var(--text); font-weight: 500; }
.tc-name__role { font-size: 1rem; font-weight: 500; letter-spacing: -0.01em; color: var(--text); }
.tc-quote { margin: 6px 0 0; padding-left: 16px; border-left: 3px solid var(--mint-400); }
.tc-quote p { margin: 0; font-size: 1.1875rem; line-height: 1.45; font-weight: 500; color: var(--ink); }
.tc-sum { margin: 0; font-size: 1rem; line-height: 1.6; color: var(--text); }
.tc-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 0; padding: 0; list-style: none; }
.tc-facts li { font-size: 13px; font-weight: 600; color: var(--green-700); background: var(--mint-50); border-radius: 999px; padding: 4px 11px; }
.tc-acts { margin-top: 14px; padding-top: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.tc-btn { font: inherit; font-size: 15px; font-weight: 600; color: #fff; background: var(--green-800); border: 0; border-radius: 999px; padding: 12px 20px; cursor: pointer; }
.tc-btn:hover { background: var(--green-700); }
.tc-btn:focus-visible, .tc-cover:focus-visible, .tc-arw:focus-visible, .tc-dots button:focus-visible, .tc-transcript summary:focus-visible { outline: 3px solid var(--mint-400); outline-offset: 3px; }
.tc-transcript { width: 100%; }
.tc-transcript summary { cursor: pointer; color: var(--green-700); font-weight: 600; font-size: 15px; border-radius: 4px; }
.tc-transcript p { margin: 12px 0 0; font-size: .9375rem; line-height: 1.7; color: var(--text); max-width: 62ch; }

.tc-media { position: relative; min-height: 480px; background: #0b0d10; }
.tc-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #0b0d10; }
.tc-cover { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer; background: #1d2b26; color: #fff; text-align: left; overflow: hidden; }
.tc-cover[hidden] { display: none; }
.tc-cover__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tc-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(2,23,16,0) 45%, rgba(2,23,16,.78)); }
.tc-cover__play { position: absolute; z-index: 2; left: 50%; top: 46%; transform: translate(-50%, -50%); width: 76px; height: 76px; border-radius: 50%;
  background: rgba(255,255,255,.95); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.tc-cover--sign .tc-cover__play { top: 26%; } /* storefront covers: play button in the sky so the sign stays clear */
.tc-cover__play svg { width: 28px; height: 28px; margin-left: 4px; fill: var(--green-800); }
.tc-cover:hover .tc-cover__play { background: #fff; box-shadow: 0 0 0 6px rgba(82,192,153,.45), 0 10px 30px rgba(0,0,0,.35); }
.tc-cover__who { position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 16px; display: flex; align-items: center; gap: 12px; }
.tc-cover__who img { width: 52px; height: 52px; flex: none; border-radius: 50%; object-fit: cover; object-position: 50% 25%; border: 2px solid #fff; }
.tc-cover__who b { display: block; font-size: 15px; }
.tc-cover__who > span { font-size: 13px; color: rgba(255,255,255,.85); line-height: 1.35; }

.tc-ctrl { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; margin-top: 24px; }
.tc-ctrl[hidden] { display: none; }
.tc-arw { display: grid; place-items: center; flex: none; width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 1px solid #c9d6d1; background: #fff; color: var(--green-800); cursor: pointer; }
.tc-arw svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tc-arw--prev svg { transform: rotate(180deg); }
.tc-arw:hover:not(:disabled) { background: var(--mint-400); border-color: var(--mint-400); color: var(--green-950); }
.tc-arw:disabled { opacity: .35; cursor: default; }
.tc-dots { display: flex; align-items: center; gap: 2px; margin-left: 6px; }
.tc-dots button { display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 999px; background: none; cursor: pointer; }
.tc-dots button::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: #c3cfca; }
.tc-dots button[aria-current="true"] { width: 48px; }
.tc-dots button[aria-current="true"]::before { width: 40px; background: var(--mint-400); }
.tc-count { margin: 0 0 0 auto; font-size: 14px; font-weight: 600; color: var(--muted, #5c6b67); }

.tc-strip { background: linear-gradient(120deg, #03392a, #021710 70%); color: #fff; padding: 32px var(--gutter); }
.tc-strip__in { max-width: 1120px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.tc-strip__t { margin: 0; font-size: clamp(1.25rem, 1rem + .8vw, 1.625rem); font-weight: 600; letter-spacing: -0.02em; }
.tc-strip__t em { font-style: normal; color: var(--mint-400); }
.tc-strip__btn { background: var(--mint-400); color: var(--green-950); font-weight: 600; font-size: 15px; padding: 12px 20px; border-radius: 999px; text-decoration: none; }
.tc-strip__btn:hover { background: var(--mint-300); }
.tc-strip__btn:focus-visible { outline: 3px solid var(--mint-300); outline-offset: 3px; }

@media (max-width: 860px) {
  .tc-hero { padding-bottom: 120px; }
  .tc { margin-top: -80px; padding-bottom: 48px; }
  .tc__track { align-items: start; }
  .tc-slide { grid-template-columns: minmax(0, 1fr); align-content: start; }
  .tc-media { order: -1; min-height: 0; aspect-ratio: 16 / 10; }
  .tc-slide--portrait .tc-media.is-playing { aspect-ratio: 4 / 5; }
  .tc-txt { padding: 24px 20px 26px; gap: 12px; }
  .tc-acts { margin-top: 12px; }
  .tc-quote p { font-size: 1.0625rem; }
  .tc-kick { flex-direction: column; align-items: flex-start; gap: 8px; }
  .tc-kick img { height: 35px; max-width: 220px; }
  .tc-cover__play { width: 62px; height: 62px; }
  .tc-cover__play svg { width: 24px; height: 24px; }
  .tc-cover__who img { width: 44px; height: 44px; }
}
