/* Ana Terra Tattoo | Mobile Header v19 — respiro lateral refinado */
.att-mobile-header-v13,
.att-mobile-nav-v13 { display: none; }

@media (max-width: 767px) {
    body.att-site-page #wpadminbar { display: none; }

    .att-site-header,
    .att-story-gallery,
    .att-faq {
        display: none !important;
    }

    .att-hero-media::after { background: none !important; }
    .att-hero-copy,
    .att-hero-mobile-foreground { display: none !important; }

    .att-mobile-header-v13 {
        position: fixed;
        z-index: 5000;
        inset: 0 0 auto 0;
        height: 76px;
        padding-top: 0;
        padding-bottom: 0;
        padding-left: max(clamp(24px, 7vw, 30px), calc(env(safe-area-inset-left) + 20px));
        padding-right: max(clamp(24px, 7vw, 30px), calc(env(safe-area-inset-right) + 20px));
        display: flex;
        align-items: center;
        justify-content: space-between;
        color: var(--att-earth);
        background: rgba(255,249,239,.97);
        border-bottom: 1px solid rgba(58,33,26,.08);
        box-shadow: 0 8px 24px rgba(58,33,26,.06);
        transition: background-color .22s ease, color .22s ease, box-shadow .22s ease, border-color .22s ease;
    }

    .att-mobile-header-v13.is-at-top {
        background: transparent;
        border-color: transparent;
        box-shadow: none;
    }

    .att-mobile-header-wordmark-v13 {
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        min-width: 152px;
        min-height: 54px;
        color: inherit;
        text-decoration: none;
        font-family: var(--att-font-display);
        line-height: 1;
        transition: opacity .2s ease;
    }

    .att-mobile-header-wordmark-v13 span { font-size: 24px; letter-spacing: .12em; }
    .att-mobile-header-wordmark-v13 small { font-family: var(--att-font-body); font-size: 7px; letter-spacing: .42em; }

    .att-mobile-menu-toggle-v13 {
        position: relative;
        width: 52px;
        height: 52px;
        flex: 0 0 52px;
        margin: 0;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        color: inherit;
        box-shadow: none;
        cursor: pointer;
        transition: opacity .2s ease;
    }

    .att-mobile-menu-toggle-v13 span {
        position: absolute;
        left: 10px;
        width: 32px;
        height: 1.5px;
        background: currentColor;
        transition: transform .22s ease, top .22s ease;
    }
    .att-mobile-menu-toggle-v13 span:first-child { top: 20px; }
    .att-mobile-menu-toggle-v13 span:last-child { top: 31px; }

    .att-mobile-header-v13.is-at-top .att-mobile-header-wordmark-v13,
    .att-mobile-header-v13.is-at-top .att-mobile-menu-toggle-v13 { opacity: 0; }

    .att-mobile-header-v13.is-menu-open {
        color: var(--att-ivory);
        background: var(--att-earth);
        border-color: transparent;
        box-shadow: none;
    }
    .att-mobile-header-v13.is-menu-open .att-mobile-header-wordmark-v13,
    .att-mobile-header-v13.is-menu-open .att-mobile-menu-toggle-v13 { opacity: 1; }
    .att-mobile-header-v13.is-menu-open .att-mobile-menu-toggle-v13 span:first-child { top: 26px; transform: rotate(45deg); }
    .att-mobile-header-v13.is-menu-open .att-mobile-menu-toggle-v13 span:last-child { top: 26px; transform: rotate(-45deg); }

    .att-mobile-nav-v13 {
        position: fixed;
        z-index: 4990;
        inset: 0;
        padding: 112px 24px 44px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 18px;
        background: var(--att-earth);
        color: var(--att-ivory);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity .22s ease, visibility .22s ease;
    }
    .att-mobile-nav-v13.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
    .att-mobile-nav-v13 a {
        color: inherit;
        text-decoration: none;
        font-family: var(--att-font-display);
        font-size: clamp(34px, 10vw, 48px);
        font-weight: 400;
        line-height: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .att-mobile-header-v13,
    .att-mobile-nav-v13 { transition: none !important; }
}
