/* after62-typer (Indy t371u, preview demo): one-time type-in of the hero kicker (.mast .title).
   typer.js wraps each character in a span; the text and its layout stay put (characters are only made transparent,
   never removed), so the line and the lede below never move. The three label phrases stay in the DOM; the animated
   copy is aria-hidden and a visually-hidden full copy carries the text for screen readers.
   No JS or reduced motion: the plain line shows as authored. */
html.tp .mast .title:not(.tp-live) { opacity: 0; animation: tp-failsafe 1ms 3.5s forwards; }
@keyframes tp-failsafe { to { opacity: 1; } }
.mast .title.tp-live { position: relative; }
.title .tp-c { opacity: 0; }
.title .tp-c.on, .title .t-sep.tp-sep-on { opacity: 1; }
.title .t-sep.tp-sep { opacity: 0; }
.title .t-sep.tp-sep.tp-sep-on { opacity: 1; }
.title .tp-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.title .tp-caret {
  position: absolute; left: 0; top: 0; width: 0.11em; height: 1.05em; margin: 0;
  background: currentColor; opacity: 0; pointer-events: none; border-radius: 1px;
}
.title .tp-caret.show { opacity: 0.9; }
.title .tp-caret.blink { animation: tp-blink 1s steps(1, end) 1 both; }   /* v6: 1 s hold = two visible blinks */
.title .tp-caret.gone { opacity: 0; transition: opacity 0.25s ease; }
@keyframes tp-blink { 0% { opacity: 0.9; } 15% { opacity: 0; } 45% { opacity: 0.9; } 65% { opacity: 0; } 90%, 100% { opacity: 0.9; } }
@media (prefers-reduced-motion: reduce) {
  html.tp .mast .title:not(.tp-live) { opacity: 1; animation: none; }
  .title .tp-c, .title .t-sep.tp-sep { opacity: 1; }
  .title .tp-caret { display: none; }
}

/* after62-typer v2 (Indy t378u): kicker ~1.3x bigger, centred between the Contact/$ row above and the lede below.
   Same mono face and 0.14em tracking (letter-spacing is em based, so it scales). The line box is 1.5 so the caret and
   glyphs keep room; margins are tuned so the INK gaps (control bottom -> cap top, baseline -> lede ascender top) are equal. */
.mast .title { font-size: 14.5px; line-height: 1.5; margin-top: var(--tp-mt, 19.6px); }
.mast .title + .lede { margin-top: var(--tp-ml, 13.3px); }
@media (max-width: 600px) {
  .mast .title { font-size: 14px; margin-top: var(--tp-mt-m, 18.5px); }
  .mast .title + .lede { margin-top: var(--tp-ml-m, 12.3px); }
}

/* ===== after62-typer v5 (Indy t381u): The OC's neon while typing, then back to the ORIGINAL kicker grey, static =====
   Typing phase: each label flashes in its OC tone (gold / green / blue; white-hot in dark mode, the tone colour in light mode)
   and settles to a neon-blue ink with a small glow; separators are OC gold; the caret is a glowing neon block in the tone of
   the label being typed.
   Settled phase (typer.js adds .tp-settled, plus .tp-ease for 1 s): colour eases over 0.9 s back to the original kicker colours,
   var(--muted) for the text (#8b8b8b dark / #5a5a5a light) and var(--faint) for the separators (#5c5c5c / #8a8a8a), no glow.
   It then stays plain grey (no shine, no pulse). Without JS or with reduced motion: plain original grey, nothing animates. */
.mast .title.tp-live {
  --tp-ink: #d9eeff; --tp-rgb: 61, 169, 255; --tp-sep: #ffd76a; --tp-sep-rgb: 255, 215, 120;
  --tp-k0: #ffd76a; --tp-k0-rgb: 255, 215, 120; --tp-k1: #2bff8a; --tp-k1-rgb: 40, 255, 140; --tp-k2: #3da9ff; --tp-k2-rgb: 61, 169, 255;
  --tp-hot: #fff; --tp-shadow: 0 0 5px rgba(61, 169, 255, 0.55), 0 0 11px rgba(61, 169, 255, 0.2);
  --tp-sep-shadow: 0 0 6px rgba(255, 215, 120, 0.75);
  color: var(--tp-ink); text-shadow: var(--tp-shadow);
}
html[data-theme="light"] .mast .title.tp-live {
  --tp-ink: #0757d6; --tp-rgb: 30, 130, 255; --tp-sep: #d96400; --tp-sep-rgb: 255, 140, 0;
  --tp-k0: #d96400; --tp-k0-rgb: 255, 140, 0; --tp-k1: #008a43; --tp-k1-rgb: 0, 184, 90; --tp-k2: #0a6cff; --tp-k2-rgb: 30, 130, 255;
  --tp-hot: var(--tp-kc, #0a6cff); --tp-shadow: 0 0 5px rgba(30, 130, 255, 0.3); --tp-sep-shadow: 0 0 5px rgba(255, 140, 0, 0.4);
}
.mast .title.tp-live .t-sep { color: var(--tp-sep); text-shadow: var(--tp-sep-shadow); }
.title .tp-c.k0, .title .t-sep.k0 { --tp-kc: var(--tp-k0); --tp-kc-rgb: var(--tp-k0-rgb); }
.title .tp-c.k1, .title .t-sep.k1 { --tp-kc: var(--tp-k1); --tp-kc-rgb: var(--tp-k1-rgb); }
.title .tp-c.k2, .title .t-sep.k2 { --tp-kc: var(--tp-k2); --tp-kc-rgb: var(--tp-k2-rgb); }
/* a character flashes in when it is typed, then settles (end frames fall back to the inherited ink + glow) */
.title .tp-c.on { animation: tp-hot 0.46s ease-out; }
.title .t-sep.tp-sep-on { animation: tp-hot-sep 0.46s ease-out; }
@keyframes tp-hot {
  0%   { color: var(--tp-hot); text-shadow: 0 0 9px rgba(var(--tp-kc-rgb), 0.95), 0 0 2px var(--tp-hot); }
  40%  { color: var(--tp-kc); text-shadow: 0 0 8px rgba(var(--tp-kc-rgb), 0.8); }
}
@keyframes tp-hot-sep { 0% { color: var(--tp-hot); text-shadow: 0 0 10px rgba(var(--tp-sep-rgb), 1); } }
/* caret: neon block in the tone of the label being typed */
.title .tp-caret { width: 0.62em; height: 1.1em; border-radius: 1px; background: var(--tp-k0); box-shadow: 0 0 8px 1px rgba(var(--tp-k0-rgb), 0.75); }
.title .tp-caret[data-k="1"] { background: var(--tp-k1); box-shadow: 0 0 8px 1px rgba(var(--tp-k1-rgb), 0.75); }
.title .tp-caret[data-k="2"] { background: var(--tp-k2); box-shadow: 0 0 8px 1px rgba(var(--tp-k2-rgb), 0.75); }
html[data-theme="light"] .title .tp-caret { box-shadow: 0 0 6px 0 rgba(var(--tp-rgb), 0.4); }

/* settled: back to the original grey (the same tokens the page always used), eased over 0.9 s */
.mast .title.tp-live.tp-settled { color: var(--muted); text-shadow: none; }
.mast .title.tp-live.tp-settled .t-sep { color: var(--faint); text-shadow: none; animation: none; }   /* animation:none so the typing flash never replays */
.mast .title.tp-live.tp-ease, .mast .title.tp-live.tp-ease .t-sep { transition: color 0.9s ease, text-shadow 0.9s ease; }

@media (prefers-reduced-motion: reduce) {
  .title .tp-c.on, .title .t-sep.tp-sep-on { animation: none; }
}
