/* index.css — About page styles */

/* Blob background */
.blob-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
    opacity: 0.4;
}

.blob-bg svg {
    position: absolute;
    top: -5rem;
    left: -5rem;
    width: 400px;
    height: 400px;
    color: rgba(239, 132, 125, 0.2);
    animation: blob-drift 8s ease-in-out infinite;
}

/* About card wrapper */
.about-section {
    max-width: 64rem;
    margin: 0 auto;
    position: relative;
    padding: 0 clamp(16px, 5vw, 80px);
    z-index: 10;
}

.about-card-outer {
    position: relative;
    margin: 3rem 0;
}

/* Golden shadow behind */
.about-card-outer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #f0d78c;
    border-radius: 2rem;
    transform: rotate(2deg) translate(1rem, 1rem);
    opacity: 0.3;
    z-index: 0;
}

.about-card {
    position: relative;
    background: #fff;
    border-radius: 2rem;
    padding: 2rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: rotate(-1deg);
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
    border: 1px solid #f3f4f6;
}

/* Card tape at top */
.about-card>.card-tape {
    position: absolute;
    top: -1.25rem;
    left: 50%;
    transform: translateX(-50%) rotate(-1deg);
    width: 8rem;
    height: 2.5rem;
    box-shadow: var(--shadow-sticky);
    opacity: 0.9;
    z-index: 20;
}

/* Photo polaroid */
.photo-wrap {
    position: relative;
    flex-shrink: 0;
    width: 100%;
    max-width: 320px;
}

.photo-polaroid {
    background: #fff;
    padding: 0.75rem;
    padding-bottom: 3rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transform: rotate(2deg);
    transition: transform 0.5s ease;
    border: 1px solid #e5e7eb;
    position: relative;
}

.photo-polaroid:hover {
    transform: rotate(-1deg);
}

.photo-tape {
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%) rotate(2deg);
    width: 6rem;
    height: 1.5rem;
    background-color: rgba(126, 211, 194, 0.8);
    z-index: 20;
}

.photo-img-wrap {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    filter: grayscale(1);
    transition: filter 0.5s ease;
}

.photo-img-wrap:hover {
    filter: grayscale(0);
}

.photo-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.photo-caption {
    margin-top: 1rem;
    text-align: center;
    color: #6b7280;
    font-weight: 500;
    transform: rotate(-1deg);
    display: inline-block;
    width: 100%;
}

/* Bio block */
.bio-block {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.bio-block h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.1;
}

.bio-block .role {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
    display: inline-block;
    line-height: 1.35;
}

@media (min-width: 768px) {
    .bio-block .role {
        font-size: 1.5rem;
    }
}

.bio-block p {
    font-size: 1.125rem;
    color: #4b5563;
    line-height: 1.75;
    font-weight: 300;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    background-color: var(--primary);
    color: #fff;
    font-weight: 700;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: translateY(0);
    transition: transform 0.2s;
    align-self: flex-start;
}

.cta-btn:hover {
    transform: translateY(-0.25rem);
}

.cta-btn .material-symbols-outlined {
    font-size: 1.25rem;
}

/* Responsive */
@media (min-width: 768px) {
    .about-card {
        flex-direction: row;
        padding: 3rem;
    }
}