/* ============================================
   IMPERFECTION PAGE — overrides on top of neofarm.css
   ============================================ */

/* Les deux blocs typo : ligne de séparation entre eux, pas d'espace */
.imp-typo-block:first-of-type {
    margin-bottom: 0;
}
.imp-typo-block + .imp-typo-block {
    margin-top: 0;
}
.imp-typo-block + .imp-typo-block::before {
    display: none;
}

/* HK Grotesk Wide : titre sur 2 lignes serrées */
.imp-display-grotesk {
    line-height: 0.95;
    font-size: clamp(40px, 5.5vw, 80px) !important;
}

/* Helvetica Neue : tient sur une seule ligne */
.imp-display-helvetica {
    white-space: nowrap;
    font-size: clamp(36px, 4.5vw, 64px) !important;
}

/* Resultat : une seule bordure englobant les deux images empilées, centré */
.nf-result .nf-result-images {
    justify-content: center;
}
.imp-result-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0 auto;
}
.imp-result-stack img + img {
    margin-top: 0;
}

/* Polices d'affichage : nom de la typo + lettres a */
.imp-display-grotesk,
.imp-letter-grotesk {
    font-family: 'Helvetica Neue', 'Arial Narrow', Arial, sans-serif;
    font-stretch: expanded;
}

.imp-display-helvetica,
.imp-letter-helvetica {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* LIGHT vs REGULAR : on remplace les poids 400/700 du modèle NeoFarm */
.imp-light  { font-weight: 300; }
.imp-regular { font-weight: 400; }
