/* ── Hero ────────────────────────────────────── */

.hero {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: row;
    column-gap: 4rem;
    align-items: center;
}

.hero .left-side {
    display: flex;
    flex-direction: row;
    column-gap: 5rem;
    flex: 1;
}

.hero-inner {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-kicker {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 300;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--accent-yellow);
    margin-bottom: 1rem;
}

.hero-title {
    position: relative;
    font-family: "Yatra One", serif;
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1.0;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.hero-title a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-light);
    transform: scaleX(0);
    transition: transform 0.2s;
}

.hero-title a:hover {
    color: var(--accent-light);
}

.hero-title a:hover::after {
    transform: scaleX(1);
}

.hero-desc {
    color: var(--muted);
    font-size: 1rem;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-panel-stack {
    position: relative;
    height: 380px;
}

.display-pic {
    display: flex;
    flex-direction: row;
    column-gap: 1rem;
    height: 300px;
}

.display-pic img {
    display: block;
    height: 300px;
    border: 2px solid var(--ink);
    transition: transform 0.15s, box-shadow 0.15s;
}

.display-pic img:hover {
    transform: translateY(-3px);
    box-shadow: 5px 5px 0 var(--ink);
}

/* ── Latest Pages ────────────────────────────── */

.latest-pages {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem 3rem;
}

.page-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
}

.page-card {
    display: block;
    border: 2px solid var(--ink);
    transition: transform 0.15s, box-shadow 0.15s;
}

.page-card:hover {
    transform: translateY(-3px);
    box-shadow: 5px 5px 0 var(--ink);
}

.page-card-art {
    background: var(--paper-dark);
    aspect-ratio: 3/4;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 2px solid var(--ink);
    background-size: cover;
    background-position: center;
}

.page-card-info {
    padding: 0.9rem 1rem;
}

.page-card-label {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    display: block;
    margin-bottom: 0.25rem;
}

/* ── Home Gallery Preview ───────────────────── */

#my-work {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem 5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

#my-work div {
    display: flex;
    flex-direction: row;
    column-gap: 1rem;
}

#my-work img {
    display: block;
    height: 16rem;
    border: 2px solid var(--ink);
    transition: transform 0.15s, box-shadow 0.15s;
}

#doujinshi {
    padding-left: 1rem;
    border-left: 1px dotted var(--ink);
}

#vista-gigantessa .description {
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
    text-align: justify;
    overflow-wrap: break-word;
    hyphens: auto;
}

#vista-gigantessa .description .title {
    font-family: Yatra One;
    font-size: 2rem;
    font-weight: bold;
    line-height: 105%;
    letter-spacing: 8%;
    text-align: center;
    text-transform: uppercase;
}

/* ── Responsive ─────────────────────────────── */

@media (max-width: 700px) {
    .slideshow, .slides {
        width: 100%;
        height: max-content;
    }

    .hero {
        flex-direction: column;
        padding: 1.5rem 1rem;
        gap: 1.5rem;
    }

    .hero .left-side {
        flex-direction: column;
        gap: 1.5rem;
    }

    .hero-inner {
        width: 100%;
    }

    .display-pic,
    .display-pic img {
        width: 100%;
        max-width: 420px;
        height: auto;
        margin: 0 auto;
    }

    .hero-panel-stack {
        height: auto;
    }

    .hero-title {
        font-size: clamp(2.2rem, 10vw, 3rem);
        line-height: 1.05;
    }

    .hero-desc {
        max-width: 100%;
        font-size: 0.95rem;
    }

    .dots {
        position: inherit;
    }

    .page-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}