/* Native adaptation of Tailark Testimonials One, discovered on 21st.dev.
   Source and pinned revision: README.md. No React runtime or remote assets.

   MIT License
   Copyright (c) 2025 Irung

   Permission is hereby granted, free of charge, to any person obtaining a copy
   of this software and associated documentation files (the "Software"), to deal
   in the Software without restriction, including without limitation the rights
   to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
   copies of the Software, and to permit persons to whom the Software is
   furnished to do so, subject to the following conditions:

   The above copyright notice and this permission notice shall be included in all
   copies or substantial portions of the Software.

   THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
   IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
   FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
   AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
   LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
   OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
   SOFTWARE.
*/
/* Uniform outcome list: original editorial layout, shared across home/advisory. */
.tf-v2 [data-component="client-stories"] > .shell { max-width:1120px; }
.tf-v2 [data-component="client-stories"] .result-stories {
  display:grid;grid-template-columns:minmax(0,1fr);gap:0;list-style:none;
  padding:0;margin:32px 0 0;border:1px solid var(--result-row-border);
  border-radius:var(--card-radius);background:var(--result-row-surface);
}
.tf-v2 [data-component="client-stories"] .result-story {
  display:grid;grid-template-columns:var(--result-avatar-size) minmax(0,1fr);
  gap:22px;align-items:center;min-width:0;padding:var(--result-row-padding);
  margin:0;background:transparent;border:0;border-radius:0;
}
.tf-v2 [data-component="client-stories"] .result-story + .result-story { border-top:1px solid var(--result-row-border); }
.tf-v2 [data-component="client-stories"] .result-avatar {
  display:block;width:var(--result-avatar-size);height:var(--result-avatar-size);
  border-radius:50%;object-fit:cover;background:var(--surface-soft);
}
.tf-v2 [data-component="client-stories"] .result-initial {
  display:grid;place-items:center;color:var(--color-muted);
  font:500 24px/1 var(--font-body);
}
.tf-v2 [data-component="client-stories"] .result-copy { min-width:0; }
.tf-v2 [data-component="client-stories"] h3.result-person {
  display:block;font:650 17px/1.5 var(--font-body);color:var(--color-ink);
  margin:0 0 4px;max-width:none;letter-spacing:0;
}
.tf-v2 [data-component="client-stories"] .result-person::before { content:none; }
.tf-v2 [data-component="client-stories"] .result-summary {
  font:400 18px/1.6 var(--font-body);color:var(--color-ink);margin:0;
  max-width:70ch;text-wrap:pretty;
}
.tf-v2 .results-disclaimer,.tf-v2 .assessment-context { font-size:14px;line-height:1.7; }
.tf-v2 .results-disclaimer { color:var(--color-muted);margin:20px 0 0; }
.tf-v2 [data-component="client-stories"] .proof-review-note { max-width:85ch;margin-top:16px; }
@media(max-width:700px) {
  .tf-v2 [data-component="client-stories"] { --result-avatar-size:52px;--result-row-padding:20px; }
  .tf-v2 [data-component="client-stories"] .result-story { gap:16px;align-items:start; }
  .tf-v2 [data-component="client-stories"] .result-summary { font-size:16px; }
}
@media(max-width:360px) {
  .tf-v2 [data-component="client-stories"] { --result-avatar-size:44px;--result-row-padding:16px; }
  .tf-v2 [data-component="client-stories"] .result-story { gap:12px; }
}

/* Separate editorial endorsements, not additional roster-client outcomes.
   Static, readable cards; existing one-shot scroll motion enhances them. */
.tf-v2 .ann-testimonials { padding-block:var(--section-space); }
.tf-v2 .ann-testimonials > .shell { max-width:1120px; }
.tf-v2 .testimonials-intro { max-width:760px;margin:0 0 32px; }
.tf-v2 .testimonials-intro h2 {
  font:400 var(--section-title)/1.12 var(--font-display);
  letter-spacing:-.025em;margin:0;text-wrap:pretty;
}
.tf-v2 .testimonials-intro h2 em { color:var(--color-primary);font-style:normal; }
.tf-v2 .testimonials-intro > p { color:var(--color-muted);font-size:16px;line-height:1.6;margin:16px 0 0; }
.tf-v2 .testimonial-grid { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px; }
.tf-v2 :is(.testimonial-card,.testimonial-echo) {
  display:flex;flex-direction:column;gap:28px;margin:0;padding:28px;min-width:0;
  background:var(--testimonial-surface);border:1px solid var(--color-border);
  border-radius:var(--card-radius);
}
.tf-v2 :is(.testimonial-card,.testimonial-echo) blockquote { margin:0; }
.tf-v2 :is(.testimonial-card,.testimonial-echo) blockquote p {
  margin:0;font:500 20px/1.55 var(--font-body);letter-spacing:-.02em;
  color:var(--color-ink);text-wrap:pretty;
}
.tf-v2 :is(.testimonial-card,.testimonial-echo) figcaption {
  display:flex;align-items:center;gap:12px;margin-top:auto;
  color:var(--color-ink);font:600 16px/1.5 var(--font-body);
}
.tf-v2 :is(.testimonial-card,.testimonial-echo) .testimonial-avatar {
  display:block;width:56px;height:56px;flex:0 0 56px;object-fit:cover;
  border-radius:50%;background:var(--primary-soft);
}
.tf-v2 :is(.testimonial-card,.testimonial-echo) .testimonial-initial {
  display:grid;place-items:center;color:var(--color-ink);font-size:22px;
}
.tf-v2 :is(.testimonial-card,.testimonial-echo) small { display:block;font-size:14px;font-weight:400;color:var(--color-muted); }
.tf-v2 .testimonial-review-note { font:400 14px/1.6 var(--font-body);color:var(--color-muted);margin:24px 0 0;max-width:85ch; }
.tf-v2 .testimonial-spotlight > .shell { max-width:820px; }
.tf-v2 .testimonial-spotlight .testimonial-grid { grid-template-columns:minmax(0,1fr); }
.tf-v2 .testimonial-spotlight .testimonial-card { padding:clamp(24px,5vw,48px); }
.tf-v2 .testimonial-spotlight .testimonial-card blockquote p {
  font-size:clamp(24px,3vw,32px);line-height:1.45;
}
.tf-v2 aside.testimonial-spotlight { padding-block:var(--section-space) 0; }

/* One shared frame; inactive slides keep the tallest quote's space. */
.tf-v2 .advisory-voices{padding-block:56px 0}
.tf-v2 .advisory-voices>.shell{max-width:880px}
.tf-v2 .advisory-voices .testimonials-intro{max-width:none;margin:0 auto 30px;text-align:center}
.tf-v2 .advisory-carousel-card{display:flex;flex-direction:column;padding:clamp(22px,4vw,44px);background:var(--testimonial-surface);border:1px solid var(--color-border);border-radius:var(--card-radius)}
.tf-v2 .advisory-carousel-slides{order:1;display:grid;gap:32px}
.tf-v2 .advisory-quote{border:0;border-radius:0;padding:0;background:transparent;gap:28px;text-align:center}
.tf-v2 .advisory-quote+.advisory-quote{padding-top:32px;border-top:1px solid var(--color-border)}
.tf-v2 .advisory-quote blockquote p{font-size:clamp(23px,2.5vw,32px);line-height:1.5}
.tf-v2 .advisory-quote figcaption{justify-content:center;padding-top:4px}
.tf-v2 [data-carousel-ready] .advisory-carousel-slides{gap:0}
.tf-v2 [data-carousel-ready] .advisory-quote{grid-area:1/1;min-height:0;padding:0;border:0}
.tf-v2 [data-carousel-ready] .advisory-quote:not([data-active]){visibility:hidden;pointer-events:none}
.tf-v2 .advisory-carousel-controls{order:2;display:grid;grid-template-columns:44px 1fr 44px;gap:12px;align-items:center;margin-top:28px;padding-top:18px;border-top:1px solid var(--color-border)}
.tf-v2 .advisory-carousel-controls button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0;background:transparent;color:var(--color-ink);border:1px solid var(--color-border);border-radius:999px;cursor:pointer;font:600 13px/1.4 var(--font-body);white-space:nowrap}
.tf-v2 .advisory-carousel-controls button:hover{background:var(--primary-soft);border-color:var(--link-color)}
.tf-v2 .advisory-carousel-controls button:focus-visible{outline:3px solid var(--focus-ring);outline-offset:3px}
.tf-v2 .advisory-carousel-arrow{width:44px}
.tf-v2 .advisory-carousel-arrow svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5}
.tf-v2 .advisory-carousel-pickers{display:flex;align-items:center;justify-content:center;min-width:0}
.tf-v2 .advisory-carousel-pickers button{width:28px;min-width:24px;border:0;border-radius:6px}
.tf-v2 .advisory-carousel-pickers button::before{content:"";width:7px;height:7px;background:var(--color-border);border-radius:50%}
.tf-v2 .advisory-carousel-pickers button[aria-current=true]::before{width:19px;background:var(--link-color);border-radius:8px}
.tf-v2 [data-carousel-reduced] .advisory-carousel-controls{grid-template-columns:44px 1fr 44px}
@media(max-width:600px){.tf-v2 [data-carousel-ready] .advisory-quote{padding:0;min-height:0}.tf-v2 .advisory-carousel-pickers button{width:24px}.tf-v2 .advisory-carousel-controls{gap:8px}}
@media(max-width:480px){
  .tf-v2 .advisory-voices{padding-top:40px}
  .tf-v2 .advisory-carousel-controls{grid-template-columns:44px 1fr 44px;gap:8px 4px}
  .tf-v2 .advisory-carousel-toggle{grid-column:1/-1;grid-row:2;justify-self:center;min-width:76px}
  .tf-v2 [data-carousel-prev]{grid-column:1;grid-row:1}
  .tf-v2 .advisory-carousel-pickers{grid-column:2;grid-row:1}
  .tf-v2 [data-carousel-next]{grid-column:3;grid-row:1}
}
@media print{
  .tf-v2 [data-carousel-ready] .advisory-carousel-slides{display:grid;gap:28px}
  .tf-v2 [data-carousel-ready] .advisory-quote{grid-area:auto;visibility:visible!important;min-height:0;break-inside:avoid}
  .tf-v2 .advisory-carousel-controls{display:none!important}
}
@media (max-width:1000px) {
  .tf-v2 .testimonial-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:600px) {
  .tf-v2 .testimonial-grid { grid-template-columns:1fr;gap:12px; }
  .tf-v2 :is(.testimonial-card,.testimonial-echo) { padding:24px;gap:24px; }
}

/* Magic UI Marquee, HTML/CSS port of https://magicui.design/r/marquee.json.
   Retains repeated flex groups, group-width-plus-gap animation, reverse and
   pauseOnHover. Added manual pause/read-all and accessible static fallbacks.

   MIT License
   Copyright (c) Magic UI
   Permission is hereby granted, free of charge, to any person obtaining a copy
   of this software and associated documentation files (the "Software"), to deal
   in the Software without restriction, including without limitation the rights
   to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
   copies of the Software, and to permit persons to whom the Software is
   furnished to do so, subject to the following conditions:
   The above copyright notice and this permission notice shall be included in all
   copies or substantial portions of the Software.
   THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
   IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
   FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
   AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
   LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
   OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
   SOFTWARE.
*/
.tf-v2 .quote-marquee { display:grid;gap:var(--quote-marquee-gap); }
.tf-v2 .quote-group { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--quote-marquee-gap); }
.tf-v2 .quote-duplicate { display:none; }
.tf-v2 .quote-row:focus-visible { outline:2px solid var(--focus-ring);outline-offset:4px; }
.tf-v2 [data-quotes-layout="marquee"] .quote-row { overflow:hidden;mask-image:linear-gradient(to right,transparent,#000 18px,#000 calc(100% - 18px),transparent); }
.tf-v2 :is([data-quotes-layout="marquee"],[data-quotes-layout="manual"]) .quote-track { --gap:var(--quote-marquee-gap);display:flex;gap:var(--gap);width:max-content; }
.tf-v2 :is([data-quotes-layout="marquee"],[data-quotes-layout="manual"]) .quote-group { display:flex;flex-shrink:0;justify-content:space-around;gap:var(--gap); }
.tf-v2 [data-quotes-layout="marquee"] .quote-group { animation:quote-drift var(--quote-marquee-duration) linear infinite;animation-play-state:paused; }
.tf-v2 [data-quotes-layout="marquee"] .quote-row:nth-child(2) .quote-group { animation-direction:reverse; }
.tf-v2 :is([data-quotes-layout="marquee"],[data-quotes-layout="manual"]) :is(.testimonial-card,.testimonial-echo) { flex:0 0 min(var(--quote-marquee-card-width),calc(100vw - 64px));width:min(var(--quote-marquee-card-width),calc(100vw - 64px));min-height:218px; }
.tf-v2 [data-quotes-layout="manual"] .quote-row { overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;padding-bottom:12px; }
.tf-v2 [data-quotes-layout="manual"] .testimonial-card { scroll-snap-align:start; }
.tf-v2 [data-quotes-motion="running"] .quote-group { animation-play-state:running; }
@keyframes quote-drift { from { transform:translateX(0); } to { transform:translateX(calc(-100% - var(--gap))); } }
@media(max-width:800px){.tf-v2 .quote-group { grid-template-columns:repeat(2,minmax(0,1fr)); }}
@media(max-width:480px){.tf-v2 .quote-group { grid-template-columns:1fr; }}
@media(prefers-reduced-motion:reduce){
  .tf-v2 .testimonial-marquee .quote-track { animation:none;transform:none;display:block;width:auto; }
  .tf-v2 .testimonial-marquee .quote-group { display:grid;padding:0;animation:none;transform:none; }
  .tf-v2 .testimonial-marquee .quote-row { mask-image:none; }
  .tf-v2 .testimonial-marquee .quote-duplicate { display:none; }
  .tf-v2 .testimonial-marquee .testimonial-card { width:auto;min-height:0; }
}
@media print{
  .tf-v2 .testimonial-marquee .quote-track { animation:none;transform:none;display:block;width:auto; }
  .tf-v2 .testimonial-marquee .quote-group { display:grid;padding:0;animation:none;transform:none; }
  .tf-v2 .testimonial-marquee .quote-row { mask-image:none; }
  .tf-v2 .testimonial-marquee .quote-duplicate { display:none; }
  .tf-v2 .testimonial-marquee .testimonial-card { width:auto;min-height:0;break-inside:avoid; }
}

.tf-v2 .testimonial-marquee .testimonials-intro{display:flex;align-items:center;justify-content:space-between;gap:24px;max-width:none}
.tf-v2 .quote-navigation{display:flex;gap:8px;flex-shrink:0}
.tf-v2 .quote-navigation button{display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid var(--color-border);border-radius:50%;background:var(--testimonial-surface);color:var(--color-ink);cursor:pointer}
.tf-v2 .quote-navigation button:hover{background:var(--primary-soft);border-color:var(--link-color)}
.tf-v2 .quote-navigation button:focus-visible{outline:3px solid var(--focus-ring);outline-offset:3px}
.tf-v2 .quote-navigation svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5}
@media(max-width:480px){.tf-v2 .testimonial-marquee .testimonials-intro{align-items:flex-end;gap:12px}}
@media print{.tf-v2 .quote-navigation{display:none!important}}
