/* Outline -> three aligned coats of ink. Font metrics and the accepted layout stay intact. */
.bk-brand{position:relative;isolation:isolate;--bk-ink-delay:120ms;--bk-outline-opacity:.26}
.bk-brand .bk-brand-text{display:block;opacity:0}
.bk-brand .bk-brand-layer{position:absolute;inset:0;display:block;pointer-events:none;opacity:0;font:inherit;letter-spacing:inherit;line-height:inherit}
.bk-brand-layer>span{display:block;font:inherit;letter-spacing:inherit;line-height:inherit;white-space:nowrap}
.bk-brand-outline{color:transparent!important;-webkit-text-stroke:1px currentColor;text-shadow:none}
.rc-hero-wordmark .bk-brand-outline{-webkit-text-stroke-color:#fff}
.rc-footer-wordmark .bk-brand-outline{-webkit-text-stroke-color:#12324e;--bk-outline-opacity:.38}
.bk-brand-upper{clip-path:inset(-30% -8% 65%);--bk-ink-x:-.16em;--bk-band-delay:0ms}
.bk-brand-middle{clip-path:inset(34% -8% 31%);--bk-ink-x:.11em;--bk-band-delay:85ms}
.bk-brand-lower{clip-path:inset(68% -8% -35%);--bk-ink-x:-.08em;--bk-band-delay:165ms}
.bk-brand.is-inking .bk-brand-outline{animation:bk-type-outline 1.65s ease-out both}
.bk-brand.is-inking :is(.bk-brand-upper,.bk-brand-middle,.bk-brand-lower){opacity:1}
.bk-brand.is-inking :is(.bk-brand-upper,.bk-brand-middle,.bk-brand-lower)>span{animation:bk-type-ink 1.38s cubic-bezier(.22,.8,.2,1) calc(var(--bk-ink-delay) + var(--bk-band-delay)) both}
.bk-brand.is-inked .bk-brand-text{opacity:1}
.bk-brand.is-inked .bk-brand-layer{opacity:0}

@keyframes bk-type-outline{
  0%{opacity:0;transform:translateY(.035em)}
  24%,48%{opacity:var(--bk-outline-opacity);transform:none}
  100%{opacity:0;transform:none}
}
@keyframes bk-type-ink{
  0%{clip-path:polygon(-20% -40%,-20% -40%,-32% 140%,-32% 140%);transform:translateX(var(--bk-ink-x));opacity:.4}
  28%{opacity:1}
  72%{transform:translateX(0)}
  100%{clip-path:polygon(-20% -40%,132% -40%,120% 140%,-20% 140%);transform:translateX(0);opacity:1}
}

/* Phrases precede the brand, with a short stagger rather than a letter-by-letter delay. */
.rc-hero h1.bk-hero-prepared .rc-hero-title-line>span{animation:none;transform:none}
.bk-hero-prepared .rc-hero-wordmark{overflow:visible}
.bk-hero-prepared .rc-hero-wordmark>.bk-brand{--bk-ink-delay:380ms}
.bk-copy-mask{display:inline-block;overflow:hidden;vertical-align:top}
.bk-copy-phrase{display:block;transform:translateY(110%) skewY(3deg);opacity:0;transform-origin:left bottom}
.bk-copy-started .bk-copy-phrase{animation:bk-copy-compose .95s cubic-bezier(.16,1,.3,1) var(--bk-copy-delay) both}
.bk-copy-finished .bk-copy-phrase{animation:none;transform:none;opacity:1}
@keyframes bk-copy-compose{to{transform:translateY(0) skewY(0);opacity:1}}

/* A single blue brush of light follows hover/focus; resting footer lettering remains black. */
.rc-footer-wordmark .bk-brand-accent{color:#12324e;text-shadow:none;clip-path:polygon(-30% 0,-20% 0,-32% 100%,-42% 100%)}
.rc-footer-wordmark .bk-brand.is-sheening .bk-brand-accent{animation:bk-type-sheen .95s cubic-bezier(.3,.65,.3,1) both}
@keyframes bk-type-sheen{
  0%{opacity:0;clip-path:polygon(-30% 0,-20% 0,-32% 100%,-42% 100%)}
  20%,75%{opacity:.8}
  100%{opacity:0;clip-path:polygon(130% 0,140% 0,128% 100%,118% 100%)}
}

:is(.rc-motion-paused,.motion-paused) .bk-brand .bk-brand-text{opacity:1}
:is(.rc-motion-paused,.motion-paused) .bk-brand .bk-brand-layer{display:none;animation:none}
:is(.rc-motion-paused,.motion-paused) .bk-copy-phrase{animation:none;opacity:1;transform:none}
@media(prefers-reduced-motion:reduce){
  .bk-brand .bk-brand-text{opacity:1}
  .bk-brand .bk-brand-layer{display:none;animation:none}
  .bk-copy-phrase{animation:none;opacity:1;transform:none}
}
