/* ============================================
   Own visual identity (2026-11-17)
   Fonts under the SIL Open Font License (Michroma for display text,
   Plus Jakarta Sans ExtraBold for the wordmark, as in every product of the
   family), the wordmark and the pulse strip. Nothing here copies the TV
   series: its scanner is one light sweeping side to side without pause;
   ours is a strip of capsules that grows towards the centre and lights up
   from the centre outwards, twice, like a heartbeat, and then rests.
   ============================================ */

@font-face {
    font-family: 'Michroma';
    src: url('./michroma.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('./plus-jakarta-sans-800.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

:root {
    --font-display: 'Michroma', 'Arial Black', sans-serif;
    --font-wordmark: 'Plus Jakarta Sans', 'Arial Black', sans-serif;
    --pulse-off: rgba(255, 59, 48, 0.16);
    --pulse-on: #ff3b30;
    --pulse-warm: #ff8a3d;
}

.brand-wordmark {
    font-family: var(--font-wordmark);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1;
}

.brand-wordmark--hero {
    font-size: clamp(3rem, 9vw, 6rem);
    color: #f4f1ec;
}

.pulse-strip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    height: 52px;
}

.pulse-strip span {
    width: 11px;
    height: 14px;
    border-radius: 999px;
    background: var(--pulse-off);
    animation: pulse-heartbeat 2.4s ease-out infinite;
}

.pulse-strip span:nth-child(2), .pulse-strip span:nth-child(8) { height: 22px; animation-delay: 0.18s; }
.pulse-strip span:nth-child(3), .pulse-strip span:nth-child(7) { height: 30px; animation-delay: 0.12s; }
.pulse-strip span:nth-child(4), .pulse-strip span:nth-child(6) { height: 40px; animation-delay: 0.06s; }
.pulse-strip span:nth-child(5) { height: 50px; animation-delay: 0s; }
.pulse-strip span:nth-child(1), .pulse-strip span:nth-child(9) { animation-delay: 0.24s; }

@keyframes pulse-heartbeat {
    0%   { background: var(--pulse-off); box-shadow: none; }
    6%   { background: var(--pulse-on); box-shadow: 0 0 14px var(--pulse-on); }
    16%  { background: var(--pulse-off); box-shadow: none; }
    24%  { background: var(--pulse-warm); box-shadow: 0 0 10px var(--pulse-warm); }
    36%  { background: var(--pulse-off); box-shadow: none; }
    100% { background: var(--pulse-off); box-shadow: none; }
}

@media (prefers-reduced-motion: reduce) {
    .pulse-strip span { animation: none; background: var(--pulse-on); opacity: 0.6; }
}
