/* ============================================================
   about.css — Landing / About Me Page
   Claudia Illanes Portfolio
   ============================================================ */

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: stretch;
    padding-top: var(--navbar-h);
    position: relative;
    overflow: hidden;
}

/* ---- Left Column: Artist Name & Title ---- */
.hero-left {
    flex: 0 0 43%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--sp-xl) 3% var(--sp-xl) var(--pad-x);
    position: relative;
    z-index: 2;
}

.artist-name {
    font-family: var(--font-body);
    font-size: clamp(3.2rem, 5.8vw, 7rem);
    font-weight: 900;
    letter-spacing: 0.055em;
    text-transform: uppercase;
    line-height: 0.92;
    color: var(--clr-text);
    margin-bottom: 1.5rem;

    /* Entrance animation */
    animation: heroFadeLeft 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

.artist-subtitle {
    font-family: var(--font-body);
    font-size: clamp(0.75rem, 1vw, 0.95rem);
    font-weight: 300;
    letter-spacing: 0.4em;
    color: var(--clr-text-sub);
    text-transform: none;

    /* Entrance animation (slightly delayed) */
    animation: heroFadeLeft 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}

/* ---- Right Column: SVG Figure ---- */
.hero-right {
    flex: 1;
    position: relative;
    overflow: hidden;
}

/* Wrapper positions the figure anchored to the bottom */
.figure-wrap {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    /* overflow clipping is handled by the parent hero-right */
}

.figure-svg {
    height: 100%; /* Fill the full hero column height — head to toe */
    width: auto;
    flex-shrink: 0;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
    /* Hidden until public-content.js sets the correct image, then fades in.
       This prevents the SVG-then-photo flash. */
    opacity: 0;
}

.figure-svg.in {
    animation: figureSlideUp 1.7s cubic-bezier(0.16, 1, 0.3, 1) 0.05s forwards;
}

/* Gradient — fades the bottom of the figure into the background */
.figure-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 45%;
    background: linear-gradient(to bottom, transparent 0%, var(--clr-bg) 100%);
    z-index: 1;
    pointer-events: none;
}

/* ============================================================
   HERO KEYFRAMES
   ============================================================ */
@keyframes figureSlideUp {
    0% {
        opacity: 0;
        transform: translateY(90px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroFadeLeft {
    0% {
        opacity: 0;
        transform: translateX(-30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============================================================
   DESCRIPTION SECTION
   ============================================================ */
.about-desc {
    padding: var(--sp-xl) var(--pad-x);
}

.about-desc-inner {
    max-width: 560px;
    padding-left: 2rem;
    border-left: 2px solid var(--clr-text);
}

.about-desc-inner p {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.95;
    color: var(--clr-text-sub);
}

/* ============================================================
   WORK PREVIEW SECTION
   ============================================================ */
.work-preview {
    padding: var(--sp-lg) var(--pad-x) var(--sp-2xl);
}

.work-preview-header {
    margin-bottom: 2.2rem;
}

/* 3-column grid */
.work-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
    margin-bottom: var(--sp-lg);
}

/* Work card link wrapper */
.work-card {
    display: block;
    text-decoration: none;
}

/* Placeholder image box — portrait format for fashion/design */
.work-card-img {
    aspect-ratio: 2 / 3;
    width: 100%;
    border: 1px solid var(--clr-border-strong);
    background-color: transparent;
    transition: opacity var(--ease);
}

.work-card:hover .work-card-img {
    opacity: 0.38;
}

/* Category label under each placeholder */
.work-card-label {
    display: block;
    margin-top: 0.7rem;
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--clr-text-muted);
    transition: color var(--ease-fast);
}

.work-card:hover .work-card-label {
    color: var(--clr-text);
}

/* Centered CTA button */
.work-preview-cta {
    display: flex;
    justify-content: center;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet (769–1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-left {
        flex: 0 0 48%;
    }
    .artist-name {
        font-size: clamp(2.8rem, 5.2vw, 6rem);
    }
    .work-preview-grid {
        gap: 1rem;
    }
}

/* Mobile (≤ 768px) */
@media (max-width: 768px) {
    /* Stack hero vertically */
    .hero {
        flex-direction: column;
        min-height: 100svh;
    }

    .hero-left {
        flex: none;
        padding: calc(var(--navbar-h) + 2.8rem) var(--pad-x) 2rem;
        align-items: center;
        text-align: center;
        z-index: 2;
    }

    .artist-name {
        font-size: clamp(3rem, 12vw, 4.5rem);
        margin-bottom: 1rem;
    }

    /* SVG figure section — fixed height below the text */
    .hero-right {
        flex: none;
        height: 54vh;
        position: relative;
    }

    .figure-wrap {
        position: absolute;
        inset: 0;
    }

    /* Description */
    .about-desc {
        padding: var(--sp-lg) var(--pad-x);
    }

    .about-desc-inner {
        max-width: 100%;
    }

    /* Work grid — single column, centred */
    .work-preview-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Very small phones */
@media (max-width: 380px) {
    .artist-name {
        font-size: clamp(2.6rem, 13vw, 3.5rem);
    }
}
