/* Testimonials (sweep v8.2, 2026-10-29; featured band rebuilt in sweep v8.5). Pairs with js/voices.js. Shared by home, stories, universities and country pages.
   .vb featured university voice (scroll-driven scene)  .pw-g partner wall (logos under the five destination names)  .tc student/parent portrait card  .vc small university quote card.
   Tokens, buttons (.btn-g .btn-sm pills) and the SAMPLE mark (.smp) come from site.css. Transform/opacity only; reduced motion = static. */
/* ---------- featured band: editorial scene (2026-10-31, user: "premium, proper and luxurious"; replaces the v8.5 / v8.11 glass-card version) ----------
   .vb fills its scene edge to edge and is one horizontal PLANE of panels (.vb-ph, one per voice). A panel holds, bottom to top: the photograph of the partner's own city or campus,
   its soft navy wash (.vb-wash: the same strength at both vertical edges, so the seam between two panels is clean, and a per-photo strength --wa), and its own copy (.vb-i): oversized
   opening mark, quote (Bodoni Moda, one italic accent phrase), white logo above the university in letter-spaced caps, role, country, SAMPLE. The panel clips everything (overflow
   hidden): a word is never drawn over another voice's photograph. The page scroll pans a window across the panels (js/voices.js). No card, no glass, no border, no buttons, no
   list. Transform / opacity only. Fallback (.vb:not(.vb-on), no JS or reduced motion): a stacked list of the voices. */
.vb{position:absolute;inset:0;outline:none;color:#fff;--vp:max(var(--g),calc(50vw - var(--w) / 2));--vtop:calc(var(--hdr,82px) + 24px)}
.vb:focus-visible{outline:2px solid #fff;outline-offset:-6px;border-radius:0}
.vb-s{position:absolute;inset:0;overflow:hidden;background:var(--deep,#111111)}
.vb-ph{position:absolute;inset:0 0 0 -1px;overflow:hidden;background:var(--phc,#2c2c2c);visibility:hidden} /* 1 px under the neighbour on its left: no seam while the window pans */
.vb-pi{position:absolute;inset:0 -10%;transform-origin:50% 50%} /* 120 % wide: the image inside moves slower than its frame (parallax) and never shows an edge */
.vb-ph.vis,.vb-ph.vis .vb-pi{will-change:transform}
.vb-pi img{width:100%;height:100%;object-fit:cover;display:block}
/* the wash: a broad, soft, mostly transparent navy centred on the copy (about .5 at the copy easing to .1 at the edges) plus light bands at the header and the foot */
.vb-wash{position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,rgba(var(--sc),.34) 0%,rgba(var(--sc),.1) 22%,rgba(var(--sc),.1) 78%,rgba(var(--sc),.3) 100%)}
/* the soft wash behind the copy: a mostly transparent navy that fades to nothing at both vertical edges of the panel (mask), so two neighbouring panels meet on the same light floor */
.vb-wash:before{content:"";position:absolute;inset:0;background:rgba(var(--sc),min(.82,calc(.52 * var(--wa,1))));
 -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 5%,#000 40%,rgba(0,0,0,.5) 62%,transparent 94%),linear-gradient(180deg,transparent 6%,#000 26%,#000 80%,transparent 98%);-webkit-mask-composite:source-in;
 mask-image:linear-gradient(90deg,transparent 0,#000 5%,#000 40%,rgba(0,0,0,.5) 62%,transparent 94%),linear-gradient(180deg,transparent 6%,#000 26%,#000 80%,transparent 98%);mask-composite:intersect}

.vb-i{position:absolute;inset:0;margin:0;visibility:hidden}
.vb-i.on,.vb-i:not(.on){will-change:transform}
.vb-t{position:absolute;inset:0;display:flex;align-items:flex-start;justify-content:flex-start;box-sizing:border-box;padding:calc(var(--hdr,82px) + clamp(28px,10vh,110px)) var(--vp) calc(var(--dock-h,0px) + 32px);pointer-events:none}
.vb-ti{position:relative;display:block;box-sizing:border-box;width:min(100%,max(460px,52vw));min-width:0;max-height:100%;pointer-events:auto}
.vb-qm{display:block;height:.56em;margin:0 0 .1em -.04em;font:400 clamp(96px,10vw,168px)/.9 var(--serif);color:var(--pink);user-select:none;overflow:visible}
.vb-q{margin:0}
.vb-q p{margin:0;max-width:min(15em,52vw);font:400 min(clamp(34px,4.1vw,60px),8.2svh)/1.12 var(--serif);letter-spacing:-.018em;color:#fff;text-wrap:balance;text-shadow:0 1px 2px rgba(var(--sc),.4),0 2px 24px rgba(var(--sc),.5)}
.vb-q p em{font-style:italic;color:var(--pink);letter-spacing:-.01em}
.vb-q p.rv-b{will-change:transform,opacity}
/* quote lines are split WITHOUT clipping masks (voices.js, class vl), so a descender or an italic overhang is never cut. The copy swap is a short complete change, not a scrub:
   the outgoing voice's lines, mark and attribution fade out together (.2 s) and are gone before the incoming ones start; the incoming voice's lines rise .45em one after another
   (.55 s, 90 ms apart, from .28 s), then the mark and attribution fade in. Only opacity and translate. */
.vb-i{visibility:hidden;transition:visibility 0s .22s}
.vb-i.on{visibility:visible;transition-delay:0s}
.vb-q .vl,.vb-qm,.vb-c{opacity:0;transition:opacity .2s ease}
.vb-q .vl{translate:0 .45em;padding-bottom:.08em}
.vb-q p.rv-b{opacity:0;transition:opacity .2s ease}
.vb-i.on .vb-qm{opacity:1;transition:opacity .5s ease .3s}
.vb-i.on .vb-q .vl{opacity:1;translate:0 0;transition:opacity .55s ease calc(.28s + var(--k,0) * .09s),translate .7s cubic-bezier(.2,.8,.2,1) calc(.28s + var(--k,0) * .09s)}
.vb-i.on .vb-q p.rv-b{opacity:1;transition:opacity .55s ease .3s}
.vb-i.on .vb-c{opacity:1;transition:opacity .6s ease calc(.5s + var(--n,3) * .05s)}
/* attribution: logo, then the university in small caps, then role, then country + SAMPLE */
.vb-c{display:flex;flex-direction:column;align-items:flex-start;min-width:0;margin-top:clamp(22px,4.4vh,44px)}
.vb-lg{display:block;flex:none;height:clamp(44px,5.6vh,56px);width:auto;max-width:180px;object-fit:contain;object-position:left center;margin:0 0 clamp(14px,2.2vh,20px)}
.vb-wm{display:block;margin:0 0 clamp(6px,1vh,10px);font:400 clamp(26px,2.2vw,32px)/1.1 var(--serif);letter-spacing:-.01em;color:#fff;text-wrap:balance} /* a mark that does not read as a mark: the name in white Bodoni, no plate */
.vb-tw .vb-w b{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.vb-w{display:flex;flex-direction:column;gap:5px;min-width:0;text-shadow:0 1px 2px rgba(var(--sc),.4),0 1px 16px rgba(var(--sc),.45)}
.vb-w b{font:600 12.5px/1.45 var(--sans);letter-spacing:.2em;text-transform:uppercase;color:#fff;text-wrap:balance}
.vb-ro{font-size:15px;line-height:1.4;color:rgba(255,255,255,.9)}
.vb-co{display:flex;align-items:baseline;flex-wrap:wrap;gap:2px 16px;font-size:15px;line-height:1.4;color:#fff}
.vb-co .smp{margin:0;font:600 11px/1.4 var(--sans);letter-spacing:.18em;color:rgba(255,255,255,.88)}
.vb-st{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.vb.drag{cursor:grabbing}
/* no JS / reduced motion: a plain stacked list of the voices on the deep stage */
.vb:not(.vb-on){position:relative;inset:auto;display:block;padding:var(--vtop) 0 48px;background:var(--deep)}
.vb:not(.vb-on) .vb-s{position:relative;inset:auto;overflow:visible;display:grid;gap:56px;width:min(100% - 2*var(--g),var(--w));margin-inline:auto;background:none}
.vb:not(.vb-on) .vb-ph{position:relative;inset:auto;overflow:visible;visibility:visible;background:none}
.vb:not(.vb-on) .vb-pi,.vb:not(.vb-on) .vb-wash{display:none}

.vb:not(.vb-on) .vb-i{position:relative;inset:auto;visibility:visible}
.vb:not(.vb-on) .vb-t{position:relative;inset:auto;padding:0;display:block}
.vb:not(.vb-on) .vb-q .vl,.vb:not(.vb-on) .vb-qm,.vb:not(.vb-on) .vb-c,.vb:not(.vb-on) .vb-q p.rv-b{opacity:1;translate:none}
.vb:not(.vb-on) .vb-ti{width:auto}
.vb:not(.vb-on) .vb-q p{font-size:clamp(26px,3vw,44px)}
/* tablets (<= 1100): a little less width for the quote */
@media(max-width:1100px){.vb-ti{width:min(100%,max(420px,62vw))}.vb-q p{max-width:min(15em,62vw)}}
/* phones and small tablets (<= 900): copy centred on 24 px gutters, the dock (--dock-h) stays clear */
@media(max-width:900px){
 .vb{--vp:24px}
 .vb-wash:before{background:rgba(var(--sc),.6);-webkit-mask-image:linear-gradient(180deg,transparent 6%,#000 24%,#000 70%,transparent 94%);mask-image:linear-gradient(180deg,transparent 6%,#000 24%,#000 70%,transparent 94%);-webkit-mask-composite:initial;mask-composite:initial} /* phones: the same strength on every panel and across its whole width, so a seam never shows an edge */
 .vb-t{justify-content:center;text-align:center;padding:calc(var(--hdr,68px) + clamp(20px,6svh,56px)) 24px calc(var(--dock-h,96px) + 24px)}
 .vb-ti{width:min(100%,560px)}
 .vb-qm{height:.5em;margin:0 0 .08em;font-size:clamp(72px,20vw,104px)}
 .vb-q p{max-width:none;margin-inline:auto;font:400 min(clamp(23px,6.6vw,34px),3.9svh)/1.16 var(--serif)}
 .vb-c{align-items:center;margin-top:20px}
 .vb-lg{height:40px;max-width:170px;object-position:center;margin-bottom:12px}
 .vb-wm{font-size:24px}
 .vb-w{align-items:center;gap:3px}.vb-w b{font-size:11.5px}.vb-ro,.vb-co{font-size:14px}.vb-co{justify-content:center}
 .vb:not(.vb-on) .vb-t{text-align:left}
}
@media(max-width:900px) and (max-height:700px){.vb-q p{font-size:min(clamp(20px,5.8vw,28px),3.9svh)}.vb-qm{display:none}.vb-c{margin-top:14px}.vb-lg{height:34px}}
@media(min-width:901px) and (max-height:760px){.vb-qm{height:.4em;font-size:100px}.vb-c{margin-top:20px}.vb-lg{height:44px}}
/* ---------- partner wall ---------- */
.pw-g{display:grid;gap:clamp(12px,2vh,32px)}
.pw-c{display:grid;grid-template-columns:220px 1fr;gap:16px 32px;align-items:start;padding-top:clamp(10px,2vh,32px);border-top:1px solid var(--line)}
.pw-h{margin:0;padding-top:clamp(6px,1.2vh,14px);font:400 clamp(22px,2vw,30px)/1.15 var(--serif);letter-spacing:-.01em}
.pw-h a{color:inherit;text-decoration:none}.pw-h a:hover{text-decoration:underline;text-underline-offset:5px;text-decoration-thickness:1px}
.pw-h a:focus-visible{outline:2px solid var(--ocean);outline-offset:4px;border-radius:4px}
.pw-r{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px} /* sweep v8.5: 6 tiles per row from 1280 up, so the band is one screen */
@media(min-width:1181px) and (max-width:1366px){.pw-c{grid-template-columns:180px 1fr}.pw-r{grid-template-columns:repeat(auto-fill,minmax(136px,1fr))}}
@media(min-width:901px) and (max-width:1180px){.pw-c{grid-template-columns:150px 1fr;gap:12px 24px}.pw-r{grid-template-columns:repeat(auto-fill,minmax(118px,1fr));gap:10px}.pw-t{padding:0 12px}.pw-h{font-size:22px}}
.pw-t{display:grid;place-items:center;height:clamp(52px,7.6vh,92px);padding:0 20px;background:#fff;border-radius:20px;color:var(--navy);text-decoration:none;box-shadow:none;border:1px solid var(--edge);transition:transform .35s cubic-bezier(.2,.8,.2,1),border-color .35s}
.pw-t:hover{transform:translateY(-4px);box-shadow:none;border-color:var(--edge-h)}
.pw-t:focus-visible{outline:2px solid var(--ocean);outline-offset:3px}
.pw-t img{max-width:100%;max-height:min(50px,60%);min-height:28px;width:auto;height:auto;object-fit:contain}
.pw-t .pw-nm{font:400 clamp(14px,1.1vw,16px)/1.2 var(--serif);text-align:center;letter-spacing:-.005em;text-wrap:balance}
.pw-n{margin:0;align-self:center;font-size:16px;line-height:1.5;color:var(--mut);max-width:48ch}
/* ---------- student and parent cards ---------- */
.tc-g{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(16px,2vw,28px)}
.tc{margin:0;display:flex;flex-direction:column;min-height:0;border-radius:24px;overflow:hidden;background:var(--card);color:var(--cink);box-shadow:none;border:1px solid var(--edge);transition:transform .45s cubic-bezier(.2,.8,.2,1),box-shadow .45s}
.tc:hover{transform:translateY(-4px);box-shadow:none;border-color:var(--edge-h)}
.tc-p{position:relative;width:100%;flex:none;aspect-ratio:4/5;max-height:min(42vh,420px);overflow:hidden;background:var(--bg2)}
.tc-p img{width:100%;height:100%;object-fit:cover;object-position:var(--pos,50% 32%);display:block;transition:transform 1.1s cubic-bezier(.2,.8,.2,1)}
.tc:hover .tc-p img{transform:scale(1.03)}
.tc-q{margin:0;padding:24px 24px 0}
.tc-q p{margin:0;font:italic 400 clamp(18px,1.3vw,21px)/1.4 var(--serif);color:var(--cink);text-wrap:pretty}
.tc-c{display:flex;flex-direction:column;gap:4px;padding:20px 24px 24px;margin-top:auto}
.tc-c b{font:600 17px/1.3 var(--sans);color:var(--cink)}.tc-c span{font-size:14px;line-height:1.4;color:var(--cmut)}.tc-c .smp{margin:4px 0 0;font-size:12px}
/* ---------- small university quote card ---------- */
.vc{margin:0;display:grid;grid-template-columns:auto 1fr;gap:14px 20px;align-items:start;padding:24px;border-radius:20px;background:var(--card);color:var(--cink);box-shadow:none;border:1px solid var(--edge)}
.vc .vlg{width:112px;height:64px;grid-row:1/3}
.vc-q{margin:0;grid-column:2}.vc-q p{margin:0;font:italic 400 clamp(18px,1.3vw,21px)/1.35 var(--serif);color:var(--cink);text-wrap:pretty;max-width:58ch}
.vc-c{grid-column:2;display:flex;flex-direction:column;gap:2px}
.vc-c b{font:500 15px/1.3 var(--sans);color:var(--cink)}.vc-c span{font-size:14px;line-height:1.4;color:var(--cmut)}.vc-c .smp{margin:4px 0 0}
/* ---------- phones and tablets ----------
   sweep v8.5: the partner wall never scrolls sideways (every logo visible, none hidden): the tiles wrap into a grid aligned to the same gutter as the country name,
   3 columns at 481-900, 2 at <= 480, square-ish equal tiles, 12 px gaps, last row left-aligned. */
@media(max-width:900px){
 .pw-g{gap:28px}
 .pw-c{grid-template-columns:1fr;gap:12px;padding-top:18px}.pw-h{padding-top:0;font-size:clamp(21px,3.2vw,26px)}
 .pw-r{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:0;padding:0;overflow:visible}
 .pw-t{height:auto;aspect-ratio:4/3;max-height:112px;padding:14px;border-radius:18px}
 .pw-t img{max-height:48px;min-height:26px}.pw-t .pw-nm{font-size:14px}
 .tc-g{grid-template-columns:1fr 1fr}
 .vc{grid-template-columns:1fr}.vc .vlg{grid-row:auto}.vc-q,.vc-c{grid-column:1}
}
@media(max-width:480px){.pw-r{grid-template-columns:1fr 1fr}.pw-t{padding:12px}.pw-t .pw-nm{font-size:13px}}
/* sweep v8.5: the story card row on phones and small tablets (<= 1023): starts at the page gutter like the heading, 84 % cards with a 14 px gap so only the next
   card's photo edge peeks (its text is hidden until it is mostly in view), snaps per card, ends with a gutter so the last card rests aligned; photo 4:3, face-centred. */
@media(max-width:1023px){
 .tc-g.row{display:flex;overflow-x:auto;scroll-snap-type:x proximity;/* sweep v8.6: proximity, never mandatory: a loose snap that does not fight momentum */gap:14px;margin:0 calc(-1*var(--g));padding:6px var(--g) 14px;scroll-padding-left:var(--g);scrollbar-width:none;-webkit-overflow-scrolling:touch}
 .tc-g.row::-webkit-scrollbar{display:none}
 .tc-g.row:after{content:"";flex:0 0 calc(var(--g) - 14px)} /* end padding: the last card can rest at the gutter */
 .tc-g.row .tc{flex:0 0 min(84%,440px);scroll-snap-align:start;height:auto}
 .tc-g.row .tc-p{aspect-ratio:4/3;max-height:min(34vh,320px)}
 .tc-g.row .tc-q,.tc-g.row .tc-c{transition:opacity .35s}
 .tc-g.row .tc.peek .tc-q,.tc-g.row .tc.peek .tc-c{opacity:0}
}
@media(max-width:700px){
 .tc-g{grid-template-columns:1fr}
 .tc-q{padding:20px 20px 0}.tc-q p{font-size:clamp(19px,5vw,21px);line-height:1.4}.tc-c{padding:16px 20px 22px}.tc-c b{font-size:16px}
 .vc{padding:20px}
}
@media(prefers-reduced-motion:reduce){.pw-t,.tc,.tc-p img,.vb-i,.tc-q,.tc-c{transition:none}}
/* 2026-10-30 user: no divider lines between the partner rows (spacing separates them); the head hairline under 'Partners in five countries' goes too */
.pw-c,.pw-c:first-child{border-top:0!important;border-bottom:0!important}
.pw-c{padding-top:clamp(14px,2.4vh,36px)}

/* sweep v8.14 clean surfaces: story cards on the page colour, no lines (the logo tiles .vlg / .pw-t stay white tiles: the one exception, for logo legibility) */
.tc,.tc:hover,.vc{border-color:transparent}

/* voice photos: no overlay, so give the photograph itself a little clarity (hazy skies read flat otherwise) */
.vb-pi img,.vb-ph img{filter:contrast(1.1) saturate(1.1)}

/* QA-B 2026-10-31: partner wall country headings are links; on phones they were 32 px tall, now a 44 px tap target */
@media(max-width:767px){.pw-h a{display:inline-flex;align-items:center;min-height:44px;min-width:44px}}
/* faster reveal (2026-10-31, user "appearing slow"): roughly half the waits and fade times of the swap above */
.vb-i.on .vb-qm{transition:opacity .3s ease .08s}
.vb-i.on .vb-q .vl{transition:opacity .32s ease calc(.08s + var(--k,0) * .04s),translate .42s cubic-bezier(.2,.8,.2,1) calc(.08s + var(--k,0) * .04s)}
.vb-i.on .vb-q p.rv-b{transition:opacity .32s ease .08s}
.vb-i.on .vb-c{transition:opacity .35s ease calc(.18s + var(--n,3) * .03s)}
:root[data-theme=dark] .vb-q p em{color:var(--pink)}

/* ---------- institution logos (2026-10-31, real content pass) ----------
   The client's own logo files, transparent (img/logos). Readable size: 52 px tall (64 px for near-square crests), never wider than 200 px, contained and
   aligned on a common baseline box. No white plate any more (no-box rule): the light theme shows the colour file, the dark theme its light-ink twin
   (dark ink lifted to near white, colours kept; Otago and EIT keep their own solid marks). The name is always set in text as well. */
.lg{display:block;width:auto;height:52px;max-width:min(200px,100%);object-fit:contain;object-position:center}
.lg.lg-sq{height:64px}
.lg-d{display:none}
:root[data-theme=dark] .lg-l{display:none}:root[data-theme=dark] .lg-d{display:block}
/* universities grid: logo over the name, on the page itself */
.uc,.uc:hover{background:transparent;border:0;border-radius:0;padding:12px 8px 8px}
.uc{gap:14px;min-height:0}
.uc img.lg{width:auto;height:52px;max-width:min(200px,100%);margin:0 auto}.uc img.lg.lg-sq{height:64px}
.uc:hover{transform:translateY(-3px)}
.uc span{color:var(--ink)}
.uc.uc-n{min-height:0;padding-top:20px}.uc.uc-n b{color:var(--ink)}
.uc:focus-visible{outline:2px solid var(--ocean);outline-offset:4px;border-radius:12px}
/* partner wall (home) */
.pw-t,.pw-t:hover{background:transparent;border:0;border-radius:0;height:auto;min-height:72px;max-height:none;aspect-ratio:auto;padding:6px 4px}
.pw-t:hover{transform:translateY(-3px)}
.pw-t img.lg{width:auto;height:48px;max-height:none;min-height:0;max-width:min(200px,100%)}.pw-t img.lg.lg-sq{height:60px}
.pw-t .pw-nm{color:var(--ink)}
/* small logo slots (stories rows, drawer) */
.vlg,.uf .vlg,.vc .vlg{background:transparent;border:0;border-radius:0;padding:0}
.uf .vlg-n,.vc .vlg-n{color:var(--ink)}
.vlg img.lg{width:auto;height:48px;max-height:none;max-width:200px}
.dr-l{background:transparent;border:0;border-radius:0;width:auto;height:auto;min-height:64px;padding:0;place-items:center start}
.dr-l b{color:var(--ink)}
.vb-lg{max-height:48px;max-width:200px;width:auto;object-fit:contain}
@media(max-width:700px){.lg,.uc img.lg,.vlg img.lg{height:44px}.lg.lg-sq,.uc img.lg.lg-sq{height:56px}.pw-t img.lg{height:44px}.pw-t img.lg.lg-sq{height:54px}}
/* real reviews (no portrait): quote first, name and the published label, then the source note */
.tc.tc-np .tc-q{padding-top:28px}
.smp.src-n{letter-spacing:.08em}
/* user 2026-11-01: every partner logo, both themes, in its original colours on its own white rounded backing; the white see-through
   variants (-d) are never shown. One rule for all DX.logoImg places: partner wall, universities grid + drawer, country pages, story logos. */
img.lg.lg-d{display:none!important}
img.lg.lg-l{display:block!important;background:#fff;border-radius:14px;padding:10px 16px;box-sizing:content-box;max-width:calc(100% - 32px)!important}
.vc .vlg img.lg.lg-l{padding:6px 10px;max-width:calc(100% - 20px)!important;height:40px}
.pw-t .pw-nm,.uc-n b{color:var(--ink)}
@media(max-width:700px){img.lg.lg-l{padding:8px 12px;max-width:calc(100% - 24px)!important}}
