:root {
    --av-footer-ink: #171715;
    --av-footer-muted: #676762;
    --av-footer-line: rgba(23, 23, 21, .16);
    --av-footer-paper: #f1f1ed;
}

body.av-info-shell,
body.av-info-shell #inner-wrap {
    background: #fff !important;
}

body.av-info-shell .entry-hero,
body.av-info-shell .page-title-wrap {
    display: none !important;
}

body.av-info-shell .content-area,
body.av-info-shell .content-container.site-container,
body.av-info-shell #main,
body.av-info-shell article.page,
body.av-info-shell .entry-content-wrap {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* The ANELVIE footer replaces the parent theme footer once this module is loaded. */
#colophon.site-footer,
.site-footer:not(.av-site-footer) {
    display: none !important;
}

.av-site-footer {
    position: relative;
    z-index: 1;
    color: var(--av-footer-ink);
    background: var(--av-footer-paper);
    border-top: 1px solid var(--av-footer-line);
    font-family: inherit;
}

.av-site-footer a {
    color: inherit;
    text-decoration: none;
}

.av-site-footer__newsletter {
    padding: clamp(54px, 7vw, 96px) clamp(24px, 5vw, 72px);
    text-align: center;
    background: #fff;
    border-bottom: 1px solid var(--av-footer-line);
}

.av-site-footer__newsletter .av-newsletter {
    width: min(100%, 560px);
    margin-inline: auto;
}

.av-site-footer__newsletter .av-newsletter__title {
    margin: 0 0 12px;
    font-size: clamp(22px, 2.2vw, 34px);
    font-weight: 500;
    letter-spacing: -.025em;
}

.av-site-footer__newsletter .av-newsletter__sub {
    margin: 0 0 26px;
    color: var(--av-footer-muted);
    font-size: 14px;
}

.av-site-footer__main {
    display: grid;
    grid-template-columns: minmax(260px, 1.1fr) minmax(540px, 2fr);
    gap: clamp(48px, 8vw, 130px);
    width: min(100%, 1600px);
    margin: 0 auto;
    padding: clamp(64px, 7vw, 104px) clamp(28px, 5vw, 80px) clamp(54px, 6vw, 84px);
}

.av-site-footer__intro {
    max-width: 390px;
}

.av-site-footer__brand {
    display: inline-block;
    margin-bottom: 24px;
    font-size: clamp(26px, 2.5vw, 38px);
    font-weight: 600;
    letter-spacing: .18em;
    line-height: 1;
}

.av-site-footer__intro p {
    margin: 0 0 18px;
    color: var(--av-footer-muted);
    font-size: 14px;
    line-height: 1.65;
}

.av-site-footer__email {
    display: inline-block;
    padding-bottom: 2px;
    border-bottom: 1px solid currentColor;
    font-size: 13px;
}

.av-site-footer__social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-top: 22px;
}

.av-site-footer__social a {
    width: fit-content;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.av-site-footer__email:hover,
.av-site-footer__email:focus-visible,
.av-site-footer__links a:hover,
.av-site-footer__links a:focus-visible {
    opacity: .58;
}

.av-site-footer__social a:hover,
.av-site-footer__social a:focus-visible {
    opacity: .58;
}

.av-site-footer__email:focus-visible,
.av-site-footer__links a:focus-visible,
.av-site-footer__brand:focus-visible {
    outline: 1px solid currentColor;
    outline-offset: 4px;
}

.av-site-footer__social a:focus-visible {
    outline: 1px solid currentColor;
    outline-offset: 4px;
}

.av-site-footer__nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(140px, 1fr));
    gap: clamp(30px, 4vw, 76px);
}

.av-site-footer__column {
    margin: 0;
}

.av-site-footer__column summary {
    list-style: none;
    margin: 0 0 23px;
    cursor: default;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .12em;
    line-height: 1.4;
    text-transform: uppercase;
}

.av-site-footer__column summary::-webkit-details-marker {
    display: none;
}

.av-site-footer__links {
    display: grid;
    gap: 13px;
}

.av-site-footer__links a {
    width: fit-content;
    font-size: 13px;
    line-height: 1.45;
    transition: opacity 160ms ease;
}

.av-site-footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    width: min(100%, 1600px);
    margin: 0 auto;
    padding: 22px clamp(28px, 5vw, 80px) 26px;
    color: var(--av-footer-muted);
    border-top: 1px solid var(--av-footer-line);
    font-size: 10px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

@media (max-width: 820px) {
    .av-site-footer__newsletter {
        padding: 52px 22px;
    }

    .av-site-footer__main {
        display: block;
        padding: 54px 22px 34px;
    }

    .av-site-footer__intro {
        max-width: none;
        padding-bottom: 42px;
    }

    .av-site-footer__brand {
        margin-bottom: 18px;
        font-size: 27px;
    }

    .av-site-footer__nav {
        display: block;
        border-top: 1px solid var(--av-footer-line);
    }

    .av-site-footer__column {
        border-bottom: 1px solid var(--av-footer-line);
    }

    .av-site-footer__column summary {
        position: relative;
        margin: 0;
        padding: 20px 30px 20px 0;
        cursor: pointer;
    }

    .av-site-footer__column summary::after {
        content: '\002212';
        position: absolute;
        top: 50%;
        right: 2px;
        transform: translateY(-50%);
        font-size: 16px;
        font-weight: 400;
    }

    .av-site-footer__column:not([open]) summary::after {
        content: '+';
    }

    .av-site-footer__links {
        gap: 14px;
        padding: 0 0 24px;
    }

    .av-site-footer__links a {
        font-size: 14px;
    }

    .av-site-footer__bottom {
        display: grid;
        gap: 8px;
        padding: 22px 22px 28px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .av-site-footer__links a {
        transition: none;
    }
}

/* About and Contact page candidates share a deliberately quiet editorial frame. */
.av-info-page {
    color: var(--av-footer-ink);
    background: #fff;
}

.av-info-page__hero {
    display: grid;
    place-content: center;
    min-height: clamp(210px, 30vw, 310px);
    padding: 42px 24px;
    text-align: center;
    background: #fff;
}

.av-info-page__eyebrow {
    margin: 0 0 18px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.av-info-page__hero h1 {
    max-width: 820px;
    margin: 0 auto;
    font-size: clamp(32px, 3.4vw, 40px);
    font-weight: 400;
    letter-spacing: -.04em;
    line-height: 1.16;
}

.av-info-page__hero > p:last-child:not(.av-info-page__eyebrow) {
    max-width: 530px;
    margin: 24px auto 0;
    color: var(--av-footer-muted);
    font-size: 15px;
    line-height: 1.65;
}

.av-info-page__body,
.av-info-page__contact {
    display: grid;
    grid-template-columns: minmax(160px, .7fr) minmax(300px, 1.35fr);
    column-gap: clamp(32px, 6vw, 96px);
    row-gap: 20px;
    width: min(100%, 1160px);
    margin: 0 auto;
    padding: clamp(36px, 5vw, 72px) clamp(24px, 5vw, 72px);
}

.av-info-page__body h2,
.av-info-page__contact h2 {
    margin: 0;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.av-info-page__body p,
.av-info-page__contact p {
    grid-column: 2;
    max-width: 680px;
    margin: 0;
    font-size: clamp(16px, 1.5vw, 20px);
    font-weight: 400;
    letter-spacing: -.025em;
    line-height: 1.38;
}

.av-info-page__body p + p {
    margin-top: 16px;
}

.av-info-page__statement {
    padding: clamp(48px, 7vw, 96px) 24px;
    text-align: center;
    background: #fff;
}

.av-info-page__statement p {
    margin: 0 0 34px;
    font-size: clamp(22px, 2.8vw, 32px);
    letter-spacing: -.04em;
    line-height: 1.08;
}

.av-info-page__link,
.av-info-page__quick-links a {
    display: inline-block;
    padding-bottom: 4px;
    color: inherit;
    border-bottom: 1px solid currentColor;
    text-decoration: none;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.av-info-page__email {
    grid-column: 2;
    width: fit-content;
    color: inherit;
    border-bottom: 1px solid currentColor;
    text-decoration: none;
    font-size: clamp(18px, 2vw, 24px);
    letter-spacing: -.025em;
}

.av-info-page__contact p {
    margin-top: 0;
    color: var(--av-footer-muted);
    font-size: 14px;
    letter-spacing: 0;
    line-height: 1.6;
}

.av-info-page__quick-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: min(100%, 1160px);
    margin: 0 auto;
    padding: 0 clamp(24px, 5vw, 72px) clamp(80px, 10vw, 150px);
}

.av-info-page__quick-links a {
    display: flex;
    align-items: center;
    min-height: 76px;
    padding: 0 22px;
    border: 1px solid var(--av-footer-line);
    border-right: 0;
}

.av-info-page__quick-links a:last-child {
    border-right: 1px solid var(--av-footer-line);
}

@media (max-width: 700px) {
    .av-info-page__hero {
        min-height: 220px;
        padding: 36px 22px;
    }

    .av-info-page__hero h1 {
        font-size: clamp(28px, 8vw, 32px);
    }

    .av-info-page__body,
    .av-info-page__contact {
        display: block;
        padding: 42px 22px 52px;
    }

    .av-info-page__body h2,
    .av-info-page__contact h2 {
        margin-bottom: 20px;
    }

    .av-info-page__body p,
    .av-info-page__contact p {
        font-size: 16px;
    }

    .av-info-page__body p + p {
        margin-top: 24px;
    }

    .av-info-page__email {
        display: inline-block;
        margin-bottom: 30px;
        font-size: clamp(18px, 5vw, 22px);
    }

    .av-info-page__contact p {
        margin-top: 0;
        font-size: 14px;
    }

    .av-info-page__quick-links {
        grid-template-columns: 1fr 1fr;
        padding: 0 22px 84px;
    }

    .av-info-page__quick-links a {
        min-height: 68px;
        padding: 0 15px;
        border-right: 1px solid var(--av-footer-line);
        border-bottom: 0;
        font-size: 9px;
    }

    .av-info-page__quick-links a:nth-child(even) {
        border-left: 0;
    }

    .av-info-page__quick-links a:nth-last-child(-n + 2) {
        border-bottom: 1px solid var(--av-footer-line);
    }
}

/* Stack the footer main area earlier to avoid tablet overflow. */
@media (max-width: 1000px) {
    .av-site-footer__main { grid-template-columns: 1fr; gap: 30px; }
}
