/* ==========================================================================
   USAIndiaCFO — v27 · "What clients say" as a clay folder (Testimonials B)

   The homepage quote band (build.py blk_quote / cms-render.php
   cms_render_testimonials) re-laid as clay testimonial cards around a clay
   folder. assets/js/testimonials3d.js adds the folder, the identity marks and,
   where WebGL runs on a GPU, the three.js scene: the folder opens as the band
   comes into view and every card rises out of it and floats to its place.

   States (on the <section data-t3d>):
     (no class)   no JS            — the cards, two columns, no folder
     .t3d         JS, still        — folder in the middle, cards around it
                                     (also the poster before the 3D is live,
                                     and the reduced-motion / no-GPU layout)
     .t3d--gl     the 3D is live   — card surfaces, marks, tails and pins are
                                     drawn in WebGL; the HTML text rides on
                                     them (transform set every frame)
     .t3d--list   "Read as a list" — one plain column

   Everything is scoped to the B option: html[data-v-testimonials="a"] gets the
   band exactly as it was. Colours are clay.css tokens only (the blue theme
   re-tints them); light from the top-left, cast shadows +x +y.
   ========================================================================== */

/* ── the band ───────────────────────────────────────────────────────────── */
html:not([data-v-testimonials="a"]) [data-t3d] { overflow-x: clip; }
html:not([data-v-testimonials="a"]) [data-t3d] .quote__duet {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 0 minmax(0, 1fr);
  column-gap: clamp(20px, 2.6vw, 40px) !important;
  row-gap: 36px !important;
  align-items: start !important;
  position: relative;
}
html:not([data-v-testimonials="a"]) [data-t3d] .quote__col,
html:not([data-v-testimonials="a"]) [data-t3d] .quote__side,
html:not([data-v-testimonials="a"]) [data-t3d] .testi { display: contents; }
html:not([data-v-testimonials="a"]) [data-t3d] .quote__col { position: static; }
html:not([data-v-testimonials="a"]) [data-t3d] .quote__eyebrow { grid-column: 1 / -1; grid-row: 1; align-self: center; }

/* card placement — the lead quote first, then the rows, left / right in turn */
html:not([data-v-testimonials="a"]) [data-t3d] .quote { grid-column: 1; grid-row: 2; }
html:not([data-v-testimonials="a"]) [data-t3d] .testi__row { grid-column: 1; }
html:not([data-v-testimonials="a"]) [data-t3d] .testi__row:nth-child(odd) { grid-column: 3; }
html:not([data-v-testimonials="a"]) [data-t3d] .testi__row:nth-child(1) { grid-row: 2; }
html:not([data-v-testimonials="a"]) [data-t3d] .testi__row:nth-child(2),
html:not([data-v-testimonials="a"]) [data-t3d] .testi__row:nth-child(3) { grid-row: 3; }
html:not([data-v-testimonials="a"]) [data-t3d] .testi__row:nth-child(4),
html:not([data-v-testimonials="a"]) [data-t3d] .testi__row:nth-child(5) { grid-row: 4; }
html:not([data-v-testimonials="a"]) [data-t3d] .testi__row:nth-child(6),
html:not([data-v-testimonials="a"]) [data-t3d] .testi__row:nth-child(7) { grid-row: 5; }
/* the right-hand column sits a little lower: an arrangement, not a table */
html:not([data-v-testimonials="a"]) [data-t3d] .testi__row:nth-child(odd) { margin-top: 46px; }

/* ── a card ─────────────────────────────────────────────────────────────── */
html:not([data-v-testimonials="a"]) [data-t3d] .quote,
html:not([data-v-testimonials="a"]) [data-t3d] .testi__row {
  position: relative; max-width: none; min-width: 0; margin-bottom: 18px;
  padding: 60px clamp(22px, 2.3vw, 34px) 26px;
  border: 0; border-radius: var(--r-lg);
  background: linear-gradient(178deg, var(--sand-980) 0%, var(--sand-955) 58%, var(--sand-929) 100%);
  box-shadow: var(--clay-md);
}
/* the chunky bronze opening mark (decorative: no text for assistive tech) */
html:not([data-v-testimonials="a"]) [data-t3d] .quote__mark { display: none; }
html:not([data-v-testimonials="a"]) [data-t3d] .quote::before,
html:not([data-v-testimonials="a"]) [data-t3d] .testi__row::before {
  content: "\201C" / ""; position: absolute; left: clamp(18px, 2vw, 28px); top: -26px;
  font: 500 96px/1 Newsreader, Georgia, serif; color: var(--bronze);
  text-shadow: 1px 2px 0 var(--bronze-deep), 5px 8px 10px rgba(var(--shade), .22);
  pointer-events: none;
}
html:not([data-v-testimonials="a"]) [data-t3d] .quote__text {
  max-width: none; font: italic 300 clamp(1.22rem, 1.65vw, 1.55rem)/1.42 Newsreader, Georgia, serif;
  letter-spacing: -.01em; color: var(--ink);
}
html:not([data-v-testimonials="a"]) [data-t3d] .testi__q {
  max-width: none; font: italic 300 clamp(1.04rem, 1.2vw, 1.14rem)/1.6 Newsreader, Georgia, serif; color: var(--ink);
}
/* who: identity mark + name / role */
html:not([data-v-testimonials="a"]) [data-t3d] .quote__who { max-width: none; margin-top: 22px; }
html:not([data-v-testimonials="a"]) [data-t3d] .t3d-by { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
html:not([data-v-testimonials="a"]) [data-t3d] .t3d-by .quote__who,
html:not([data-v-testimonials="a"]) [data-t3d] .t3d-by .testi__who { margin-top: 0; min-width: 0; }
html:not([data-v-testimonials="a"]) [data-t3d] .t3d-who { display: flex; flex-direction: column; gap: 3px;
  letter-spacing: 0; text-transform: none; }
html:not([data-v-testimonials="a"]) [data-t3d] .t3d-who b { font: 500 13.5px/1.4 Inter, sans-serif; color: var(--ink); }
html:not([data-v-testimonials="a"]) [data-t3d] .t3d-who span { font: 400 12.5px/1.5 Inter, sans-serif; color: var(--ink-soft); }

.t3d-id { flex: 0 0 auto; display: grid; place-items: center; box-shadow: var(--clay-sm); }
.t3d-id--logo { width: 96px; height: 46px; padding: 7px 10px; border-radius: 13px; background: var(--ground-hi); }
.t3d-id--logo img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; }
.t3d-id--mono { width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(178deg, var(--sand-934) 0%, var(--sand-909) 100%);
  font: 500 15px/1 Newsreader, Georgia, serif; letter-spacing: .04em; color: var(--gold-core); }
.t3d-id--mono.is-long { font-size: 12.5px; letter-spacing: .02em; }

/* ── each card its own shape (all in the clay system) ───────────────────── */
/* speech bubble: tail under the bottom-left */
html:not([data-v-testimonials="a"]) [data-t3d] .quote::after,
html:not([data-v-testimonials="a"]) [data-t3d] .testi__row:nth-child(4n+2)::after,
html:not([data-v-testimonials="a"]) [data-t3d] .testi__row:nth-child(4n+3)::after,
html:not([data-v-testimonials="a"]) [data-t3d] .testi__row:nth-child(4n+4)::after {
  content: ""; position: absolute; left: 46px; bottom: -21px; width: 40px; height: 24px;
  background: var(--sand-929); clip-path: polygon(0 0, 100% 0, 14% 100%);
  pointer-events: none;
}
/* the pill: rounder, the tail on the right */
html:not([data-v-testimonials="a"]) [data-t3d] .testi__row:nth-child(4n+2) { border-radius: 46px; padding-left: clamp(26px, 2.8vw, 40px); padding-right: clamp(26px, 2.8vw, 40px); }
html:not([data-v-testimonials="a"]) [data-t3d] .testi__row:nth-child(4n+2)::after { left: auto; right: 54px; clip-path: polygon(0 0, 100% 0, 86% 100%); }
/* the note: squarer, pinned, a little askew */
html:not([data-v-testimonials="a"]) [data-t3d] .testi__row:nth-child(4n+1) { border-radius: var(--r-sm); rotate: -1.2deg;
  background: linear-gradient(178deg, var(--sand-977b) 0%, var(--sand-934) 100%); }
html:not([data-v-testimonials="a"]) [data-t3d] .testi__row:nth-child(4n+1)::after {
  content: ""; position: absolute; left: 50%; top: -9px; width: 20px; height: 20px; margin-left: -10px; border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, var(--gold-801) 0%, var(--bronze) 46%, var(--bronze-deep) 100%);
  box-shadow: 3px 5px 7px rgba(var(--shade), .30), inset 0 -2px 3px rgba(var(--gold-shade-rgb), .35);
}
/* the stack: a second sheet behind */
html:not([data-v-testimonials="a"]) [data-t3d] .testi__row:nth-child(4n+3) {
  box-shadow: var(--clay-md), 11px 12px 0 -2px var(--sand-917), 14px 18px 22px rgba(var(--shade), .10);
}

/* ── with JS: the folder takes the middle column ────────────────────────── */
html:not([data-v-testimonials="a"]) [data-t3d].t3d .quote__duet {
  grid-template-columns: minmax(0, 1fr) minmax(190px, 248px) minmax(0, 1fr);
}
.t3d-folder { display: none; }
html:not([data-v-testimonials="a"]) [data-t3d].t3d .t3d-folder {
  display: block; position: relative; grid-column: 2; grid-row: 2 / span var(--t3d-rows, 2);
  align-self: center; justify-self: center; width: 100%; aspect-ratio: 25 / 22; margin-bottom: 40px;
}
.t3d-folder__art, .t3d-folder__art i { position: absolute; display: block; }
.t3d-folder__art { inset: 0; }
.t3d-folder__art .b, .t3d-folder__art .f, .t3d-folder__art .b::before {
  background: linear-gradient(178deg, color-mix(in srgb, var(--dark-3) 66%, var(--bronze-deep)) 0%,
                                      color-mix(in srgb, var(--dark-3) 76%, var(--bronze-deep)) 100%);
}
.t3d-folder__art .b { left: 0; right: 0; top: 10%; bottom: 0; border-radius: 16px; box-shadow: var(--clay-md); }
.t3d-folder__art .b::before { content: ""; position: absolute; left: 7%; top: -9%; width: 40%; height: 14%; border-radius: 12px 12px 0 0; }
.t3d-folder__art .p1, .t3d-folder__art .p2 {
  bottom: 6%; border-radius: 9px; box-shadow: var(--clay-sm);
  background: linear-gradient(178deg, var(--sand-980) 0%, var(--sand-935) 100%);
}
.t3d-folder__art .p1 { left: 9%; right: 8%; top: 4%; rotate: -2.2deg; }
.t3d-folder__art .p2 { left: 6%; right: 11%; top: 12%; rotate: 1.6deg; }
.t3d-folder__art .f { left: 0; right: 0; bottom: 0; height: 70%; border-radius: 16px;
  background: linear-gradient(178deg, color-mix(in srgb, var(--dark-3) 58%, var(--bronze-deep)) 0%,
                                      color-mix(in srgb, var(--dark-3) 70%, var(--bronze-deep)) 100%);
  box-shadow: var(--clay-md), inset 0 1px 1px rgba(var(--rim-rgb), .22); }

/* the folder's label: the live homepage's Google rating */
.t3d-rating {
  position: absolute; left: 50%; bottom: 17%; translate: -50% 0; z-index: 2;
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  padding: 7px 12px 7px 10px; border-radius: var(--r-pill);
  background: linear-gradient(178deg, var(--sand-980) 0%, var(--sand-950) 100%);
  box-shadow: var(--clay-sm);
  font: 500 var(--fs-label, 12px)/1 Inter, sans-serif; color: var(--ink-muted);
}
.t3d-rating b { font: 600 13px/1 Inter, sans-serif; color: var(--ink); }
.t3d-rating { width: max-content; }
.t3d-rating > * { flex: 0 0 auto; }
.t3d-stars { display: inline-flex; gap: 1px; }
.t3d-stars > *, .t3d-stars svg { display: block; flex: 0 0 auto; width: 11px; height: 11px; max-width: none; }
.t3d-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* the two small controls */
.t3d-mode, .t3d-replay {
  font: 500 12.5px/1 Inter, sans-serif; color: var(--bronze-deep); background: none; border: 0; cursor: pointer;
  padding: 9px 2px; border-radius: 8px; text-decoration: underline; text-decoration-color: rgba(var(--bronze-deep-rgb), .35);
  text-underline-offset: 4px;
}
.t3d-mode:hover, .t3d-replay:hover { text-decoration-color: currentColor; }
.t3d-mode:focus-visible, .t3d-replay:focus-visible { outline: 2px solid var(--bronze-deep); outline-offset: 3px; }
.t3d-mode { display: none; }
html:not([data-v-testimonials="a"]) [data-t3d].t3d .t3d-mode { display: block; grid-column: 1 / -1; grid-row: 1; justify-self: end; align-self: center; }
.t3d-replay { display: none; position: absolute; left: 50%; top: 100%; translate: -50% 12px; white-space: nowrap; }
html:not([data-v-testimonials="a"]) [data-t3d].t3d--gl .t3d-replay { display: block; }

/* ── the 3D is live ─────────────────────────────────────────────────────── */
.t3d-gl { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.t3d-gl canvas { position: absolute; left: 0; top: 0; display: block; }
html:not([data-v-testimonials="a"]) [data-t3d].t3d--gl > .shell { position: relative; z-index: 1; }
html:not([data-v-testimonials="a"]) [data-t3d].t3d--gl .quote,
html:not([data-v-testimonials="a"]) [data-t3d].t3d--gl .testi__row {
  background: none; box-shadow: none; rotate: none; transform-origin: 0 0;
  transition: none !important; opacity: 0;
}
html:not([data-v-testimonials="a"]) [data-t3d].t3d--gl .quote::before,
html:not([data-v-testimonials="a"]) [data-t3d].t3d--gl .quote::after,
html:not([data-v-testimonials="a"]) [data-t3d].t3d--gl .testi__row::before,
html:not([data-v-testimonials="a"]) [data-t3d].t3d--gl .testi__row::after { display: none; }
html:not([data-v-testimonials="a"]) [data-t3d].t3d--gl .t3d-id { background: none; box-shadow: none; }
html:not([data-v-testimonials="a"]) [data-t3d].t3d--gl .t3d-folder__art { visibility: hidden; }
html:not([data-v-testimonials="a"]) [data-t3d].t3d--gl .t3d-rating { transform-origin: 0 0; translate: none; left: 0; bottom: auto; top: 0; }

/* ── "Read as a list" ───────────────────────────────────────────────────── */
html:not([data-v-testimonials="a"]) [data-t3d].t3d--list .quote__duet { grid-template-columns: minmax(0, 1fr) !important; max-width: 760px; margin: 0 auto; }
html:not([data-v-testimonials="a"]) [data-t3d].t3d--list .t3d-folder,
html:not([data-v-testimonials="a"]) [data-t3d].t3d--list .t3d-gl { display: none !important; }
html:not([data-v-testimonials="a"]) [data-t3d].t3d--list .quote,
html:not([data-v-testimonials="a"]) [data-t3d].t3d--list .testi__row { grid-column: 1 !important; grid-row: auto !important; margin-top: 0 !important; rotate: none; }
html:not([data-v-testimonials="a"]) [data-t3d].t3d--list .quote { grid-row: 2 !important; }

/* ── tablet: the folder above, two columns of cards ─────────────────────── */
@media (max-width: 1099px) {
  html:not([data-v-testimonials="a"]) [data-t3d] .quote__duet,
  html:not([data-v-testimonials="a"]) [data-t3d].t3d .quote__duet { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  html:not([data-v-testimonials="a"]) [data-t3d] .quote { grid-row: 3; }
  html:not([data-v-testimonials="a"]) [data-t3d] .testi__row:nth-child(odd) { grid-column: 2; }
  html:not([data-v-testimonials="a"]) [data-t3d] .testi__row:nth-child(1) { grid-row: 3; }
  html:not([data-v-testimonials="a"]) [data-t3d] .testi__row:nth-child(2),
  html:not([data-v-testimonials="a"]) [data-t3d] .testi__row:nth-child(3) { grid-row: 4; }
  html:not([data-v-testimonials="a"]) [data-t3d] .testi__row:nth-child(4),
  html:not([data-v-testimonials="a"]) [data-t3d] .testi__row:nth-child(5) { grid-row: 5; }
  html:not([data-v-testimonials="a"]) [data-t3d] .testi__row:nth-child(6),
  html:not([data-v-testimonials="a"]) [data-t3d] .testi__row:nth-child(7) { grid-row: 6; }
  html:not([data-v-testimonials="a"]) [data-t3d].t3d .t3d-folder {
    grid-column: 1 / -1; grid-row: 2; width: min(220px, 52vw); margin: 4px 0 52px;
  }
}

/* ── phones: one column, the folder on top ──────────────────────────────── */
@media (max-width: 639px) {
  html:not([data-v-testimonials="a"]) [data-t3d] .quote__duet,
  html:not([data-v-testimonials="a"]) [data-t3d].t3d .quote__duet { grid-template-columns: minmax(0, 1fr); row-gap: 30px !important; }
  html:not([data-v-testimonials="a"]) [data-t3d] .quote,
  html:not([data-v-testimonials="a"]) [data-t3d] .testi__row,
  html:not([data-v-testimonials="a"]) [data-t3d] .testi__row:nth-child(n) { grid-column: 1; grid-row: auto; margin-top: 0; }
  html:not([data-v-testimonials="a"]) [data-t3d] .quote { grid-row: 3; }
  html:not([data-v-testimonials="a"]) [data-t3d].t3d .t3d-folder { width: min(200px, 56vw); }
  html:not([data-v-testimonials="a"]) [data-t3d].t3d .t3d-mode { grid-row: 1; }
  html:not([data-v-testimonials="a"]) [data-t3d] .quote,
  html:not([data-v-testimonials="a"]) [data-t3d] .testi__row { padding: 56px 22px 24px; }
  html:not([data-v-testimonials="a"]) [data-t3d] .quote::before,
  html:not([data-v-testimonials="a"]) [data-t3d] .testi__row::before { font-size: 84px; top: -22px; }
}

@media (prefers-reduced-motion: reduce) {
  html:not([data-v-testimonials="a"]) [data-t3d] .testi__row:nth-child(4n+1) { rotate: none; }
}
html:not([data-v-testimonials="a"]) [data-t3d].t3d--gl .t3d-folder { cursor: pointer; }

/* ==========================================================================
   C · the formal look (default): the testimonials as letters on letterhead-
   quality paper (client mark printed at the head, a double rule, the quote in
   Newsreader, a signature block) around a stitched leather portfolio with brass
   corner guards and a foil USAIndiaCFO mark. Same structure and choreography
   as B; testimonials3d.js draws the 3D version (FORMAL). html[data-v-testimonials="b"]
   keeps the clay folder above exactly as it was.
   ========================================================================== */
html:not([data-v-testimonials="a"],[data-v-testimonials="b"]) [data-t3d] .quote,
html:not([data-v-testimonials="a"],[data-v-testimonials="b"]) [data-t3d] .testi__row:nth-child(n) {
  padding: clamp(22px, 2.1vw, 30px) clamp(22px, 2.3vw, 34px) clamp(22px, 2vw, 28px);
  border-radius: 3px; rotate: none;
  background: color-mix(in srgb, var(--ground-hi) 50%, var(--sand-955)) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .42 0 0 0 0 .36 0 0 0 0 .27 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  box-shadow: 0 0 0 1px rgba(var(--shade), .11), 0 1px 1px rgba(var(--shade), .08), 0 16px 30px -16px rgba(var(--shade), .38);
}
html:not([data-v-testimonials="a"],[data-v-testimonials="b"]) [data-t3d] .quote::before, html:not([data-v-testimonials="a"],[data-v-testimonials="b"]) [data-t3d] .quote::after,
html:not([data-v-testimonials="a"],[data-v-testimonials="b"]) [data-t3d] .testi__row:nth-child(n)::before, html:not([data-v-testimonials="a"],[data-v-testimonials="b"]) [data-t3d] .testi__row:nth-child(n)::after { content: none; display: none; }
html:not([data-v-testimonials="a"],[data-v-testimonials="b"]) [data-t3d].t3d--gl .quote,
html:not([data-v-testimonials="a"],[data-v-testimonials="b"]) [data-t3d].t3d--gl .testi__row:nth-child(n) { background: none; box-shadow: none; }

/* the letterhead: the client's mark, a double rule */
.t3d-lh { display: none; }
html:not([data-v-testimonials="a"],[data-v-testimonials="b"]) [data-t3d] .t3d-lh {
  position: relative; display: flex; align-items: center; min-height: 32px;
  padding-bottom: 12px; margin-bottom: 20px; border-bottom: 1px solid rgba(var(--bronze-deep-rgb), .34);
}
html:not([data-v-testimonials="a"],[data-v-testimonials="b"]) [data-t3d] .t3d-lh::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: rgba(var(--bronze-deep-rgb), .16); }
html:not([data-v-testimonials="a"],[data-v-testimonials="b"]) [data-t3d] .t3d-id.t3d-id--logo {
  width: auto; height: 30px; padding: 0; border-radius: 0; background: none; box-shadow: none; place-items: center start;
}
html:not([data-v-testimonials="a"],[data-v-testimonials="b"]) [data-t3d] .t3d-id--logo img {
  /* the client's logo in its own colours, fitted to the letterhead's slot (an opaque
     logo — e.g. a black brand block — keeps its block; it is the mark itself) */
  max-height: 28px; max-width: 132px; filter: none; opacity: 1; mix-blend-mode: normal; border-radius: 1.5px;
}
html:not([data-v-testimonials="a"],[data-v-testimonials="b"]) [data-t3d] .t3d-id.t3d-id--mono {
  width: 34px; height: 34px; border-radius: 50%; background: none; box-shadow: none;
  border: 1px solid rgba(var(--bronze-deep-rgb), .55); outline: 1px solid rgba(var(--bronze-deep-rgb), .22); outline-offset: 2px;
  font: 500 12px/1 Newsreader, Georgia, serif; letter-spacing: .08em; color: var(--bronze-deep);
}

/* the quote, set in the serif with hanging marks */
html:not([data-v-testimonials="a"],[data-v-testimonials="b"]) [data-t3d] .quote__text {
  font: italic 400 clamp(1.16rem, 1.45vw, 1.38rem)/1.52 Newsreader, Georgia, serif; letter-spacing: -.005em; text-indent: -.42em;
}
html:not([data-v-testimonials="a"],[data-v-testimonials="b"]) [data-t3d] .testi__q { font: italic 400 clamp(1.01rem, 1.1vw, 1.08rem)/1.64 Newsreader, Georgia, serif; text-indent: -.4em; }
html:not([data-v-testimonials="a"],[data-v-testimonials="b"]) [data-t3d] .quote__text::before, html:not([data-v-testimonials="a"],[data-v-testimonials="b"]) [data-t3d] .testi__q::before { content: "\201C"; color: var(--bronze-deep); }
html:not([data-v-testimonials="a"],[data-v-testimonials="b"]) [data-t3d] .quote__text::after, html:not([data-v-testimonials="a"],[data-v-testimonials="b"]) [data-t3d] .testi__q::after { content: "\201D"; color: var(--bronze-deep); }

/* the signature block */
html:not([data-v-testimonials="a"],[data-v-testimonials="b"]) [data-t3d] .t3d-by { margin-top: 24px; gap: 0; }
html:not([data-v-testimonials="a"],[data-v-testimonials="b"]) [data-t3d] .t3d-who { gap: 3px; }
html:not([data-v-testimonials="a"],[data-v-testimonials="b"]) [data-t3d] .t3d-who::before { content: ""; display: block; width: 44px; height: 1px; margin-bottom: 11px; background: rgba(var(--bronze-deep-rgb), .5); }
html:not([data-v-testimonials="a"],[data-v-testimonials="b"]) [data-t3d] .t3d-who b { font: 500 16px/1.3 Newsreader, Georgia, serif; letter-spacing: .005em; color: var(--ink); }
html:not([data-v-testimonials="a"],[data-v-testimonials="b"]) [data-t3d] .t3d-who span { font: 500 var(--fs-label, 12px)/1.5 Inter, sans-serif; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-soft); }

/* the portfolio (still / poster): stitched leather, two sheets, brass guards, foil mark */
.t3d-folder__art .m, .t3d-folder__art .c1, .t3d-folder__art .c2 { display: none; }
html:not([data-v-testimonials="a"],[data-v-testimonials="b"]) [data-t3d] .t3d-folder__art .b, html:not([data-v-testimonials="a"],[data-v-testimonials="b"]) [data-t3d] .t3d-folder__art .f {
  background: color-mix(in srgb, var(--dark-3) 76%, var(--bronze-deep));
  border-radius: 6px;
}
html:not([data-v-testimonials="a"],[data-v-testimonials="b"]) [data-t3d] .t3d-folder__art .b { top: 7%; box-shadow: inset 0 1px 0 rgba(var(--rim-rgb), .10), 0 18px 30px -16px rgba(var(--shade), .55); }
html:not([data-v-testimonials="a"],[data-v-testimonials="b"]) [data-t3d] .t3d-folder__art .b::before { display: none; }
html:not([data-v-testimonials="a"],[data-v-testimonials="b"]) [data-t3d] .t3d-folder__art .b::after, html:not([data-v-testimonials="a"],[data-v-testimonials="b"]) [data-t3d] .t3d-folder__art .f::after {
  content: ""; position: absolute; inset: 8px; border: 1.2px dashed rgba(var(--rim-rgb), .36); border-radius: 4px;
}
html:not([data-v-testimonials="a"],[data-v-testimonials="b"]) [data-t3d] .t3d-folder__art .f { height: 66%; box-shadow: inset 0 1px 0 rgba(var(--rim-rgb), .14), 0 10px 18px -10px rgba(var(--shade), .5); }
html:not([data-v-testimonials="a"],[data-v-testimonials="b"]) [data-t3d] .t3d-folder__art .p1, html:not([data-v-testimonials="a"],[data-v-testimonials="b"]) [data-t3d] .t3d-folder__art .p2 {
  border-radius: 2px; background: color-mix(in srgb, var(--ground-hi) 50%, var(--sand-955)); box-shadow: 0 0 0 1px rgba(var(--shade), .10);
}
html:not([data-v-testimonials="a"],[data-v-testimonials="b"]) [data-t3d] .t3d-folder__art .p1 { left: 7%; right: 7%; top: 3%; rotate: -.6deg; }
html:not([data-v-testimonials="a"],[data-v-testimonials="b"]) [data-t3d] .t3d-folder__art .p2 { left: 8.5%; right: 7.5%; top: 10%; rotate: .5deg; }
html:not([data-v-testimonials="a"],[data-v-testimonials="b"]) [data-t3d] .t3d-folder__art .m {
  display: block; left: 0; right: 0; bottom: 45%; text-align: center; font-style: normal; font: 300 clamp(13px, 1.35vw, 19px)/1 Newsreader, Georgia, serif;
  color: var(--bronze); text-shadow: 0 -1px 0 rgba(0, 0, 0, .35), 0 1px 0 rgba(var(--rim-rgb), .12);
}
html:not([data-v-testimonials="a"],[data-v-testimonials="b"]) [data-t3d] .t3d-folder__art .c1, html:not([data-v-testimonials="a"],[data-v-testimonials="b"]) [data-t3d] .t3d-folder__art .c2 {
  display: block; bottom: 0; width: 7.5%; aspect-ratio: 1; background: color-mix(in srgb, var(--bronze) 82%, var(--gold-801));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25);
}
html:not([data-v-testimonials="a"],[data-v-testimonials="b"]) [data-t3d] .t3d-folder__art .c1 { left: 0; clip-path: polygon(0 0, 0 100%, 100% 100%); border-bottom-left-radius: 6px; }
html:not([data-v-testimonials="a"],[data-v-testimonials="b"]) [data-t3d] .t3d-folder__art .c2 { right: 0; clip-path: polygon(100% 0, 100% 100%, 0 100%); border-bottom-right-radius: 6px; }

/* the rating, foil-stamped on the pocket */
html:not([data-v-testimonials="a"],[data-v-testimonials="b"]) [data-t3d] .t3d-rating {
  border-radius: 2px; background: none; box-shadow: none; border: 1px solid rgba(var(--rim-rgb), .34);
  padding: 6px 10px; color: rgba(var(--rim-rgb), .82);
}
html:not([data-v-testimonials="a"],[data-v-testimonials="b"]) [data-t3d] .t3d-rating b { color: var(--gold-801); font-weight: 500; }
@media (max-width: 639px) {
  html:not([data-v-testimonials="a"],[data-v-testimonials="b"]) [data-t3d].t3d .t3d-folder { width: min(250px, 66vw); }
  html:not([data-v-testimonials="a"],[data-v-testimonials="b"]) [data-t3d] .t3d-rating { font-size: var(--fs-label, 12px); gap: 5px; padding: 5px 8px; }
  html:not([data-v-testimonials="a"],[data-v-testimonials="b"]) [data-t3d] .t3d-rating b { font-size: 12.5px; }
  /* the head carries the full line on phones; the small portfolio keeps the stars + the score */
  html:not([data-v-testimonials="a"],[data-v-testimonials="b"]) [data-t3d] .t3d-rating > span[aria-hidden]:not(.t3d-stars) { display: none; }
}

/* ==========================================================================
   imp-home (17 Oct 2026) — the band's head, the finished layout at once,
   a shorter phone band.
   · head: eyebrow · visible H2 · the Google rating line (site/rating.py), in
     the grid's first row (the "Read as a list" control at its right / under it);
   · .t3d without .t3d--gl (still, reduced motion, no WebGL, the poster before
     the 3D is live, after a dispose): the letters are shown at once — no
     reveal fade, nothing hidden (the JS also never replays the opening on its
     own after the first in-view entry);
   · phones: tighter letters, a smaller portfolio, less air between them.
   ========================================================================== */
.quote__head { display: grid; gap: 10px; justify-items: start; }
.quote__head .quote__eyebrow { margin: 0; }
.quote__h2 { margin: 0; font-size: clamp(2rem, 3.2vw, 3rem); line-height: 1.06; letter-spacing: -.02em; max-width: 18ch; }
.quote__rate { margin-top: 6px; }
html:not([data-v-testimonials="a"]) [data-t3d] .quote__head { grid-column: 1 / -1; grid-row: 1; padding-bottom: 6px; }
html:not([data-v-testimonials="a"]) [data-t3d].t3d .t3d-mode { align-self: end; }
html:not([data-v-testimonials="a"]) [data-t3d].t3d:not(.t3d--gl) .quote,
html:not([data-v-testimonials="a"]) [data-t3d].t3d:not(.t3d--gl) .testi__row,
html:not([data-v-testimonials="a"]) [data-t3d].t3d:not(.t3d--gl) .quote__head {
  opacity: 1; transform: none; transition: none;
}
@media (max-width: 1099px) {
  html:not([data-v-testimonials="a"]) [data-t3d] .quote__head { padding-bottom: 46px; }
  html:not([data-v-testimonials="a"]) [data-t3d].t3d .t3d-mode { grid-row: 1; justify-self: start; align-self: end; }
}
@media (max-width: 639px) {
  html:not([data-v-testimonials="a"]) [data-t3d] .quote__duet,
  html:not([data-v-testimonials="a"]) [data-t3d].t3d .quote__duet { row-gap: 16px !important; }
  html:not([data-v-testimonials="a"]) [data-t3d] .quote,
  html:not([data-v-testimonials="a"]) [data-t3d] .testi__row { margin-bottom: 0; }
  html:not([data-v-testimonials="a"]) [data-t3d] .quote__head { padding-bottom: 40px; }
  html:not([data-v-testimonials="a"],[data-v-testimonials="b"]) [data-t3d].t3d .t3d-folder { width: min(176px, 48vw); margin: 0 0 22px; }
  html:not([data-v-testimonials="a"],[data-v-testimonials="b"]) [data-t3d] .quote,
  html:not([data-v-testimonials="a"],[data-v-testimonials="b"]) [data-t3d] .testi__row:nth-child(n) { padding: 18px 18px 18px; }
  html:not([data-v-testimonials="a"],[data-v-testimonials="b"]) [data-t3d] .t3d-lh { min-height: 26px; padding-bottom: 9px; margin-bottom: 13px; }
  html:not([data-v-testimonials="a"],[data-v-testimonials="b"]) [data-t3d] .t3d-id--logo img { max-height: 24px; }
  html:not([data-v-testimonials="a"],[data-v-testimonials="b"]) [data-t3d] .t3d-id.t3d-id--mono { width: 28px; height: 28px; }
  html:not([data-v-testimonials="a"],[data-v-testimonials="b"]) [data-t3d] .quote__text { font-size: 1.06rem; line-height: 1.5; }
  html:not([data-v-testimonials="a"],[data-v-testimonials="b"]) [data-t3d] .testi__q { font-size: .98rem; line-height: 1.55; }
  html:not([data-v-testimonials="a"],[data-v-testimonials="b"]) [data-t3d] .t3d-by { margin-top: 14px; }
  html:not([data-v-testimonials="a"],[data-v-testimonials="b"]) [data-t3d] .t3d-who::before { margin-bottom: 8px; }
}
@media (min-width: 640px) {
  html:not([data-v-testimonials="a"]) [data-t3d] .quote__duet { row-gap: 24px !important; }
  html:not([data-v-testimonials="a"]) [data-t3d] .testi__row:nth-child(odd) { margin-top: 30px; }
}
