.editorial-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
.editorial-type-panel .experience { width: 100%; }
.editorial-type-panel .type-stage {
    display: block;
    min-height: 2.8em;
    font-size: clamp(1.35rem, 2.8vw, 2.25rem);
    font-weight: 700;
    line-height: 1.35;
    margin-block: .45em;
}
.editorial-type-panel .experience strong { font-size: clamp(2.25rem, 5vw, 4.25rem); }
.editorial-type-panel.is-typing [data-typed]::after {
    content: '';
    display: inline-block;
    height: .85em;
    border-inline-end: 2px solid #a7dec8;
    margin-inline-start: .12em;
}
#about, #home-activities { scroll-margin-top: 88px; }
.editorial-profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
    gap: 18px;
}
.profile-card {
    background: #f8faf8;
    border: 1px solid #dbe6df;
    border-radius: 12px;
    padding: clamp(18px, 3vw, 32px);
}
.profile-card.profile-lead {
    grid-column: 1 / -1;
    background: #164536;
    color: #fff;
    font-size: clamp(1.1rem, 2vw, 1.4rem);
}
.profile-card p, .profile-card .text-block { margin: 0; }
.profile-card h2 { font-size: 1.2rem; }
.profile-index {
    display: inline-block;
    color: #1f644c;
    background: #e3f0e8;
    border-radius: 20px;
    padding: 3px 11px;
    margin-bottom: 12px;
    font-size: .85rem;
    font-weight: 700;
}
.flip-card { perspective: 1200px; min-width: 0; }
.flip-rotor {
    height: 100%;
    display: grid;
    transform-style: preserve-3d;
    transition: transform .48s cubic-bezier(.2,.65,.32,1);
}
.flip-card.is-flipped .flip-rotor { transform: rotateY(180deg); }
.flip-face {
    grid-area: 1 / 1;
    min-width: 0;
    border: 1px solid #dbe6df;
    border-radius: 12px;
    overflow: hidden;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}
.flip-front { background: #fff; }
.flip-cover { width: 100%; display: block; aspect-ratio: 16/7; object-fit: cover; }
.flip-front-content, .flip-back { padding: 20px; }
.flip-logo { display: block; width: 86px; height: 56px; object-fit: contain; object-position: center; margin-bottom: 10px; }
.flip-front h3 a { color: inherit; }
.flip-back {
    transform: rotateY(180deg);
    background: #164536;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}
.flip-back h3, .flip-back p { color: inherit; }
.flip-back .button { background: #fff; color: #164536; }
.flip-card button {
    font: inherit;
    cursor: pointer;
    border: 0;
    padding: 6px 0;
    background: transparent;
    color: #166247;
    text-decoration: underline;
    text-underline-offset: 4px;
}
.flip-back button { color: #fff; margin-top: 8px; }
.flip-face[aria-hidden="true"] { pointer-events: none; }
.flip-card:not(.flip-ready) .flip-back { display: none; }
@media (prefers-reduced-motion: reduce) {
    .flip-rotor { transition: none; }
    .editorial-type-panel.is-typing [data-typed]::after { display: none; }
}
.profile-lead p { color: inherit; }
