:root {
    --av-navy: #0b1a2a;
    --av-navy-2: #10263c;
    --av-paper: #fbf8f2;
    --av-ink: #17202a;
    --av-muted: #5f5a52;
    --av-gold: #b89452;
    --av-line: #d7ccb8;
    --av-max: 1500px;
}

html {
    scroll-behavior: smooth;
}

body.avh-body {
    margin: 0;
    background: var(--av-paper);
    color: var(--av-ink);
    font-family: Inter, Arial, sans-serif;
    font-size: 17px;
    line-height: 1.65;
}

.avh-body *,
.avh-body *::before,
.avh-body *::after {
    box-sizing: border-box;
}

.avh-shell {
    min-height: 100vh;
    overflow: clip;
}

.avh-wrap {
    width: min(calc(100% - 88px), var(--av-max));
    margin: 0 auto;
}

.avh-header {
    position: absolute;
    z-index: 20;
    inset: 0 0 auto;
    color: #fff;
    background: linear-gradient(180deg, rgba(5, 15, 26, .68), rgba(5, 15, 26, 0));
    border-bottom: 1px solid rgba(255, 255, 255, .20);
}

.avh-header-inner {
    height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.avh-brand,
.avh-footer-brand {
    color: #fff;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 19px;
    font-weight: 600;
    letter-spacing: .25em;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
}

.avh-brand-title {
    margin: 0;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}

.avh-top-nav {
    display: flex;
    align-items: center;
    gap: 27px;
}

.avh-top-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, .76);
    font-family: Inter, Arial, sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .14em;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    transition: color .18s ease;
}

.avh-top-link:hover,
.avh-top-link:focus-visible {
    color: #fff;
}

.avh-top-auremont {
    color: #ecd092;
}

.avh-top-auremont-mark {
    width: 27px;
    height: 27px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(220, 181, 108, .72);
    border-radius: 50%;
    background: rgba(4, 18, 30, .28);
    color: #e7c686;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    box-shadow: inset 0 0 0 3px rgba(220, 181, 108, .06);
}

.avh-hero {
    min-height: 700px;
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    grid-template-areas: "copy media";
    color: #fff;
    background: linear-gradient(135deg, #091827 0%, #112b43 100%);
}

.avh-hero-copy {
    grid-area: copy;
    position: relative;
    z-index: 3;
    min-width: 0;
    display: flex;
    align-items: center;
    padding: 158px 64px 88px max(54px, calc((100vw - var(--av-max)) / 2));
}

.avh-hero-copy-inner {
    width: min(100%, 650px);
}

.avh-hero-media {
    grid-area: media;
    position: relative;
    min-height: 700px;
    overflow: hidden;
}

.avh-hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        #102a42 0%,
        rgba(16, 42, 66, .82) 8%,
        rgba(16, 42, 66, .18) 32%,
        rgba(7, 18, 30, .08) 70%,
        rgba(7, 18, 30, .20) 100%
    );
    pointer-events: none;
}

.avh-hero-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: 50% 20%;
    filter: saturate(.82) contrast(1.03) brightness(.94);
}

.avh-hero :is(h1, h2) {
    margin: 0;
    color: #fff;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(66px, 6.2vw, 102px);
    font-weight: 600;
    line-height: .88;
    letter-spacing: -.052em;
    text-wrap: balance;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .08);
}

.avh-hero :is(h1, h2) a {
    color: inherit;
    text-decoration: none;
}

.avh-deck {
    max-width: 610px;
    margin: 30px 0 34px;
    color: rgba(255, 255, 255, .88);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(20px, 1.65vw, 27px);
    line-height: 1.45;
    text-wrap: pretty;
}

.avh-lead-note {
    max-width: 610px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
    margin-top: 38px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .22);
}

.av-lead-summary {
    color: rgba(255, 255, 255, .70);
    font-size: 15px;
    line-height: 1.55;
}

.avh-lead-link,
.avh-text-link {
    color: inherit;
    font-family: Inter, Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .11em;
    text-decoration: none;
    text-transform: uppercase;
}

.avh-lead-link span,
.avh-text-link span {
    display: inline-block;
    margin-left: 4px;
    font-size: 16px;
    line-height: 1;
    transition: transform .2s ease;
}

.avh-lead-link:hover span,
.avh-text-link:hover span {
    transform: translateX(3px);
}

.avh-image-fallback {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--av-navy), var(--av-navy-2));
    color: rgba(255, 255, 255, .45);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 84px;
}

.avh-section {
    padding: 100px 0 108px;
}

.avh-section-head {
    display: grid;
    grid-template-columns: minmax(290px, .68fr) minmax(0, 1.32fr);
    gap: 80px;
    align-items: end;
    margin-bottom: 48px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--av-line);
}

.avh-section-head h2 {
    margin: 0;
    color: var(--av-ink);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(46px, 4.3vw, 70px);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -.03em;
}

.avh-featured-layout,
.avh-featured-auremont {
    min-width: 0;
}

.avh-featured-auremont {
    margin-top: 48px;
}

.avh-featured-profile-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-flow: row;
    gap: 24px;
    align-items: stretch;
}

@media (min-width: 1280px) {
    .avh-featured-layout {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(330px, 360px);
        gap: 32px;
        align-items: start;
    }

    .avh-featured-auremont {
        margin-top: 0;
        position: relative;
        top: auto;
        align-self: start;
    }

}

@media (min-width: 1121px) and (max-width: 1279px) {
    .avh-featured-profile-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .avh-featured-profile-grid > .avh-card:last-child:nth-child(3n + 1) {
        grid-column: 2;
        width: 100%;
        justify-self: stretch;
    }
}

.avh-featured-profile-grid > .avh-card {
    min-width: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(24, 32, 42, .10);
    box-shadow: 0 14px 34px rgba(30, 26, 20, .07);
    transition: transform .25s ease, box-shadow .25s ease;
}

.avh-featured-profile-grid > .avh-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 44px rgba(30, 26, 20, .11);
}

/* Keep a single thirteenth featured profile centered as a deliberate final
   spotlight instead of leaving an orphaned card against the left edge. */
@media (min-width: 1121px) {
    .avh-featured-profile-grid > .avh-card:last-child:nth-child(4n + 1) {
        grid-column: 2 / span 2;
        width: calc(50% - 12px);
        justify-self: center;
    }
}

@media (min-width: 561px) and (max-width: 1120px) {
    .avh-featured-profile-grid > .avh-card:last-child:nth-child(2n + 1) {
        grid-column: 1 / -1;
        width: calc(50% - 12px);
        justify-self: center;
    }
}

@media (max-width: 560px) {
    .avh-featured-profile-grid > .avh-card:last-child {
        grid-column: auto;
        width: 100%;
    }
}

.avh-card-image {
    position: relative;
    flex: 0 0 auto;
    width: 100%;
    aspect-ratio: 4 / 5;
    display: block;
    overflow: hidden;
    background: transparent;
}

.avh-card-image > img {
    width: 100%;
    height: 100%;
    max-width: none;
    display: block;
    object-fit: cover;
    object-position: center top;
    transform: none;
    filter: none;
}

/* Reframe only Patrick J. Collins's square homepage portrait. The source
   portrait and the separate wide hero remain unchanged. */
.avh-card[data-profile-id="3026"] > .avh-card-image > img {
    width: 108%;
    height: 108%;
    transform: translate(-3.7%, -7.4%);
}

.avh-card-copy {
    width: 100%;
    min-width: 0;
    min-height: 210px;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 20px 22px;
    background: #fff;
}

.avh-card-copy h3 {
    margin: 0 0 10px;
    color: #111d2a;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(1.20rem, 1.28vw, 1.48rem);
    font-weight: 600;
    line-height: 1.07;
    letter-spacing: -.025em;
}

.avh-card-copy h3 a {
    color: inherit;
    text-decoration: none;
}

.avh-card-copy > p {
    margin: 0;
    color: var(--av-muted);
    font-family: Inter, Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.58;
}

.avh-card-copy .avh-text-link {
    margin-top: auto;
    padding-top: 24px;
    color: #111d2a;
}

.avh-footer {
    padding: 62px 0 38px;
    color: #fff;
    background: #07121e;
    border-top: 1px solid rgba(184, 148, 82, .72);
}

.avh-footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 50px;
    padding-bottom: 38px;
    border-bottom: 1px solid rgba(255, 255, 255, .15);
}

.avh-footer-identity p {
    margin: 14px 0 0;
    color: rgba(255, 255, 255, .58);
    font-family: Inter, Arial, sans-serif;
    font-size: 13px;
    line-height: 1.55;
    letter-spacing: .04em;
}

.avh-footer-nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(104px, 1fr));
    width: min(100%, 520px);
    gap: 8px;
}

.avh-footer-nav a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    gap: 8px;
    padding: 10px 8px;
    color: rgba(255, 255, 255, .68);
    font-family: Inter, Arial, sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .12em;
    line-height: 1.2;
    text-decoration: none;
    text-transform: uppercase;
    transition: color .2s ease;
}

.avh-footer-nav a::after {
    position: absolute;
    right: 8px;
    bottom: 3px;
    left: 8px;
    height: 1px;
    background: #d5ad62;
    content: "";
    opacity: .82;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .2s ease;
}

.avh-footer-icon {
    display: grid;
    place-items: center;
    flex: 0 0 19px;
    width: 19px;
    height: 19px;
    color: #d5ad62;
    opacity: .84;
    transition: color .2s ease, opacity .2s ease;
}

.avh-footer-icon svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.45;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.avh-footer-nav a:hover {
    color: #fff;
}

.avh-footer-nav a:hover::after,
.avh-footer-nav a:focus-visible::after {
    transform: scaleX(1);
}

.avh-footer-nav a:hover .avh-footer-icon,
.avh-footer-nav a:focus-visible .avh-footer-icon {
    color: #e4c58e;
    opacity: 1;
}

.avh-footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 27px;
    color: rgba(255, 255, 255, .45);
    font-family: Inter, Arial, sans-serif;
    font-size: 12px;
    line-height: 1.5;
}

.avh-brand:focus-visible,
.avh-hero a:focus-visible,
.avh-card a:focus-visible,
.avh-footer a:focus-visible {
    outline: 2px solid #d5ad62;
    outline-offset: 5px;
}

@media (max-width: 1050px) {
    .avh-header {
        position: relative;
        background: var(--av-navy);
    }

    .avh-hero {
        min-height: auto;
        grid-template-columns: 1fr;
        grid-template-areas:
            "media"
            "copy";
    }

    .avh-hero-media {
        min-height: 540px;
    }

    .avh-hero-copy {
        padding: 72px 48px 82px;
    }

    .avh-section-head {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 1120px) {
    .avh-featured-profile-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .avh-wrap,
    .avh-header-inner {
        width: min(calc(100% - 34px), var(--av-max));
    }

    .avh-header-inner {
        height: auto;
        min-height: 82px;
        padding: 24px 0;
        gap: 18px;
    }

    .avh-brand {
        font-size: 15px;
        letter-spacing: .21em;
    }

    .avh-top-nav {
        gap: 0;
    }

    .avh-top-nav .avh-top-link:not(.avh-top-auremont) {
        display: none;
    }

    .avh-top-auremont {
        gap: 7px;
        font-size: 9px;
        letter-spacing: .11em;
    }

    .avh-top-auremont-mark {
        width: 25px;
        height: 25px;
        font-size: 16px;
    }

    .avh-hero-media {
        min-height: 420px;
    }

    .avh-hero-copy {
        padding: 58px 22px 70px;
    }

    .avh-hero :is(h1, h2) {
        font-size: 55px;
    }

    .avh-deck {
        font-size: 20px;
    }

    .avh-section {
        padding: 78px 0;
    }

    .avh-card-copy {
        min-height: 0;
        padding: 22px 21px 24px;
    }

    .avh-card-copy h3 {
        font-size: 1.72rem;
    }

    .avh-card-copy > p {
        font-size: .96rem;
        line-height: 1.60;
    }

    .avh-footer-top,
    .avh-footer-bottom {
        flex-direction: column;
    }

    .avh-footer-nav {
        width: 100%;
        grid-template-columns: repeat(2, minmax(104px, 1fr));
        gap: 4px 12px;
    }

    .avh-footer-nav a {
        justify-content: flex-start;
        padding-right: 6px;
        padding-left: 6px;
    }

    .avh-footer-nav a::after {
        right: 6px;
        left: 6px;
    }
}

@media (max-width: 560px) {
    .avh-featured-profile-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .avh-card,
    .avh-lead-link span,
    .avh-text-link span {
        transition: none;
    }

    .avh-featured-profile-grid > .avh-card:hover {
        transform: none;
    }
}
