/* ============================================================
   EMPHASIS SYSTEM
   ------------------------------------------------------------
   Inline typographic devices to break the flow of a paragraph
   and add voice/intention. All are designed to layer cleanly
   on either black or cream backgrounds.
   ============================================================ */


/* === .hl — single keyword highlight in fire-red ============ */
.hl {
    color: var(--fire-red);
    font-weight: 500;
}


/* === .strike + .replace — crossed out + handscript correction ABOVE
   Usage:
     <span class="strike-block">
         <span class="strike">nadie nota</span>
         <span class="replace">Pocos perciben</span>
     </span>
   The handscript replacement floats above the struck word, like a
   teacher's correction in red pen.
   ============================================================ */
.strike-block {
    position: relative;
    display: inline-block;
    padding-top: 0.7em;        /* breathing room for the replace word above */
    margin: 0.3em 0.05em 0;
    line-height: inherit;
}

.strike {
    position: relative;
    color: inherit;
    opacity: 0.42;
    display: inline-block;
}

.strike::after {
    content: '';
    position: absolute;
    left: -0.08em;
    right: -0.08em;
    top: 56%;
    height: 2px;
    background: var(--fire-red);
    transform: rotate(-1.5deg);
    border-radius: 2px;
}

.replace {
    position: absolute;
    bottom: calc(100% - 0.35em);
    left: 50%;
    transform: translateX(-50%) rotate(-3deg);
    font-family: var(--font-hand);
    font-weight: 600;
    color: var(--fire-red);
    font-size: 1.1em;
    line-height: 0.95;
    letter-spacing: 0.005em;
    white-space: nowrap;
    pointer-events: none;
}


/* === .aside — sotto-voce italic serif phrase =============== */
.aside {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(1.05rem, 1.55vw, 1.4rem);
    line-height: 1.45;
    color: inherit;
    opacity: 0.7;
    display: block;
    margin: 22px 0;
    letter-spacing: 0.005em;
}

/* Inline aside — small italic phrase tucked into the running copy */
.aside--inline {
    display: inline;
    font-size: 0.92em;
    line-height: inherit;
    margin: 0 0.1em;
    opacity: 0.62;
}


/* === Handscript note — pure marker phrase ================== */
.hand {
    font-family: var(--font-hand);
    font-weight: 600;
    color: var(--fire-red);
    font-size: 1.4em;
    line-height: 0.95;
    letter-spacing: 0.005em;
    display: inline-block;
    transform: rotate(-1.5deg);
}

.hand--inline {
    font-size: 1.2em;
    transform: rotate(-1deg);
}


/* === Mobile tuning ========================================= */
@media (max-width: 768px) {
    .replace { font-size: 1.15em; }
    .hand { font-size: 1.3em; }
}
