/* Página Sobre mí: todo en negro, tipografía clara y fotos a todo el ancho */
body { background-color: #000; }
.subpage-header { background-color: #000; border-bottom-color: #1a1a1a; }

.about-lang-bar { padding-top: 2.5rem; text-align: center; }
.about-lang-bar .about-lang-toggle { margin: 0 auto; }
.about-lang-bar + .about-text { padding-top: 2.5rem; }
.about-page {
    position: relative;
    background: #000;
    color: #d9d4ca;
    padding-bottom: 5rem;
}
.about-text {
    max-width: 760px;
    margin: 0 auto;
    padding: 5rem 1.5rem 1rem;
    font-family: 'Lexend', sans-serif;
    font-weight: 300;
}
.about-text h1 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: clamp(2.4rem, 6vw, 4rem);
    letter-spacing: 2px;
    color: #fff;
    margin: 0 0 2.5rem;
    text-align: center;
}
.about-text h2 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    letter-spacing: 1px;
    color: #fff;
    margin: 3.5rem 0 1.5rem;
}
.about-text h2:first-child { margin-top: 0; }
.about-text p {
    font-size: 1.02rem;
    line-height: 1.95;
    margin: 0 0 1.4rem;
}
.about-text p a,
.about-text p a:visited,
.about-text p a:hover,
.about-text p a:focus-visible {
    color: #fff;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, .45);
    text-underline-offset: 4px;
    transition: text-decoration-color .2s;
}
.about-text p a:hover,
.about-text p a:focus-visible { text-decoration-color: #fff; }
.about-text .about-closing {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.5rem;
    color: #fff;
    margin-top: 2.5rem;
}
.about-photo-wrap {
    position: relative;
    overflow: hidden;
    margin: 4rem 0 0;
}
.about-photo {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 21 / 9;
    object-fit: cover;
}
/* Grano de película: textura de ruido en mosaico, más grande que la foto; js/grain.js la reposiciona al azar */
.grain::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../images/noise.png");
    background-repeat: repeat;
    background-position: var(--gx, 0) var(--gy, 0);
    opacity: 0.07;
    pointer-events: none;
}
.about-page .about-more {
    display: block;
    width: fit-content;
    margin: 3rem auto 0;
}
@media (max-width: 768px) {
    .about-text { padding-top: 3rem; }
    .about-photo { aspect-ratio: 4 / 3; }
    .about-photo-wrap { margin-top: 3rem; }
}
