/* The Brand Build Up: polish sheet (22 Nov 2026, package P3).
   Loaded after moments.css. Only paint, state and hit areas: no text, box or order changes.
   Not set here (owned by other packages): transform, translate, rotate, transition, box-shadow on
   .slab .story .cta-card .play-block .seat .play-seat. Logical properties only. */

/* ---------- B7: three timing tokens on the site ease (--ease from site.css) ---------- */
:root{
  --bbu-t-press:120ms;    /* finger or key goes down */
  --bbu-t-release:220ms;  /* back up (hover lift in and out shares it) */
  --bbu-t-color:200ms;    /* background, colour, underline grow */
  --bbu-t-lift:300ms;     /* arrows and larger moves */
  --bbu-ease:var(--ease,cubic-bezier(.2,.8,.2,1));
}

/* ---------- B4: one press language ---------- */
/* touch: no grey flash, a real :active instead */
.btn,.pill-link,.pill-filter,.nav-toggle,.nav__link,.lang-switch a,.link-arrow,.link-underline,
.play-ticker__toggle,.eb-x,.footer__col li>a,.footer__nav a,.footer__bottom>a,.footer__credit a{
  -webkit-tap-highlight-color:transparent}

.btn,.pill-link,.pill-filter,.nav-toggle,.play-ticker__toggle,.eb-x{
  transition:
    transform var(--bbu-t-release) var(--bbu-ease),
    box-shadow var(--bbu-t-release) var(--bbu-ease),
    background-color var(--bbu-t-color) var(--bbu-ease),
    color var(--bbu-t-color) var(--bbu-ease),
    border-color var(--bbu-t-color) var(--bbu-ease)}
.lang-switch a,.nav__link{transition:background-color var(--bbu-t-color) var(--bbu-ease),color var(--bbu-t-color) var(--bbu-ease),background-size var(--bbu-t-color) var(--bbu-ease),transform var(--bbu-t-release) var(--bbu-ease)}
.link-arrow svg{transition:transform var(--bbu-t-lift) var(--bbu-ease)}
.link-underline{transition:background-size var(--bbu-t-color) var(--bbu-ease)}

/* hover lift stays the site's 2 px (site.css); press = 1 px sink, tighter shadow, 120 ms; release 220 ms */
.btn:active,.pill-link:not(.is-soon):active,.pill-filter:active,.nav-toggle:active,.play-ticker__toggle:active,.eb-x:active,.nav__link:active{
  transform:translateY(1px);transition-duration:var(--bbu-t-press)}
.btn--primary:active{background:#2a2d35;box-shadow:0 2px 6px -4px rgb(22 24 29/.5)}
.btn--secondary:active{background:var(--ink);color:var(--yellow);box-shadow:none}
.btn--yellow:active{background:var(--yellow-deep);border-color:var(--yellow-deep);box-shadow:none}
.bbu-form--dark .btn:active{background:var(--yellow-deep);border-color:var(--yellow-deep);color:var(--ink);box-shadow:none}
.pill-link:not(.is-soon):active{background:var(--ink);color:var(--yellow)}
.pill-filter:active{background:var(--yellow)}
.pill-filter[aria-pressed="true"]:active,.pill-filter[aria-current="true"]:active,.pill-filter[aria-selected="true"]:active{background:var(--ink)}
.nav-toggle:active{background:var(--yellow)}
.play-ticker__toggle:active{background:#fff4ad}
.lang-switch a:not([aria-current="true"]):active{background:var(--yellow)}
.site-footer .lang-switch a:not([aria-current="true"]):active{background:var(--dark-card)}
.link-arrow:active svg{transform:translateX(2px);transition-duration:var(--bbu-t-press)}
html[dir="rtl"] .link-arrow:active svg{transform:scaleX(-1) translateX(2px)}
.link-underline:active{background-size:100% 100%}
@media (prefers-reduced-motion:reduce){
  .btn:active,.pill-link:active,.pill-filter:active,.nav-toggle:active,.play-ticker__toggle:active,.eb-x:active,.nav__link:active,.link-arrow:active svg{transform:none}
  html[dir="rtl"] .link-arrow:active svg{transform:scaleX(-1)}
}

/* ---------- B3: ticker pause button, visual unchanged (30 px box incl. 2px border), hit area 44 px (inset is from the padding edge) ---------- */
.play-ticker__toggle{position:relative}
.play-ticker__toggle::after{content:"";position:absolute;inset:-9px}

/* ---------- B2: focus rings on every surface ---------- */
/* ink and dark-card surfaces get the yellow ring (site.css only covered .section--dark and the footer) */
.feature :focus-visible,.hero-card--s1 :focus-visible,.ticker :focus-visible,.play-ticker-on :focus-visible,
.card--dark :focus-visible,.frame--ink :focus-visible,.why :focus-visible,.bbu-form--dark :focus-visible,
.eb-notice :focus-visible,.section--dark :focus-visible,.site-footer :focus-visible{outline-color:var(--yellow)}
/* form fields: yellow glow stays, an ink ring sits outside it so the focus is readable on cream too */
.field input:focus-visible,.field textarea:focus-visible,.field select:focus-visible{
  outline:3px solid var(--ink);outline-offset:3px}
.cta-card:has(.link-arrow:focus-visible){border-color:var(--ink)}
.involved .cta-card:nth-child(2):has(:focus-visible){border-color:var(--yellow)}
/* skip link is an ink block over the cream header and logo: yellow ring inside it instead of an ink ring outside */
.skip-link:focus-visible{outline-color:var(--yellow);outline-offset:-6px}

/* ---------- B6: whole get-involved card is the target (stretched link) ---------- */
.cta-card{position:relative}
.cta-card .link-arrow::after{content:"";position:absolute;inset:0;z-index:1;border-radius:inherit}
.cta-card:hover .link-arrow svg{transform:translateX(5px)}
html[dir="rtl"] .cta-card:hover .link-arrow svg{transform:scaleX(-1) translateX(5px)}
.cta-card:active .link-arrow svg{transform:translateX(2px);transition-duration:var(--bbu-t-press)}
html[dir="rtl"] .cta-card:active .link-arrow svg{transform:scaleX(-1) translateX(2px)}

/* ---------- B10: footer links grow the header nav underline; credit and Privacy get hit areas ---------- */
.footer__col li>a,.footer__nav a,.footer__bottom>a{
  background:linear-gradient(var(--yellow),var(--yellow)) no-repeat 0 84%/0 3px;
  transition:color var(--bbu-t-color) var(--bbu-ease),background-size var(--bbu-t-color) var(--bbu-ease)}
html[dir="rtl"] .footer__col li>a,html[dir="rtl"] .footer__nav a,html[dir="rtl"] .footer__bottom>a{background-position:100% 84%}
.footer__col li>a:hover,.footer__nav a:hover,.footer__bottom>a:hover,
.footer__col li>a:focus-visible,.footer__nav a:focus-visible,.footer__bottom>a:focus-visible,
.footer__bottom>a[aria-current="page"]{background-size:100% 3px}
.footer__col li>a:active,.footer__nav a:active,.footer__bottom>a:active{color:var(--text-on-dark)}
.footer__bottom>a,.footer__credit a,.footer__nav a,.footer__col li>a{position:relative}
.footer__nav a::after{content:"";position:absolute;inset-block:0;inset-inline:-4px}
.footer__bottom>a::after{content:"";position:absolute;inset-block:0;inset-inline:-8px}
.footer__credit a::after{content:"";position:absolute;inset-block:-12px;inset-inline:-8px}

/* ---------- B11 / E2: balanced line breaks where lines and box height stay equal (proof: proof/p3/textwrap.txt) ---------- */
/* E2:start */
.footer__tagline,.way p{text-wrap:balance}
/* E2:end */
