/* Homepage only, loaded after /v3.css (home-v3 staging draft, 2026-12-02). Photos are pre-cropped in
   public/assets/work/home-v3/ to the tile ratio (1200:805 desktop, 800:661 phone) with the face about a
   third of the frame height and the eyes a quarter from the top, so the focal points stay near the centre.
   Page-only classes use the vh- prefix; shared components from v3.css are not restyled, except the
   page-scoped five-figure stats row (.vh-stats), proposed as a shared modifier in the audit. */
#root .v3 .v3-pos-hero .v3-photo{object-position:50% 30%}
#root .v3 .v3-pos-tile .v3-photo{object-position:50% 25%}
#root .v3 .v3-hero p.vh-hero-sub{font-size:17px;margin-top:-10px}

/* Three pillars: text only, on rose */
#root .v3 .vh-why{background:var(--v3-rose)}
#root .v3 .vh-pillars{display:grid;grid-template-columns:repeat(3,1fr);gap:40px 4%}
#root .v3 .vh-pillar{display:flex;flex-direction:column;align-items:flex-start;gap:16px;border-top:3px solid var(--v3-coral);padding-top:24px}
#root .v3 .vh-pillar h3{font-size:clamp(27px,2.5vw,36px)}
#root .v3 .vh-pillar .v3-link{margin-top:auto}

/* Proof: logos and five figures */
#root .v3 .vh-proof{padding-bottom:30px}
#root .v3 .vh-proof .v3-intro{margin-bottom:30px}
#root .v3 .vh-stats{grid-template-columns:repeat(5,1fr);padding-top:35px}
#root .v3 .vh-stats .vh-stats-label{grid-column:1/-1;font-size:12px;letter-spacing:.07em;line-height:1.3}
#root .v3 .vh-stats .v3-stat strong{font-size:clamp(38px,4.4vw,66px)}

/* Partner results */
#root .v3 .vh-cases{display:grid;grid-template-columns:repeat(3,1fr);gap:40px 4%}
#root .v3 .vh-case{display:flex;flex-direction:column;align-items:flex-start;gap:14px;border-top:3px solid var(--v3-coral);padding-top:22px}
#root .v3 .vh-case h3{font-size:clamp(23px,2vw,29px);line-height:1.12;letter-spacing:-.03em}
#root .v3 .vh-case p{font-size:15.5px}
#root .v3 .vh-case p.vh-source{font-size:12px;color:var(--v3-ink)}
#root .v3 .vh-case .v3-link{margin-top:auto}
#root .v3 .vh-results{padding-top:40px}

/* Partner quotes: a scrollable row, no script */
#root .v3 .vh-quotes-sec{background:var(--v3-navy);color:#fff;padding-right:0}
#root .v3 .vh-quotes-head{display:flex;justify-content:space-between;align-items:center;gap:20px;padding-right:6%;margin-bottom:26px}
#root .v3 .vh-quotes-head .v3-eyebrow{font-size:13px}
#root .v3 .vh-quotes-hint{font-size:13px;opacity:.8}
#root .v3 .vh-quotes{list-style:none;margin:0;padding:0 6% 18px 0;display:flex;gap:22px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-color:var(--v3-pink) #ffffff22;scrollbar-width:thin}
#root .v3 .vh-quotes:focus-visible{outline-color:#fff}
#root .v3 .vh-quotes li{flex:0 0 min(400px,80vw);scroll-snap-align:start;display:flex}
#root .v3 .vh-quotes figure{display:flex;flex-direction:column;justify-content:space-between;gap:22px;border-left:3px solid var(--v3-coral);padding:4px 0 4px 22px}
#root .v3 .vh-quotes blockquote{margin:0}
#root .v3 .vh-quotes blockquote p{font-size:17px;line-height:1.5}
#root .v3 .vh-quotes figcaption a{color:#fff;text-decoration:underline;text-decoration-color:var(--v3-coral);text-decoration-thickness:2px;text-underline-offset:3px}
#root .v3 .vh-quotes figcaption a:focus-visible{outline-color:#fff}
/* The hidden "(opens in a new tab)" text is absolutely positioned: keep it inside the scrolling slider. */
#root .v3 .vh-quotes{position:relative}
#root .v3 .vh-quotes figcaption{font-size:14px;opacity:.85}
#root .v3 .vh-quotes figcaption strong{display:block;font-size:15px;opacity:1}

/* Solutions and outcomes */
#root .v3 .vh-sol-wrap{display:grid;grid-template-columns:2.4fr 1fr;gap:6%;align-items:start}
#root .v3 .vh-sol{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;column-gap:4%;border-top:1px solid #05223144}
#root .v3 .vh-sol a{display:grid;grid-template-columns:48px 1fr auto;grid-template-rows:auto auto;column-gap:16px;align-items:center;padding:16px 0;border-bottom:1px solid #05223144;text-decoration:none}
#root .v3 .vh-sol img{grid-row:1/3;width:48px;height:48px}
#root .v3 .vh-sol-name{font-weight:800;font-size:19px;line-height:1.2}
#root .v3 .vh-sol-what{grid-column:2;font-size:13.5px;color:var(--v3-ink);line-height:1.35}
#root .v3 .vh-sol-arrow{grid-column:3;grid-row:1/3;font-weight:800}
#root .v3 .vh-sol a:hover .vh-sol-name{text-decoration:underline;text-decoration-color:var(--v3-coral);text-underline-offset:4px}
#root .v3 .vh-outcome{background:var(--v3-pink);padding:28px 26px}
#root .v3 .vh-outcome h3{font-size:clamp(24px,2.2vw,30px);margin-bottom:16px}
#root .v3 .vh-outcome ul{list-style:none;margin:14px 0 0;padding:0;display:flex;flex-direction:column;align-items:flex-start;gap:14px}

/* FAQ details */
#root .v3 .vh-faq-sub{margin-top:16px;max-width:340px}
#root .v3 .v3-end .v3-actions{flex-shrink:0}
#root .v3 .v3-end .v3-btn-line:hover{background:#fff}

@media (max-width:1100px){
  #root .v3 .vh-stats{grid-template-columns:repeat(3,1fr)}
  #root .v3 .vh-sol-wrap{grid-template-columns:1fr}
}
@media (max-width:900px){
  #root .v3 .vh-pillars,#root .v3 .vh-cases{grid-template-columns:1fr 1fr}
  #root .v3 .vh-quotes-head{padding-right:5%}
  #root .v3 .vh-quotes{padding-right:5%}
}
@media (max-width:650px){
  #root .v3 .vh-pillars,#root .v3 .vh-cases,#root .v3 .vh-sol{grid-template-columns:1fr}
  #root .v3 .vh-stats{grid-template-columns:1fr 1fr;gap:26px 18px}
  #root .v3 .vh-stats .v3-stat{padding-left:14px}
  #root .v3 .vh-stats .v3-stat strong{font-size:44px}
  #root .v3 .vh-hero-sub{font-size:16px}
  #root .v3 .vh-sol-name{font-size:18px}
  #root .v3 .v3-end .v3-actions{margin-top:25px}
  #root .v3 .v3-end .v3-actions .v3-btn{margin-top:0}
}

/* QA 2026-12-02 (1440/1024/768/390): the homepage H1 is 9 words, so the shared 98px size ran to six lines;
   the four strip items wrapped one item at 1440 (still at least 19px bold, AA large text); intros with one
   column were held to 430px by the shared :last-child rule; at 651-900px the long hero copy stretched the
   photo column to 370 x 950, so the hero stacks there. */
#root .v3 .v3-hero h1{font-size:clamp(46px,5.2vw,78px)}
#root .v3 .v3-strip{font-size:clamp(19px,1.45vw,22px)}
#root .v3 .v3-intro > div:only-child{max-width:none}
@media (max-width:900px){
  #root .v3 .v3-hero{grid-template-columns:1fr}
  #root .v3 .v3-hero-photo{min-height:0;aspect-ratio:4/3}
}
@media (max-width:650px){
  #root .v3 .v3-hero h1{font-size:clamp(42px,11vw,58px)}
  #root .v3 .v3-hero-photo{aspect-ratio:1/1}
  #root .v3 .v3-strip{display:grid;grid-template-columns:1fr 1fr;gap:6px 12px}
  #root .v3 .v3-strip i{display:none}
}
