/* ============================================================================
   voice-reader.css — the shared reading component for the voice evidence
   ----------------------------------------------------------------------------
   One panel, used twice: Brand Voice runs it at full size over the six
   communications and the four editorial studies; Brand Systems runs the same
   component compact over three examples inside its Voice expansion.

   Three decisions, three controls, named separately: which EXAMPLE, which
   VERSION, and — where a record has one — which READING.  The header and the
   control rows sit above the copy and never move when a choice changes; the
   copy region carries a reserved measure so comparable examples do not shift
   the frame, and the outcomes strip stays with the pair beneath it.

   Colour never carries a distinction on its own.  Every version, every
   annotated principle and every signed change is named in words as well.
   ========================================================================== */

.vr{
  --vr-paper:#FBFAF7;
  --vr-ink:#141414;
  --vr-mute:rgba(20,20,20,.58);
  --vr-line:rgba(20,20,20,.14);
  --vr-line-2:rgba(20,20,20,.07);
  --vr-iv:#FF692E;                 /* Victory Orange: identifies an editorial change */
  --vr-blue:#065986;               /* Victory Blue: supporting structure */
  --vr-sans:'Public Sans',system-ui,-apple-system,'Segoe UI',Helvetica,Arial,sans-serif;
  --vr-serif:'Source Serif 4',Georgia,'Times New Roman',serif;
  --vr-gut:clamp(24px,3.4vw,56px);
  display:block;margin:0;color:var(--vr-ink);
  background:var(--vr-paper);
  border:1px solid var(--vr-line);
  font-family:var(--vr-sans);
}

/* The panel is a paper plane, and it may sit on a light page or inside the Carbon field.  The
   site's page-level rules colour headings and the p/li/dd/dt/figcaption group for their own
   ground, so the panel re-asserts its own ink at two classes and keeps its contrast either way.
   Nothing here reaches outside .vr. */
.vr.vr h1,.vr.vr h2,.vr.vr h3,.vr.vr h4,
.vr.vr p,.vr.vr li,.vr.vr dd,.vr.vr dt,.vr.vr figcaption,.vr.vr blockquote{color:inherit}
.vr.vr a{color:var(--vr-blue)}
.vr.vr a:hover{color:var(--vr-iv)}
.vr.vr label{color:var(--vr-mute)}
/* the Carbon page paints every bare button acid; the panel's controls are on paper */
.vr.vr button{background:transparent;color:var(--vr-ink);border-radius:2px}
.vr.vr select{background-color:#fff;color:var(--vr-ink);border:1px solid rgba(20,20,20,.34)}
.vr.vr :is(a,button,select,[tabindex]):focus-visible{outline:2px solid var(--vr-blue);outline-offset:2px}
.vr .vr__k,.vr .vr__lab,.vr .vr__obj,.vr .vr__src,.vr .vr__prov,
.vr .vr__pos,.vr .vr__scope,.vr .vr__figl,.vr .vr__prg,.vr .vr__pmap,
.vr .vr__morep{color:var(--vr-mute)}
.vr .vr__was{color:var(--vr-mute)}

/* ---- header: the series, named, and the example choice --------------------- */
.vr__hd{padding:clamp(14px,2vw,22px) var(--vr-gut) 0}
.vr__k{
  margin:0 0 clamp(10px,1.4vw,16px);font:500 12px/1.3 var(--vr-sans);
  letter-spacing:.16em;text-transform:uppercase;color:var(--vr-mute);
}
.vr__k b{color:var(--vr-ink);font-weight:600}

.vr__lab{
  display:block;margin:0 0 6px;font:600 11px/1.3 var(--vr-sans);
  letter-spacing:.15em;text-transform:uppercase;color:var(--vr-mute);
}

/* desktop: named tabs, wrapping rather than scrolling, so nothing hides */
.vr__tabs{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 clamp(12px,1.8vw,20px);padding:0;list-style:none}
.vr.vr .vr__tab{
  appearance:none;margin:0;cursor:pointer;
  min-height:44px;padding:9px 15px;
  font:500 14px/1.25 var(--vr-sans);letter-spacing:.005em;
  color:var(--vr-ink);background:transparent;
  border:1px solid var(--vr-line);border-radius:2px;
}
.vr.vr .vr__tab:hover{border-color:rgba(20,20,20,.34)}
.vr.vr .vr__tab[aria-selected="true"]{
  background:var(--vr-ink);color:#FBFAF7;border-color:var(--vr-ink);font-weight:600;
}
.vr__tab[aria-selected="true"]::before{content:"";display:inline-block;width:0}
.vr__tab:focus-visible{outline:2px solid var(--vr-blue);outline-offset:2px}

/* phone: one conspicuous control that names the current example and the total */
.vr__pick{display:none;margin:0 0 clamp(12px,1.8vw,18px)}
.vr.vr .vr__sel{
  width:100%;min-height:48px;padding:11px 40px 11px 13px;
  font:500 16px/1.3 var(--vr-sans);color:var(--vr-ink);
  background:#fff url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23141414' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 14px center;
  border:1px solid rgba(20,20,20,.34);border-radius:2px;appearance:none;
}
.vr__sel:focus-visible{outline:2px solid var(--vr-blue);outline-offset:2px}
.vr__pos{margin:7px 0 0;font:500 13px/1.3 var(--vr-sans);color:var(--vr-mute)}

/* ---- the subject of the comparison: one stable region --------------------- */
.vr__ctx{
  padding:clamp(6px,1vw,10px) var(--vr-gut) clamp(14px,2vw,20px);
  border-bottom:1px solid var(--vr-line-2);
}
.vr__t{
  margin:0;font-family:var(--vr-serif);font-weight:400;
  font-size:clamp(25px,2.5vw,34px);line-height:1.18;letter-spacing:-.012em;
  text-wrap:balance;
}
.vr__obj{margin:6px 0 0;font:400 15px/1.5 var(--vr-sans);color:var(--vr-mute);max-width:62ch}
.vr__src{margin:9px 0 0;font:400 13px/1.55 var(--vr-sans);color:var(--vr-mute);max-width:74ch}
.vr__src a{color:var(--vr-blue);text-underline-offset:2px}

/* ---- the second and third decisions ---------------------------------------- */
.vr__modes{
  display:flex;flex-wrap:wrap;gap:clamp(14px,2.4vw,34px);align-items:flex-end;
  padding:clamp(12px,1.8vw,18px) var(--vr-gut);
  border-bottom:1px solid var(--vr-line-2);
}
.vr__seg{display:flex;gap:0;border:1px solid var(--vr-line);border-radius:2px;overflow:hidden}
.vr.vr .vr__segb{
  appearance:none;margin:0;cursor:pointer;min-height:44px;padding:10px 16px;
  font:500 14px/1.2 var(--vr-sans);color:var(--vr-ink);background:#fff;border:0;
  border-right:1px solid var(--vr-line);
}
.vr.vr .vr__segb:last-child{border-right:0}
.vr.vr .vr__segb[aria-pressed="true"]{background:var(--vr-ink);color:#FBFAF7;font-weight:600}
.vr__segb:focus-visible{outline:2px solid var(--vr-blue);outline-offset:-3px}
.vr__vers{display:none}                 /* desktop shows both columns; see the narrow rules */

/* ---- the writing ----------------------------------------------------------- */
.vr__cols{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:clamp(40px,3.6vw,56px);
  padding:clamp(20px,2.8vw,34px) var(--vr-gut) clamp(18px,2.4vw,28px);
  align-items:start;
}
.vr__side{margin:0;min-width:0}
.vr__sidehd{margin:0 0 3px;font:600 12px/1.3 var(--vr-sans);letter-spacing:.14em;text-transform:uppercase}
.vr__side--before .vr__sidehd{color:var(--vr-mute)}
.vr__side--after  .vr__sidehd{color:var(--vr-iv)}
.vr__prov{margin:0 0 clamp(14px,1.8vw,20px);font:400 13px/1.5 var(--vr-sans);color:var(--vr-mute);max-width:52ch}
.vr__prov a{color:var(--vr-blue)}

/* the copy itself: the original in the functional face, Victory in its editorial one */
.vr__copy{margin:0;max-width:58ch}
.vr__copy p{margin:0 0 .78em;font-size:clamp(18px,1.35vw,20px);line-height:1.58;white-space:pre-line}
.vr__copy p:last-child{margin-bottom:0}
.vr__copy h4{
  margin:1.5em 0 .5em;font-family:var(--vr-serif);font-weight:600;
  font-size:clamp(19px,1.5vw,22px);line-height:1.25;letter-spacing:-.008em;
}
/* the original keeps the functional face on both its title and its deck; the serif is Victory's
   editorial expression, and giving it to the draft would flatter the wrong side */
.vr__side--before .vr__copy .vr__artt,
.vr__side--before .vr__copy h4{font-family:var(--vr-sans);font-weight:600}
.vr__side--before .vr__copy .vr__artd{font-style:normal}
.vr__copy .vr__artt{
  margin:0 0 .28em;font-family:var(--vr-serif);font-weight:400;
  font-size:clamp(23px,2vw,28px);line-height:1.2;letter-spacing:-.012em;text-wrap:balance;
}
.vr__copy .vr__artd{
  margin:0 0 1.1em;font-size:clamp(16px,1.2vw,18px);line-height:1.5;color:var(--vr-mute);
  font-style:italic;                      /* the deck: the one job italics have here */
}
.vr__copy .vr__cta{
  margin:1.1em 0 0;font-weight:600;font-size:clamp(17px,1.25vw,19px);line-height:1.4;
}
.vr__side--before .vr__copy{font-family:var(--vr-sans)}
.vr__side--after  .vr__copy{font-family:var(--vr-serif)}
.vr__side--after  .vr__copy p{line-height:1.52}
.vr__side--after  .vr__cta{color:var(--vr-iv)}

/* ---- the outcomes strip: it belongs to the pair, so it sits with it -------- */
.vr__out{
  padding:clamp(16px,2.2vw,24px) var(--vr-gut);
  border-top:1px solid var(--vr-line);
  background:rgba(20,20,20,.028);
}
.vr__scope{margin:0 0 clamp(10px,1.4vw,14px);font:500 12px/1.4 var(--vr-sans);letter-spacing:.12em;text-transform:uppercase;color:var(--vr-mute)}
.vr__figs{display:flex;flex-wrap:wrap;gap:clamp(20px,3vw,44px);margin:0}
.vr__fig{margin:0;min-width:0}
.vr__fign{
  display:block;font-variant-numeric:tabular-nums;font-feature-settings:"tnum" 1;
  font-weight:500;font-size:clamp(28px,2.6vw,38px);line-height:1.05;letter-spacing:-.02em;
}
.vr__fig--chg .vr__fign{color:var(--vr-iv)}
.vr__figl{display:block;margin-top:5px;font:400 13px/1.35 var(--vr-sans);color:var(--vr-mute)}
.vr__cons{margin:clamp(14px,1.8vw,18px) 0 0;font-size:15px;line-height:1.6;max-width:72ch}

/* the principles applied, named on demand rather than as ten compulsory panels */
.vr.vr .vr__prbtn{
  appearance:none;cursor:pointer;margin:clamp(12px,1.6vw,16px) 0 0;
  min-height:44px;padding:9px 15px;
  font:500 14px/1.2 var(--vr-sans);color:var(--vr-ink);
  background:#fff;border:1px solid var(--vr-line);border-radius:2px;
}
.vr.vr .vr__prbtn:hover{border-color:rgba(20,20,20,.34)}
.vr__prbtn:focus-visible{outline:2px solid var(--vr-blue);outline-offset:2px}
.vr__prs{margin:clamp(14px,2vw,20px) 0 0;padding:0;list-style:none;display:grid;gap:clamp(12px,1.6vw,18px)}
.vr__pr{padding-left:14px;border-left:2px solid var(--vr-iv)}
.vr__prt{margin:0;font:600 15px/1.4 var(--vr-sans)}
.vr__prn{color:var(--vr-mute);font-weight:500}
.vr__prg{margin:2px 0 0;font:400 14px/1.55 var(--vr-sans);color:var(--vr-mute);max-width:68ch}
.vr__prd{margin:8px 0 0;font:400 14px/1.6 var(--vr-sans);max-width:70ch}
.vr__prd b{font-weight:600}
.vr__was{color:var(--vr-mute);text-decoration:line-through;text-decoration-color:rgba(20,20,20,.32)}
.vr__now{color:var(--vr-ink);font-weight:500}
.vr__pmap{margin:5px 0 0;font:400 13px/1.5 var(--vr-sans);color:var(--vr-mute)}

/* ---- the link out of the compact panel ------------------------------------ */
.vr__more{
  display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between;
  padding:clamp(14px,2vw,20px) var(--vr-gut);border-top:1px solid var(--vr-line);
}
.vr__morep{margin:0;font:400 14px/1.5 var(--vr-sans);color:var(--vr-mute);max-width:56ch}
.vr.vr .vr__morea{
  display:inline-flex;align-items:center;gap:9px;min-height:44px;padding:10px 17px;
  font:600 14px/1.2 var(--vr-sans);color:#FBFAF7;background:var(--vr-ink);
  border-radius:2px;text-decoration:none;
}
.vr.vr .vr__morea:hover{background:var(--vr-iv)}
.vr__morea:focus-visible{outline:2px solid var(--vr-blue);outline-offset:2px}

/* ---- announcements --------------------------------------------------------- */
.vr__live{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* ---- compact: the same component, fewer examples, inside an expansion ------ */
.vr--compact .vr__copy p{font-size:clamp(16px,1.15vw,17.5px);line-height:1.55}
.vr--compact .vr__t{font-size:clamp(22px,1.9vw,27px)}
.vr--compact .vr__fign{font-size:clamp(24px,2.1vw,30px)}
.vr--compact .vr__cols{gap:clamp(30px,2.8vw,44px)}

/* ---- one version at a time: phones, and any frame too narrow for two ------- */
@media (max-width:860px){
  .vr__tabs{display:none}
  .vr__pick{display:block}
  .vr__vers{display:block}
  .vr__cols{grid-template-columns:minmax(0,1fr);gap:0;padding-left:clamp(20px,5vw,24px);padding-right:clamp(20px,5vw,24px)}
  .vr__side[hidden]{display:none}
  .vr__copy{max-width:none}
  .vr__copy p{font-size:clamp(17px,4.4vw,19px);line-height:1.6}
  .vr__hd,.vr__ctx,.vr__modes,.vr__out,.vr__more{padding-left:clamp(20px,5vw,24px);padding-right:clamp(20px,5vw,24px)}
  .vr__t{font-size:clamp(23px,6.4vw,29px)}
  .vr__fign{font-size:clamp(26px,7vw,32px)}
  .vr__figs{gap:clamp(16px,5vw,26px)}
  .vr__segb{flex:1 1 0;justify-content:center;text-align:center}
  .vr__seg{width:100%}
}
/* the compact panel lives in a narrower column, so it turns earlier */
@media (max-width:1180px){
  .vr--compact .vr__cols{grid-template-columns:minmax(0,1fr);gap:clamp(26px,3vw,34px)}
}

@media (max-width:400px){
  .vr__hd,.vr__ctx,.vr__modes,.vr__cols,.vr__out,.vr__more{padding-left:20px;padding-right:20px}
}

@media (prefers-reduced-motion:reduce){
  .vr *{transition:none!important;animation:none!important}
}

/* a panel showing one example needs no chooser and no "1 of 1" */
.vr__hd[data-vr-one] .vr__tabs,
.vr__hd[data-vr-one] .vr__pick{display:none}
.vr__hd[data-vr-one]{padding-bottom:clamp(10px,1.4vw,14px)}

/* the full-reading view: one column at a comfortable single measure */
.vr__cols--one{grid-template-columns:minmax(0,1fr)}
.vr__cols--one .vr__copy{max-width:66ch;margin:0 auto}
