﻿.ao-footer {
    position: relative;
    z-index: 2;
    padding: 56px 0 110px;
    border-top: 1px solid var(--ao-border);
    background: var(--ao-bg);
    overflow: hidden;
}

.ao-footer__decor {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.ao-footer__waves {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 55%;
    background-image: var(--ao-seigaiha);
    background-size: 110px 55px;
    opacity: 0.28;
    mix-blend-mode: multiply;
}

.ao-footer__sun {
    position: absolute;
    top: 18px;
    inset-inline-end: 10%;
    width: 48px;
    opacity: 0.55;
}

.ao-footer__lantern {
    position: absolute;
    top: 24px;
    inset-inline-start: 8%;
    width: 42px;
    opacity: 0.55;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.12));
}

.ao-footer__landscape {
    position: absolute;
    inset-inline-end: -4%;
    bottom: 18%;
    width: min(180px, 38vw);
    opacity: 0.18;
    border-radius: 12px;
    object-fit: cover;
    aspect-ratio: 4 / 3;
    mix-blend-mode: multiply;
}

.ao-footer__stone {
    position: absolute;
    inset-inline-start: 4%;
    bottom: 22%;
    width: min(72px, 18vw);
    opacity: 0.28;
    mix-blend-mode: multiply;
}

.ao-footer > .ao-container {
    position: relative;
    z-index: 1;
}

.ao-footer__poster {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 28px;
}

.ao-footer__brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 16px;
}

.ao-footer__logo,
.ao-footer__mark {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.ao-footer__name {
    margin: 0;
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
    line-height: 1.2;
}

.ao-footer__latin {
    margin: 4px 0 0;
    font-family: var(--ao-font-display);
    font-style: italic;
    color: var(--ao-ink-muted);
    font-size: 1.05rem;
}

.ao-footer__desc {
    margin: 0 0 20px;
    color: var(--ao-ink-muted);
    font-size: 0.95rem;
}

.ao-footer__meta {
    display: grid;
    gap: 10px;
    margin-bottom: 20px;
}

.ao-footer__meta-item {
    margin: 0;
    display: inline-flex;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    color: var(--ao-ink-muted);
    font-size: 0.9rem;
}

.ao-footer__meta-item a {
    color: var(--ao-primary);
}

.ao-footer__socials {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 18px;
}

.ao-footer__social {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1.5px solid var(--ao-border);
    color: var(--ao-ink);
    background: var(--ao-surface);
    transition: background 0.2s ease, color 0.2s ease;
}

.ao-footer__social:hover {
    background: rgba(128, 0, 47, 0.08);
    color: var(--ao-primary);
    opacity: 1;
}

@media (max-width: 640px) {
    .ao-footer {
        padding: 40px 0 120px;
    }

    .ao-footer__landscape {
        display: none;
    }

    .ao-footer__stone {
        width: 48px;
        opacity: 0.16;
    }
}

.ao-footer__nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 16px;
}

.ao-footer__nav a {
    color: var(--ao-ink-muted);
    font-weight: 600;
    font-size: 0.9rem;
    border-bottom: 1px solid transparent;
}

.ao-footer__nav a:hover {
    color: var(--ao-primary);
    border-bottom-color: rgba(128, 0, 47, 0.35);
}

.ao-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
    padding-top: 20px;
    border-top: 1px dashed var(--ao-border);
    color: var(--ao-ink-muted);
    font-size: 0.82rem;
}

.ao-footer__credit {
    font-family: var(--ao-font-display);
    font-style: italic;
}

