/* ---------- HERO ---------- */

.about-hero {
display: flex;
align-items: flex-end;
justify-content: center;
gap: clamp(1rem, 4vw, 4rem);

width: 100%;
min-height: 400px;
padding: 0 clamp(1rem, 4vw, 3rem);
box-sizing: border-box;
overflow: hidden;
background-color: var(--black); }

.about-hero-photo {
flex: 0 0 auto;
width: clamp(300px, 30vw, 520px);
height: 400px;
object-fit: cover;
object-position: 50% 0;
filter: drop-shadow(0 0 12px rgba(0, 0, 0, 0.5)); }

.about-hero-body {
display: flex;
flex-direction: row;
align-items: center;
align-self: center;
gap: clamp(1rem, 3vw, 2.5rem);
min-width: 0;
padding: 30px 0; }

.about-hero-name { flex: 0 0 auto; }

.about-hero-name p {
font-family: "ZT Nature";
font-size: 1.05rem;
color: var(--white);
margin-bottom: 6px; }

.about-hero-name h1 {
margin: 0;
font-family: "Helvetica Now";
font-weight: 800;
font-size: clamp(2.4rem, 3.6vw, 4.2rem);
line-height: 1;
color: var(--white);
white-space: nowrap; }

.about-hero-name h1 span { color: var(--orange); }

.about-hero-bio {
flex: 0 1 340px;
min-width: 260px;
padding-left: clamp(0.75rem, 1.5vw, 1.25rem);
border-left: 2px solid rgba(255, 255, 255, 0.7); }

.about-hero-bio p {
font-family: "ZT Nature";
font-size: 0.95rem;
line-height: 1.4;
color: var(--white);
margin-bottom: 0.9em; }

.about-hero-bio p:last-child { margin-bottom: 0; }

/* ---- Medio: nombre arriba, bio abajo, a la derecha de la foto ---- */

@media (max-width: 1300px) {

.about-hero-body {
flex: 1 1 0;
flex-direction: column;
align-items: flex-start;
gap: 20px;
padding: 24px 0; }

.about-hero-name h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }

.about-hero-bio {
flex: 0 0 auto;
min-width: 0;
max-width: 560px; }
}

/* ---- Móvil: una sola columna, funciona hasta 300px ---- */

@media (max-width: 800px) {

.about-hero {
flex-direction: column;
align-items: center;
gap: 0;
padding-top: 25px; }

.about-hero-photo {
width: min(100%, 420px);
height: 300px; }

.about-hero-body {
flex: 0 0 auto;
align-self: stretch;
padding: 20px 0 24px; }

.about-hero-name h1 {
font-size: clamp(1.9rem, 9vw, 3.4rem);
white-space: normal; }

.about-hero-bio { max-width: none; }
}

@media (max-width: 400px) {
.about-hero-bio p { font-size: 0.9rem; }
}

/* ---------- TIMELINE ---------- */

.tl {
position: relative;
width: 100%;
padding: 50px 0 70px;
background-color: var(--white); }

.tl-inner {
position: relative;
max-width: 1100px;
margin: 0 auto;
padding: 0 20px;
box-sizing: border-box; }

.tl-inner::before {
content: "";
position: absolute;
top: 0;
bottom: 0;
left: 50%;
width: 6px;
margin-left: -3px;
background: radial-gradient(circle, var(--black) 2.2px, transparent 2.7px) center top / 6px 16px repeat-y;
-webkit-mask-image: linear-gradient(to bottom, transparent, #000 90px, #000 calc(100% - 90px), transparent);
mask-image: linear-gradient(to bottom, transparent, #000 90px, #000 calc(100% - 90px), transparent); }

.tl-entry {
position: relative;
display: grid;
grid-template-columns: minmax(0, 1fr) 70px minmax(0, 1fr);
align-items: center;
min-height: 190px;
padding: 20px 0; }

.tl-dot {
position: absolute;
top: 50%;
left: 50%;
width: 26px;
height: 26px;
margin: -13px 0 0 -13px;
box-sizing: border-box;
border: 3px solid var(--black);
border-radius: 50%;
background: var(--white);
z-index: 1; }

.tl-dot::after {
content: "";
position: absolute;
top: 50%;
left: 50%;
width: 6px;
height: 6px;
margin: -3px 0 0 -3px;
border-radius: 50%;
background: var(--black); }

.tl-text {
grid-column: 1;
grid-row: 1;
text-align: right;
padding-right: 10px; }

.tl-photo {
grid-column: 3;
grid-row: 1;
margin: 0;
padding-left: 10px; }

/* entradas pares: invertidas */
.tl-entry:nth-child(even) .tl-text {
grid-column: 3;
text-align: left;
padding: 0 0 0 10px; }

.tl-entry:nth-child(even) .tl-photo {
grid-column: 1;
padding: 0 10px 0 0;
justify-self: end; }

.tl-year {
margin: 0 0 8px;
font-family: "Anime Ace";
font-size: clamp(2.2rem, 4.4vw, 3.5rem);
line-height: 1;
letter-spacing: 0.02em;
color: var(--orange);
text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.45); }

.tl-role {
margin: 0 0 6px;
font-family: "Helvetica Now";
font-weight: 800;
font-size: clamp(1.05rem, 1.7vw, 1.35rem);
line-height: 1.15;
color: var(--black); }

.tl-meta {
margin: 0;
font-family: "ZT Nature";
font-size: 0.8rem;
line-height: 1.35;
color: #555; }

.tl-photo img {
display: block;
width: 100%;
max-width: 300px;
aspect-ratio: 16 / 9;
object-fit: cover;
background-color: #d9d9d9;
box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35); }

/* ---------- MÓVIL ---------- */

@media (max-width: 800px) {

.about-hero {
flex-direction: column;
align-items: center;
gap: 0;
min-height: 0;
padding-top: 25px; }

.about-hero-body {
flex-direction: column;
align-items: flex-start;
align-self: stretch;
padding: 0 0 20px; }

.about-hero-bio { max-width: none; }
.about-hero-photo { height: 260px; }

.tl-inner::before { left: 42px; }

.tl-entry,
.tl-entry:nth-child(even) {
grid-template-columns: 44px minmax(0, 1fr);
column-gap: 14px;
row-gap: 12px;
min-height: 0; }

.tl-dot { left: 22px; top: 32px; }

.tl-text,
.tl-entry:nth-child(even) .tl-text {
grid-column: 2;
grid-row: 1;
text-align: left;
padding: 0; }

.tl-photo,
.tl-entry:nth-child(even) .tl-photo {
grid-column: 2;
grid-row: 2;
justify-self: start;
padding: 0; }
}
