/* ============================================================
   B4B GLOBAL EDGE · homepage v2
   Layers on top of edge.css. Full-screen blocks, scroll-driven
   zoom, stacked proof, marquee and a write-on close.
   Only loaded by homepage-v2.html.
   ============================================================ */

/* ---------- shared rhythm ---------- */
.v2 .wrap{max-width:1440px}
.v2-full{min-height:100svh; display:flex; flex-direction:column; justify-content:center; position:relative}
.v2-label{
  font-family:var(--mono); font-weight:var(--w-medium); font-size:var(--fs-label);
  letter-spacing:var(--ls-label); text-transform:uppercase; color:var(--sage); display:block;
}
/* light-section classes repoint this from the default --euca to
   the light-appropriate --haze. Keep this list in sync with the
   matching ones for .lede/.btn-ghost in edge.css. */
.sec-cream .v2-label, .cs-sec-cream .v2-label,
.cr-results .v2-label, .ct-hero .v2-label, .tg-hero .v2-label,
.v2-proof .v2-label, .v2-wwd-sum .v2-label, .v2-statement .v2-label, .v2-zoom .v2-label,
.wwd-stages .v2-label, .wwd-mid .v2-label,
.svc-scope .v2-label, .svc-close .v2-label{color:var(--haze)}

/* scroll-triggered reveal, a little more considered than the base one */
.r{opacity:0; transform:translateY(28px); transition:opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay:var(--d,0s)}
.r.in{opacity:1; transform:none}
.r-mask{clip-path:inset(0 0 100% 0); transition:clip-path 1.2s var(--ease); transition-delay:var(--d,0s)}
.r-mask.in{clip-path:inset(0 0 0 0)}
/* a hairline that wipes across */
.v2-rule{height:1px; background:var(--line-d); transform:scaleX(0); transform-origin:left; transition:transform 1.3s var(--ease)}
.sec-cream .v2-rule{background:var(--line-l)}
.v2-rule.in{transform:scaleX(1)}

/* ============================================================
   1 · HERO
   ============================================================ */
.v2-hero{position:relative; min-height:100svh; overflow:hidden; background:var(--forest); display:flex}
.v2-hero video{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0; background:#000}
.v2-hero .scrim{
  position:absolute; inset:0; z-index:1;
  background:
    linear-gradient(180deg, rgba(9,18,15,.55) 0%, rgba(9,18,15,.12) 26%, rgba(9,18,15,.2) 52%, rgba(9,18,15,.72) 82%, rgba(9,18,15,.95) 100%);
}
.v2-hero .wrap{
  position:relative; z-index:2; width:100%;
  display:flex; flex-direction:column; align-items:center; justify-content:flex-end;
  text-align:center; flex:1; padding:clamp(7rem,14vh,10rem) var(--pad) calc(clamp(3.5rem,9vh,6.5rem) + 100px);
}
.v2-hero h1{max-width:52ch; margin:0; font-size:clamp(1.8rem, min(4.6vw, 6.4vh), 4rem); line-height:1.1}
.v2-hero h1 > span{
  display:inline-block; font-family:var(--disp); font-weight:var(--w-medium);
  font-size:inherit; line-height:inherit;
  color:var(--paper); text-shadow:0 2px 40px rgba(6,14,11,.6);
  opacity:0; transform:translateY(24px);
}
body.ready .v2-hero h1 > span{animation:heroLine 1s var(--ease) forwards}
body.ready .v2-hero h1 > span:nth-child(1){animation-delay:.2s}
body.ready .v2-hero h1 > span:nth-child(2){animation-delay:.35s}
body.ready .v2-hero h1 > span:nth-child(3){animation-delay:.5s}
@keyframes heroLine{to{opacity:1; transform:none}}
/* phones: let the two title halves flow as one sentence so no line strands a
   couple of words (the fade still runs; the rise needs inline-block) */
@media (max-width:760px){ .v2-hero h1 > span{display:inline} }
.v2-hero-sub{
  margin:clamp(.9rem,2vh,1.4rem) 0 0; font-family:var(--disp); font-weight:var(--w-book);
  font-size:var(--fs-h3); line-height:1.3; color:var(--paper); text-shadow:0 2px 30px rgba(6,14,11,.6);
  opacity:0; transform:translateY(24px);
}
body.ready .v2-hero-sub{animation:heroLine 1s var(--ease) .65s forwards}
.v2-hero .cta-row{opacity:0; transform:translateY(24px); margin-top:clamp(1.6rem,3vh,2.4rem); justify-content:center}
body.ready .v2-hero .cta-row{animation:heroLine 1.2s var(--ease) .8s forwards}
.v2-scroll-cue{
  position:absolute; right:var(--pad); bottom:2.2rem; z-index:3;
  font-family:var(--mono); font-weight:var(--w-medium); font-size:var(--fs-label);
  letter-spacing:var(--ls-label); text-transform:uppercase; color:rgba(255,255,255,.6);
  display:flex; flex-direction:column; align-items:center; gap:.7rem; opacity:0;
}
@media (max-width:900px){ .v2-scroll-cue{display:none} }
body.ready .v2-scroll-cue{animation:heroLine 1.2s var(--ease) 1.5s forwards}
.v2-scroll-cue i{display:block; width:1px; height:44px; background:linear-gradient(180deg, rgba(240,246,241,.5), transparent); animation:cue 2.4s var(--ease) infinite}
@keyframes cue{0%{transform:scaleY(0); transform-origin:top}45%{transform:scaleY(1); transform-origin:top}55%{transform:scaleY(1); transform-origin:bottom}100%{transform:scaleY(0); transform-origin:bottom}}

/* ============================================================
   2 · COMMERCIAL PROOF · one continuous rotating card stack
   ============================================================ */
.v2-proof{background:var(--cream); color:var(--ink-l); padding:clamp(2.5rem,5vw,4rem) 0 clamp(2rem,4vw,3rem)}

/* height is set from JS: (cards - 1) steps of scroll, so the last card
   still gets a full turn at the front before the section ends */
.v2-stack-track{position:relative}
/* pins right at the top of the section (just clear of the fixed header)
   and fills the rest of the screen's height, so the heading, cards and
   logo bar all stay in view together and ride as one block while the
   cards rotate, releasing in a single motion once the track ends rather
   than as separately-unsticking pieces. */
.v2-stack-viewport{
  position:sticky; top:clamp(5.5rem,9vh,7.5rem);
  min-height:calc(100svh - clamp(5.5rem,9vh,7.5rem));
  display:flex; flex-direction:column; align-items:center;
  padding-top:clamp(1rem,2vw,1.4rem); padding-bottom:clamp(.5rem,1.2vw,.8rem);
}
/* the heading and card centre themselves in whatever space is left above
   the logo bar, which stays pinned to the very bottom of the viewport */
.v2-stack-body{
  flex:1; min-height:0; width:100%;
  display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center;
  gap:clamp(1.8rem,3.4vw,3rem);
}
.v2-stack-head{max-width:60ch}
.v2-stack-head .v2-label{margin:0}
.v2-stack-head h2{margin:.5rem auto 0}
.v2-stack-head .lede{margin:1rem auto 0; color:var(--mut-l)}
/* three cards fade in together, held; then as you scroll they fade and
   lift away upwards while the next group fades and rises up into place
   underneath them (see updateStack). Two groups only: three cards, then
   the remaining two. */
.v2-stack-cards{
  --stack-gap:clamp(1rem,2vw,1.5rem);
  position:relative; width:100%;
  height:clamp(20rem, calc(100svh - 28rem), 27rem);
}
.v2-stack-page{
  position:absolute; inset:0; display:flex; gap:var(--stack-gap);
  will-change:transform, opacity;
}
.v2-stack-page-1 .v2-stack-card{flex:0 0 calc((100% - (var(--stack-gap) * 2)) / 3)}
.v2-stack-page-2 .v2-stack-card{flex:0 0 calc((100% - var(--stack-gap)) / 2)}
.v2-stack-card{
  height:100%; overflow:hidden;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  text-align:center; gap:.9rem;
  background:var(--bg,#EBF7F7); border-radius:22px;
  border:1px solid rgba(20,42,36,.07);
  padding:clamp(1.6rem,3vw,2.4rem);
  box-shadow:0 40px 90px rgba(20,42,36,.16);
}
.v2-stack-card.is-link{transition:box-shadow .4s var(--ease), border-color .4s var(--ease)}
.v2-stack-card.is-link:hover, .v2-stack-card.is-link:focus-visible{border-color:rgba(0,161,154,.45); box-shadow:0 46px 100px rgba(20,42,36,.24)}
.v2-stack-card .fig-side{flex:none; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center}
.v2-stack-card .v2-fig{
  font-family:var(--disp); font-weight:var(--w-book); line-height:.92;
  font-size:clamp(2.6rem,4.4vw,4rem); color:var(--ink-l); display:block;
}
.v2-stack-card .kicker{display:block; margin-bottom:.6rem}
.v2-stack-card .body{display:flex; flex-direction:column; align-items:center; max-width:32ch}
.v2-stack-card .body h3{font-size:var(--fs-h3); margin-bottom:.6rem; color:var(--ink-l)}
.v2-stack-card .body p{color:var(--mut-l); max-width:32ch; margin:0 auto}
.v2-stack-card .client{
  font-family:var(--disp); font-weight:var(--w-medium); font-size:var(--fs-h3);
  color:var(--haze); margin-top:1rem; display:block;
}

/* ============================================================
   3 · LOGO MARQUEE
   Its own section (.v2-logos) between The problem and the testimonials.
   ============================================================ */
.v2-proof-logos{width:100%}
/* its own section (Nov 2026), between The problem and the testimonials */
.v2-logos{background:var(--cream); padding:0 0 clamp(2rem,4vw,3.5rem); overflow:hidden}
/* no fill of its own: the stat cards just above sit in this same sticky
   block, and their drop-shadow should blend straight onto the section's
   cream backdrop rather than being cut off by a second, opaque layer
   painted on top of it here */
.v2-marquee{
  width:100vw; position:relative; left:50%; right:50%; margin-left:-50vw; margin-right:-50vw;
  padding:.8rem 0 1rem; overflow:hidden;
}
.v2-marquee .strip{
  display:flex; gap:clamp(2.5rem,6vw,6rem); width:max-content; align-items:center;
  animation:slide 60s linear infinite;
  -webkit-mask-image:linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image:linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.v2-marquee:hover .strip{animation-play-state:paused}
.v2-marquee .strip .brand{
  font-family:var(--disp); font-weight:var(--w-medium); font-size:clamp(1.1rem,1.8vw,1.6rem);
  color:rgba(20,42,36,.4); white-space:nowrap; transition:color .4s var(--ease);
  display:flex; align-items:center; height:clamp(1.6rem,2.8vw,2.2rem);
}
.v2-marquee .strip .brand:hover{color:var(--ink-l)}
/* real logo files: desaturated and faded to match the text wordmarks
   they sit alongside, full colour on hover like the text darkens */
.v2-marquee .strip .brand img{
  height:100%; width:auto; max-width:9rem; display:block; object-fit:contain;
  filter:grayscale(1); opacity:.55; transition:filter .4s var(--ease), opacity .4s var(--ease);
}
.v2-marquee .strip .brand:hover img{filter:grayscale(0); opacity:1}
@keyframes slide{to{transform:translateX(-50%)}}

/* ============================================================
   4 · THE PROBLEM · full-screen statement
   ============================================================ */
.v2-statement{background:var(--cream); color:var(--ink-l); text-align:center; padding:clamp(3.5rem,7vw,6rem) 0}
.v2-statement h2{
  max-width:40ch; margin:1.8rem auto 0; font-size:clamp(2.1rem,5.4vw,4.6rem); line-height:1.1;
}
.v2-statement h2 .accent{display:block; color:var(--teal)}
.v2-statement .lede{margin:2rem auto 0; text-align:center; color:var(--mut-l)}
.v2-statement .cta-row{justify-content:center}

/* ============================================================
   5 · SCROLL ZOOM FILM
   ============================================================ */
.v2-zoom{position:relative; background:var(--cream)}
.v2-zoom .track{height:auto; position:relative}
.v2-zoom .stage{
  position:relative; display:flex; flex-direction:column; align-items:center;
  padding:clamp(3rem,6vw,5rem) var(--pad);
}
/* the frame starts at the same width as the Commercial Proof cards
   (the shared .wrap content width) and grows to full-bleed on scroll */
.v2-zoom .frame{
  position:relative; aspect-ratio:16/9;
  width:min(calc(100vw - (var(--pad) * 2)), calc(1440px - (var(--pad) * 2)));
  border-radius:12px; overflow:hidden; background:#000;
  box-shadow:0 40px 90px rgba(20,42,36,.18);
}
.v2-zoom .frame video{width:100%; height:100%; object-fit:cover; display:block; background:#000}
.v2-zoom .frame::after{
  content:""; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(180deg, rgba(6,14,11,.25) 0%, transparent 35%, rgba(6,14,11,.6) 100%);
  opacity:var(--zoom-scrim,0); transition:opacity .4s linear;
}

/* frosted-glass player controls, only usable once the film fills the screen.
   Positioned against .stage (the real 100svh viewport box), not .frame,
   so they stay anchored to the visible screen even when the frame scales
   past the viewport edges to "cover" it on wider-than-16:9 monitors. */
.v2-video-controls{
  position:relative; z-index:3; width:max-content; margin:-4.9rem auto 0;
  display:flex; align-items:center; gap:.7rem;
  padding:.6rem; border-radius:99px;
  background:rgba(255,255,255,.14); backdrop-filter:blur(20px); -webkit-backdrop-filter:blur(20px);
  border:1px solid rgba(255,255,255,.28);
  opacity:1; pointer-events:auto;
}
.v2-video-controls button{
  width:42px; height:42px; border-radius:50%; border:none; background:rgba(255,255,255,.16);
  color:#fff; display:flex; align-items:center; justify-content:center; cursor:pointer;
  transition:background .3s var(--ease);
}
.v2-video-controls button:hover{background:rgba(255,255,255,.3)}
.v2-video-controls svg{width:15px; height:15px; fill:currentColor}
/* the scrubber: a native range input for built-in drag/keyboard/tap
   support. The visible bar is a thin content-box strip inside a taller
   padded hit area (background-clip:content-box), so it looks like a
   slim line but still has a comfortable touch/click target. The teal
   "played" portion is painted as a background gradient (updated from JS
   on timeupdate/input) since WebKit has no fill pseudo-element to match
   Firefox's ::-moz-range-progress. */
.v2-video-controls .v2-vc-scrub{
  box-sizing:content-box; width:clamp(6rem,14vw,11rem); height:2px; padding:9px 0;
  margin:0 .2rem; border:none;
  -webkit-appearance:none; -moz-appearance:none; appearance:none;
  background:rgba(255,255,255,.35); background-clip:content-box;
  border-radius:99px; cursor:pointer;
}
.v2-video-controls .v2-vc-scrub::-webkit-slider-runnable-track{-webkit-appearance:none; height:2px; background:transparent}
.v2-video-controls .v2-vc-scrub::-moz-range-track{height:2px; background:transparent; border:none}
.v2-video-controls .v2-vc-scrub::-webkit-slider-thumb{
  -webkit-appearance:none; appearance:none; width:11px; height:11px; margin-top:-4.5px;
  border-radius:50%; background:#fff; box-shadow:0 1px 4px rgba(0,0,0,.35);
}
.v2-video-controls .v2-vc-scrub::-moz-range-thumb{
  width:11px; height:11px; border:none; border-radius:50%; background:#fff;
  box-shadow:0 1px 4px rgba(0,0,0,.35);
}

/* ============================================================
   9 · TESTIMONIAL CAROUSEL · a native horizontally-scrolling,
   scroll-snapping track. Arrows and dots call scrollTo; a trackpad
   or touch swipe works directly on the stage too.
   ============================================================ */
/* no overflow:hidden here: it would sit between .v2-quote-pin and the
   viewport and silently break its position:sticky (a non-scrolling
   ancestor with non-visible overflow becomes sticky's containing block
   and it can never actually "stick") */
/* the brand teal rather than the dark forest the rest of the "proof" run
   of sections uses, stretched across the section's full height: white at
   the very top (meeting the Client Results section above with no hard
   edge) building all the way to full-strength teal at the very bottom */
.v2-quotes{
  background:linear-gradient(180deg, var(--cream) 0%, var(--teal) 100%);
  color:var(--ink-l); padding:clamp(3.5rem,7vw,6rem) 0; position:relative;
}
.v2-quotes-head{text-align:center}
.v2-quotes-head .v2-label{color:var(--haze)}
.v2-quotes-head h2{margin:1.4rem auto 0; max-width:20ch}

/* pinned full-screen while its own stretch of scroll plays out; normal
   (vertical) page scroll drives the stage horizontally through all three
   quotes in turn via a JS-set translateX, so nobody scrolls past without
   seeing each one. Track height is set from JS. */
.v2-quote-track{position:relative}
.v2-quote-pin{
  position:sticky; top:0; height:100svh; overflow:hidden;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
}
.v2-quote-stage{display:flex; width:100%; will-change:transform}
.v2-quote{
  flex:0 0 100%;
  display:flex; align-items:center; justify-content:center;
  padding:0 clamp(1.5rem,8vw,9rem);
}
/* each testimonial sits in its own white card rather than loose on the
   dark section background */
.v2-quote-card{
  width:100%; max-width:46rem; background:#fff; border-radius:26px;
  padding:clamp(2.4rem,5vw,3.8rem) clamp(2rem,5vw,3.2rem);
  box-shadow:0 40px 90px rgba(0,0,0,.3);
  display:flex; flex-direction:column; align-items:center; text-align:center;
}
.v2-quote-card .mark{font-family:var(--disp); font-weight:var(--w-medium); font-size:clamp(4rem,9vw,7rem); line-height:.72; color:var(--haze); opacity:.3}
.v2-quote-card blockquote{font-family:var(--disp); font-weight:var(--w-book); font-size:clamp(1.5rem,3.4vw,2.8rem); line-height:1.3; color:var(--ink-l); max-width:26ch; margin:0 auto}
.v2-quote-card .who{
  margin-top:clamp(1.6rem,3vw,2.4rem); padding-top:1.3rem; border-top:1px solid var(--line-l);
  display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:1rem 60px;
  width:100%; text-align:left;
}
.v2-quote-card .who .person{display:flex; align-items:center; gap:1rem}
.v2-quote-card .who .id{display:flex; flex-direction:column; gap:.2rem}
/* circular portrait: swap the initials <span> for <img class="avatar" src="..." alt="Name"> once photos arrive */
.v2-quote-card .avatar{
  flex:0 0 auto; width:100px; height:100px; border-radius:50%; background:var(--line-l); object-fit:cover;
  display:flex; align-items:center; justify-content:center;
  font-family:var(--mono); font-weight:var(--w-medium); font-size:var(--fs-label); letter-spacing:var(--ls-label); color:var(--haze);
}
.v2-quote-card .who b{font-family:var(--mono); font-weight:var(--w-medium); font-size:var(--fs-label); letter-spacing:var(--ls-label); text-transform:uppercase; color:var(--ink-l)}
.v2-quote-card .who span{font-family:var(--mono); font-weight:var(--w-medium); font-size:var(--fs-label); letter-spacing:var(--ls-label); text-transform:uppercase; color:var(--haze)}

/* big arrows, pinned to either edge of the screen */
.v2-quote-arrow{
  position:absolute; top:50%; transform:translateY(-50%); z-index:4;
  width:60px; height:60px; border-radius:50%; border:1px solid var(--line-l);
  background:rgba(20,42,36,.04); color:var(--ink-l); cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  transition:border-color .4s var(--ease), background .4s var(--ease);
}
.v2-quote-arrow svg{width:22px; height:22px}
.v2-quote-arrow:hover{border-color:var(--teal); background:rgba(0,161,154,.14)}
.v2-quote-arrow.is-prev{left:clamp(.8rem,3vw,3rem)}
.v2-quote-arrow.is-next{right:clamp(.8rem,3vw,3rem)}
@media (max-width:900px){ .v2-quote-arrow{display:none} }

.v2-quote-dots{display:flex; gap:.5rem; justify-content:center; margin-top:clamp(2rem,4vw,2.8rem)}
.v2-quote-dots i{width:7px; height:7px; border-radius:50%; background:var(--line-l); transition:background .4s var(--ease), transform .4s var(--ease)}
.v2-quote-dots i.on{background:var(--teal); transform:scale(1.35)}

/* ============================================================
   10 · FIND YOUR TRUST GAP
   ============================================================ */
.v2-gap{background:linear-gradient(180deg, var(--forest) 0%, var(--forest-2) 100%); color:var(--paper); padding:clamp(3.5rem,7vw,6rem) 0}
.v2-gap-grid{display:grid; grid-template-columns:minmax(0,1fr) minmax(0,.9fr); gap:clamp(2.5rem,6vw,5rem); align-items:center}
.v2-gap h2{max-width:16ch; margin:1.6rem 0 0}
.v2-gap .lede{margin-top:1.6rem}
.v2-gap .note{margin-top:1.4rem; font-family:var(--mono); font-weight:var(--w-medium); font-size:var(--fs-label); letter-spacing:var(--ls-label); text-transform:uppercase; color:var(--mut-l)}

/* report illustration: the title writes on word by word and the bars
   grow in from the left, both triggered once the mock scrolls into view.
   Scoped to this page's copy of .report-mock only (index.html's stays
   untouched, since these classes are shared with it via edge.css). */
.v2-gap .report-mock .rm-bar i{transition:width 1.1s var(--ease)}
/* smaller than the shared edge.css size so "before the meeting" wraps
   onto fewer lines and leaves the bars/footer below it clear of the
   card's bottom edge */
.v2-gap .report-mock h3{font-size:clamp(1.2rem,2.2vw,2rem)}
.v2-gap .report-mock h3 .rm-w{
  display:inline-block; opacity:0; transform:translateY(.4em);
  transition:opacity .6s var(--ease), transform .6s var(--ease); transition-delay:var(--d,0s);
}
.v2-gap .report-mock h3.is-on .rm-w{opacity:1; transform:none}

/* ============================================================
   11 · TRUST GAP EVENTS · full-bleed film
   ============================================================ */
.v2-series{position:relative; min-height:100svh; display:flex; align-items:flex-end; overflow:hidden; background:var(--forest); color:var(--paper)}
.v2-series-media{position:absolute; inset:0; z-index:0}
.v2-series-media img, .v2-series-media video{width:100%; height:100%; object-fit:cover; transform:scale(1.08); transition:transform 2.4s var(--ease)}
.v2-series.in .v2-series-media img, .v2-series.in .v2-series-media video{transform:scale(1)}
.v2-series-media::after{content:""; position:absolute; inset:0; background:linear-gradient(to top, rgba(6,14,11,.94) 4%, rgba(6,14,11,.45) 46%, rgba(6,14,11,.18) 100%)}
.v2-series .wrap{position:relative; z-index:1; width:100%; padding-bottom:clamp(3.5rem,8vh,6rem); padding-top:clamp(6rem,12vh,9rem)}
.v2-series h2{max-width:18ch; margin:1.6rem 0 0}
.v2-series .lede{margin-top:1.6rem; color:rgba(255,255,255,.86); max-width:46ch}

/* ============================================================
   12 · FINAL CTA · write-on
   ============================================================ */
.v2-cta{background:var(--forest); color:var(--paper); text-align:center; padding:clamp(4.5rem,9vw,8rem) 0}
.v2-cta h2{
  max-width:18ch; margin:1.8rem auto 0; font-size:clamp(2.1rem,5.6vw,4.8rem); line-height:1.1;
}
/* opacity and transform are set per-word, per-frame from JS as the section
   scrolls through view, so this reverses cleanly on scroll-up too */
.v2-cta h2 .w{display:inline-block; opacity:.12; transition:opacity .15s linear, transform .15s linear; transform:translateY(.12em)}
.v2-cta .sub{margin-top:1.8rem; font-family:var(--disp); font-weight:var(--w-book); font-size:var(--fs-h3); color:var(--sage)}
.v2-cta .cta-row{justify-content:center; margin-top:2.8rem}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width:1100px){
  .v2-gap-grid{grid-template-columns:1fr}
  .v2-zoom .frame{width:min(100%, 46rem)}
}
@media (max-width:760px){
  /* phones: the film is a plain 16:9 block at full screen width, not a full-height
     panel, so scrolling past it stays easy */
  .v2-zoom .stage{padding:1.5rem 0 2rem}
  .v2-zoom .frame{width:100%; border-radius:0; box-shadow:none}
  /* too narrow for the fade/lift card groups to read comfortably: a
     plain, fully-readable stacked list instead, same fallback as
     reduced motion uses */
  .v2-stack-cards{height:auto}
  .v2-stack-page{
    position:static; opacity:1 !important; transform:none !important;
    display:grid; grid-template-columns:1fr; gap:1rem;
  }
  .v2-stack-page-2{margin-top:1rem}
  .v2-stack-card{flex-basis:auto}
  /* phones: nothing is pinned or centred in a viewport-tall box. The heading, cards and logo strip
     simply stack, with clear space between each and before the next section */
  .v2-stack-viewport{position:static; min-height:0}
  .v2-stack-body{gap:1.6rem}
  .v2-proof{padding-bottom:2.5rem}
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion:reduce){
  .r, .r-mask, .v2-rule{opacity:1 !important; transform:none !important; clip-path:none !important}
  .v2-hero h1 > span, .v2-hero-sub, .v2-hero .cta-row, .v2-scroll-cue{opacity:1 !important; transform:none !important; animation:none !important}
  .v2-marquee .strip{animation:none; width:auto; flex-wrap:wrap; justify-content:center}
  .v2-zoom .track{height:auto}
  .v2-zoom .stage{position:static; height:auto; padding:clamp(3rem,6vw,5rem) 0}
  .v2-zoom .frame{transform:none !important; width:min(90vw,60rem)}
  /* no scroll-driven fade/lift groups: a plain, fully-readable grid instead */
  .v2-stack-track{height:auto !important}
  .v2-stack-viewport{position:static !important}
  .v2-stack-cards{height:auto !important; display:grid !important; gap:1.2rem}
  .v2-stack-page{position:static !important; opacity:1 !important; transform:none !important; display:contents}
  .v2-stack-card{flex-basis:auto !important}
  .v2-cta h2 .w{opacity:1 !important; transform:none !important}
  .v2-series-media img, .v2-series-media video{transform:none !important}
  .v2-scroll-cue i{animation:none}
  /* no horizontal testimonial scroll: a plain, fully-readable stacked list instead */
  .v2-quote-track{height:auto !important}
  .v2-quote-pin{position:static !important; height:auto !important}
  .v2-quote-stage{transform:none !important; flex-direction:column !important; gap:3rem; padding:0 0 clamp(2rem,4vw,3rem)}
  .v2-quote{flex:none !important}
  .v2-quote-arrow, .v2-quote-dots{display:none !important}
}

/* client logo in a testimonial caption: its own centred row above the name,
   standing in for the typed company name */
.v2-quote-card .who .client-logo{flex:0 0 auto; align-self:center; height:30px; width:auto; max-width:none; object-fit:contain; margin:0}

/* ============================================================
   WHAT WE DO · static boxed summary beneath the hero
   ============================================================ */
.v2-wwd-sum{background:var(--cream); color:var(--ink-l); padding:clamp(3rem,6vw,4.5rem) 0}
.v2-wwd-head{display:flex; flex-direction:column; align-items:center; text-align:center}
.v2-wwd-head h2{margin:1.2rem 0 0}
.v2-wwd-head .lede{margin:1rem auto 0; color:var(--mut-l)}
.v2-wwd-head .cta-row{justify-content:center; margin-top:2rem}
.v2-wwd-grid{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1.2rem; margin-top:clamp(2rem,4vw,3rem)}
.v2-wwd-box{display:flex; flex-direction:column; align-items:flex-start; border:1px solid var(--line-l); border-radius:6px; padding:clamp(1.4rem,2.5vw,2rem); background:#fff}
.v2-wwd-box .n{display:block; font-family:var(--mono); font-weight:var(--w-medium); font-size:var(--fs-label); letter-spacing:var(--ls-label); color:var(--teal)}
.v2-wwd-box h3{font-size:var(--fs-h3); line-height:1.2; margin-top:1.4rem}
.v2-wwd-box p{margin-top:.6rem; color:var(--mut-l)}
@media (max-width:900px){.v2-wwd-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:560px){.v2-wwd-grid{grid-template-columns:minmax(0,1fr)}}
.v2-wwd-box .tlink{margin-top:auto; padding-top:1.4rem; color:var(--deep); font-weight:var(--w-medium); display:inline-block}
.v2-wwd-box .tlink:hover{color:var(--teal)}

/* ============================================================
   9 · TESTIMONIALS (reworked): a video carousel, four films at a time,
   above a constantly rotating row of quote cards.
   ============================================================ */
.v2-quotes .tq-label{display:block; text-align:left; color:var(--haze)}
.v2-quotes .vc-wrap.vc-four{margin-top:1.4rem}
.vc-four .vc-track{padding:.4rem 0 1.2rem; gap:1.2rem}
.vc-four .vc-card{flex:0 0 calc((100% - 3.6rem) / 4)}
.vc-four .vc-prev{left:.6rem} .vc-four .vc-next{right:.6rem}
.v2-quotes .vc-cap{color:var(--ink-l); font-size:var(--fs-copy); font-family:var(--body); font-weight:var(--w-medium); line-height:1.3}
.v2-quotes .vc-nav{background:rgba(255,255,255,.92); color:var(--ink-l); border-color:var(--line-l)}
.v2-quotes .vc-nav:hover{background:var(--teal); border-color:var(--teal); color:#fff}
/* brand logo as the thumbnail: centred, white, on a dark card */
.vc-thumb.is-brand{background:linear-gradient(160deg, var(--forest-2) 0%, var(--deep) 100%)}
.vc-thumb.is-brand .vc-logo{
  inset:0; left:0; top:0; max-width:none; padding:0; background:none; justify-content:center;
}
.vc-thumb.is-brand .vc-logo img{max-height:3.2rem; max-width:62%; filter:brightness(0) invert(1)}
@media (max-width:1000px){ .vc-four .vc-card{flex-basis:calc((100% - 1.2rem) / 2)} }
@media (max-width:700px){ .vc-four .vc-card{flex-basis:78%} }

/* constant rotator of quote cards: a seamless strip scrolling left,
   paused while hovered or focused. Sized like portfolio thumbnails
   rather than a pinned full-screen quote. */
.tq{margin-top:clamp(3rem,6vw,5rem); overflow:hidden;
  -webkit-mask-image:linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
          mask-image:linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%)}
.tq-strip{display:flex; gap:1.2rem; width:max-content; animation:tq-scroll 123s linear infinite}
.tq:hover .tq-strip, .tq:focus-within .tq-strip{animation-play-state:paused}
@keyframes tq-scroll{ to{transform:translateX(calc(-50% - .6rem))} }
.tq-card{
  flex:0 0 clamp(16rem, 22vw, 24rem); display:flex; flex-direction:column; justify-content:flex-start;
  padding:clamp(1.4rem,2vw,2rem); border-radius:12px; background:#fff; color:var(--ink-l);
  box-shadow:0 24px 50px rgba(6,20,17,.14);
}
/* the longer quotes get a wider card, so they don't stretch every card in the row taller */
.tq-card.is-long{flex-basis:clamp(22rem, 36vw, 38rem)}
.tq-card .mark{font-family:var(--disp); font-size:clamp(3.4rem,5vw,4.6rem); line-height:.7; color:var(--haze); opacity:.3}
.tq-card blockquote{margin:0; font-family:var(--disp); font-weight:var(--w-book); font-size:clamp(1.15rem,1.55vw,1.5rem); line-height:1.3; color:var(--ink-l)}
.tq-card .who{display:flex; align-items:center; gap:.9rem; margin-top:1.2rem}
.tq-card .avatar{width:2.8rem; height:2.8rem; border-radius:50%; object-fit:cover; flex:none; background:var(--haze)}
.tq-card .ini{width:2.8rem; height:2.8rem; border-radius:50%; flex:none; background:var(--haze); color:#fff; display:flex; align-items:center;
  justify-content:center; font-family:var(--mono); font-size:var(--fs-label); font-weight:var(--w-medium)}
.tq-card .id{display:flex; flex-direction:column; gap:.15rem; min-width:0}
.tq-card .id b, .tq-card .id span{font-family:var(--mono); font-size:var(--fs-label); letter-spacing:var(--ls-label); text-transform:uppercase; font-weight:var(--w-medium)}
.tq-card .id b{color:var(--ink-l)}
.tq-card .id span{color:var(--haze)}
@media (max-width:700px){ .tq-card{flex-basis:76vw} }
@media (prefers-reduced-motion:reduce){
  .tq{overflow-x:auto; -webkit-mask-image:none; mask-image:none}
  .tq-strip{animation:none}
}

/* testimonial carousel: arrows sit in the label row, out of the way of the play buttons */
.vc-four .vc-nav{top:-3.7rem; width:2.6rem; height:2.6rem; font-size:1.5rem}
.vc-four .vc-prev{left:auto; right:3.4rem}
.vc-four .vc-next{right:0}
.vc-four .vc-nav[disabled]{opacity:.35; pointer-events:none}
.vc-thumb.is-brand .vc-logo{padding-bottom:1.4rem}
.vc-thumb.is-brand .vc-play{width:2.6rem; height:2.6rem; right:.8rem; bottom:.8rem}
.vc-thumb.is-brand .vc-play::after{border-left-width:.7rem; border-top-width:.45rem; border-bottom-width:.45rem}

/* portrait testimonial film: crop its thumbnail to the card around the face */
.vc-thumb.is-portrait{background-position:center 28%}

/* tall, near-square logos (IFX) need a little more height to read as large as the wide ones */
.v2-marquee .strip .brand.is-tall{height:clamp(2.6rem,4.2vw,3.4rem)}

/* quote cards lead with a large portrait of the person, so the people
   behind the reviews are clearly visible: the figcaption is unwrapped so
   the photo can sit at the top and the name stays at the foot */
.tq-card .mark{display:none}
.tq-card .who{display:contents}
.tq-card .avatar, .tq-card .ini{order:-1; width:clamp(8rem,11vw,10rem); height:clamp(8rem,11vw,10rem); margin-bottom:1.4rem}
.tq-card .ini{font-size:var(--fs-h3)}
.tq-card .id{margin-top:auto; padding-top:1.2rem}

/* hero film: no poster. Start on forest green and fade the film in once its first frames are playing
   (vimeo-video.js adds .is-rolling on the first timeupdate). */
#v2HeroVid{background:var(--forest)}
#v2HeroVid iframe{opacity:0; transition:opacity .5s ease}
#v2HeroVid.is-rolling iframe{opacity:1}
@media (prefers-reduced-motion:reduce){ #v2HeroVid iframe{transition-duration:.01s} }
