/* A gently suspended quote card, with its line behind the content. */
.testimonials{position:relative;isolation:isolate;padding-top:54px;padding-bottom:65px}.testimonials::before{content:"";position:absolute;z-index:-1;left:calc(50% - 50vw);top:132px;width:100vw;height:230px;pointer-events:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 230' preserveAspectRatio='none'%3E%3Cpath d='M-10 34 C180 14 240 170 470 112 S840 34 1040 112 S1280 170 1450 52' fill='none' stroke='%23899879' stroke-width='2'/%3E%3C/svg%3E") center/100% 100% no-repeat;opacity:.75}.testimonial-shell{position:relative;transform:rotate(-.8deg);transform-origin:50% 20%;box-shadow:0 12px 30px #1d292512;touch-action:pan-y pinch-zoom;margin-top:32px}.testimonial-shell::before,.testimonial-shell::after{content:"";position:absolute;top:-15px;width:13px;height:34px;border-radius:3px;background:#b2be8c;border:1px solid #829267;box-shadow:inset -3px 0 #91a16f50,0 2px 4px #1d29251a;pointer-events:none}.testimonial-shell::before{left:15%;transform:rotate(6deg)}.testimonial-shell::after{right:15%;transform:rotate(-5deg)}.swipe-hint{display:none;font-size:12px;color:var(--muted);line-height:1.5;margin:12px 0 0}.testimonial-shell:focus-visible{outline:2px solid var(--ink);outline-offset:7px}@media(pointer:coarse){.swipe-hint{display:block}}@media(max-width:680px){.testimonials{padding-top:36px;padding-bottom:44px}.testimonials::before{top:130px;height:180px}.testimonial-shell{transform:rotate(-.6deg);margin-top:28px}.testimonial-shell::before{left:12%}.testimonial-shell::after{right:12%}}html[data-theme=dark] .testimonials::before{opacity:.85}html[data-theme=dark] .testimonial-shell{box-shadow:0 14px 32px #00000035}@media print{.testimonial-shell{transform:none;box-shadow:none}.testimonials::before,.testimonial-shell::before,.testimonial-shell::after,.swipe-hint{display:none}}

/* Refined note: inset frame, centred ascending line and one-row selection dots. */
.testimonials::before{display:none}.testimonial-stage{position:relative;isolation:isolate}.testimonial-stage::before{content:"";position:absolute;z-index:-1;left:calc(50% - 50vw);top:50%;transform:translateY(-50%);width:100vw;height:220px;pointer-events:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 220' preserveAspectRatio='none'%3E%3Cpath d='M-10 205 C210 218 270 125 490 128 S870 155 1050 80 S1280 30 1450 10' fill='none' stroke='%23899879' stroke-width='2'/%3E%3C/svg%3E") center/100% 100% no-repeat;opacity:.75}.testimonial-shell::before{content:"";position:absolute;inset:12px;width:auto;height:auto;border:1px solid var(--line);border-radius:0;background:none;box-shadow:none;transform:none;pointer-events:none}.testimonial-shell::after{display:none}.testimonial-shell .carousel-footer{display:flex;align-items:center;gap:28px}.testimonial-shell .carousel-dots{display:flex;flex:1 1 auto;flex-wrap:nowrap;gap:0;max-width:none;min-width:0;justify-content:space-between;align-items:center}.testimonial-shell .carousel-dots button{position:relative;display:grid;place-items:center;flex:1 1 0;min-width:0;width:auto;max-width:30px;height:28px;border:0;background:transparent;border-radius:0;padding:0}.testimonial-shell .carousel-dots button::after{content:"";width:7px;height:7px;border-radius:50%;background:#acb79e}.testimonial-shell .carousel-dots button[aria-pressed=true]{background:transparent}.testimonial-shell .carousel-dots button[aria-pressed=true]::after{background:var(--ink)}.testimonial-shell .carousel-controls{flex:0 0 auto}.testimonial-shell .carousel-dots button:focus-visible{outline:2px solid var(--ink);outline-offset:1px}@media(max-width:680px){.testimonial-stage::before{height:180px}.testimonial-shell::before{inset:10px}.testimonial-shell .carousel-footer{flex-direction:column;align-items:stretch;gap:10px}.testimonial-shell .carousel-dots{width:100%;max-width:none;flex:none}.testimonial-shell .carousel-dots button{max-width:none}.testimonial-shell .carousel-controls{align-self:flex-end}}html[data-theme=dark] .testimonial-stage::before{opacity:.85}html[data-theme=dark] .testimonial-shell .carousel-dots button::after{background:#758968}html[data-theme=dark] .testimonial-shell .carousel-dots button[aria-pressed=true]::after{background:#d6f663}@media print{.testimonial-stage::before,.testimonial-shell::before{display:none}}

/* The quote is the tilted card; controls stay level. */
.testimonial-shell{transform:none!important;background:transparent!important;box-shadow:none!important;padding:0!important}.testimonial-shell::before,.testimonial-shell::after,.testimonial-top{display:none!important}#testimonial-slides{position:relative;width:calc(100% - 70px);margin:40px auto;padding:38px 42px;background:#e8eadd;transform:rotate(var(--card-tilt,0deg));transition:transform .42s cubic-bezier(.2,.7,.25,1);box-shadow:0 12px 30px #1d292512;box-sizing:border-box}#testimonial-slides::before{content:"";position:absolute;inset:12px;border:1px solid var(--line);pointer-events:none}.testimonial-shell .carousel-footer{margin-top:28px;padding:0 10px}.testimonial-slide{position:relative}.testimonial-shell:focus-visible{outline-offset:12px}html[data-theme=dark] #testimonial-slides{background:#1d2c24;box-shadow:0 14px 32px #00000035}@media(max-width:680px){#testimonial-slides{width:calc(100% - 24px);padding:30px 25px;margin:35px auto}.testimonial-shell .carousel-footer{padding:0}.testimonial-stage::before{top:45%}}@media(prefers-reduced-motion:reduce){#testimonial-slides{transition:none}}@media print{#testimonial-slides{transform:none;box-shadow:none;width:100%}}

.testimonial-stage::before{display:none}.testimonial-thread{position:absolute;z-index:-1;left:calc(50% - 50vw);top:50%;transform:translateY(-50%);width:100vw;height:300px;overflow:visible;pointer-events:none;color:#899879;opacity:.8}.testimonial-thread path:last-child{transition:opacity .3s ease}html[data-theme=dark] .testimonial-thread{color:#a5b58e}@media(max-width:680px){.testimonial-thread{top:45%;height:240px}}@media(prefers-reduced-motion:reduce){.testimonial-thread path:last-child{transition:none}}@media print{.testimonial-thread{display:none}}
