/* vn-hero — Home (Fade) + Memory Care (Panel)
   Source: Latest mockups/corrected/index.html + mem-care/index.html.
   Desktop values are the 1920 Figma sizes expressed as min(vw, px) so the composition
   scales proportionally below 1920 and stops growing above it. */

.vn-hero {
    position: relative;
    overflow: hidden;
    background-color: var(--vn-white);
    font-family: var(--vn-font-body);
    color: var(--vn-ink);
}

.vn-hero__frame {
    position: relative;
    display: flex;
    max-width: 1920px;
    min-height: min(46.875vw, 900px);
    margin: 0 auto;
}

.vn-hero__photo {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: var(--vn-hero-photo-w, 62.5%);
    z-index: 0;
}

.vn-hero__photo .vn-img-cover {
    position: absolute;
    inset: 0;
    object-position: var(--vn-img-x, 50%) var(--vn-img-y, 0%);
}

.vn-hero__wash,
.vn-hero__fade {
    position: absolute;
    z-index: 1;
    pointer-events: none;
}

/* Subtle wash over the left of the photo */
.vn-hero__wash {
    inset: 0;
    background: linear-gradient(to right,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(255, 255, 255, 0.9) 28%,
        rgba(255, 255, 255, 0.78) 42%,
        rgba(255, 255, 255, 0.55) 55%,
        rgba(255, 255, 255, 0.28) 68%,
        rgba(255, 255, 255, 0.08) 78%,
        rgba(255, 255, 255, 0) 86%);
}

/* Blurred white blob behind the headline */
.vn-hero__fade {
    left: -30%;
    top: -5%;
    width: 83.13%;
    height: 136.1%;
    background: #fff;
    border-radius: 50%;
    filter: blur(45px);
}

.vn-hero__copy {
    position: relative;
    z-index: 2;
    width: var(--vn-hero-copy-w, 43.23%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: min(4vw, 76.8px) clamp(24px, 6vw, 74px);
}

.vn-hero .vn-hero__logo {
    position: absolute;
    top: 16px;
    left: calc(16px + min(3vw, 57.6px));
    width: clamp(90px, 9vw, 172px);
    height: auto;
    max-width: none;
}

.vn-hero .vn-hero__eyebrow { margin: 0 0 16px; }

/* 39vw is wider than the padded copy column — the mockup lets the headline run into the padding */
.vn-hero .vn-hero__heading {
    position: relative;
    width: min(39vw, 749px);
    margin: clamp(70px, 9vw, 150px) 0 0;
    font-family: var(--vn-font-display);
    font-size: min(3.542vw, 68px);
    font-weight: 600;
    line-height: 1.176;
    letter-spacing: -0.01em;
    color: var(--vn-navy);
}

.vn-hero__heading .vn-script {
    display: inline-block;
    font-size: 1.17em;
    line-height: 1;
    padding: 0 0.1em;
}

.vn-hero__flourish {
    display: flex;
    align-items: center;
    gap: clamp(8px, 1vw, 20px);
    width: min(35vw, 672px);
    max-width: 100%;
    margin-top: clamp(14px, 1.6vw, 28px);
    padding: 1rem 0;
}

.vn-hero__flourish img {
    display: block;
    min-width: 0;
    height: auto;
    max-width: 100%;
}

.vn-hero__flourish .vn-hero__flourish-line { flex: 1 1 29%; }
.vn-hero__flourish .vn-hero__flourish-line--long { flex: 1 1 60%; }
.vn-hero__flourish .vn-hero__flourish-heart { flex: none; width: clamp(18px, 2vw, 35px); }

.vn-hero .vn-hero__text {
    width: 87.5%;
    max-width: var(--vn-hero-text-max, none);
    margin: clamp(16px, 2vw, 32px) 0 0;
    padding-left: min(1.667vw, 32px);
    font-size: min(1.667vw, 32px);
    font-weight: 400;
    line-height: 1.25;
    color: var(--vn-ink);
}

/* ── Bottom slot ── */

.vn-hero .vn-hero__card {
    --vn-hero-icon: clamp(44px, 3.96vw, 76px);
    display: flex;
    align-items: center;
    gap: clamp(14px, 1.6vw, 26px);
    max-width: 573px;
    min-height: min(7.03vw, 135px);
    padding: clamp(16px, 1.8vw, 28px) clamp(18px, 2.2vw, 32px);
    background: linear-gradient(90deg, rgba(49, 120, 174, 0.1) 0%, rgba(248, 248, 249, 0.1) 61%), var(--vn-mist);
    border: 2px solid #ABBAD3;
    border-radius: 18px;
    color: var(--vn-navy);
    text-decoration: none;
}

a.vn-hero__card:hover,
a.vn-hero__card:focus-visible { color: var(--vn-navy); }

a.vn-hero__card:focus-visible { outline: 3px solid var(--vn-navy); outline-offset: 3px; }

.vn-hero__card .vn-icon,
.vn-hero__note .vn-icon {
    width: var(--vn-hero-icon);
    color: var(--vn-navy);
}

.vn-hero__card .vn-icon svg,
.vn-hero__note .vn-icon svg {
    width: 100%;
    height: auto;
    fill: currentColor;
}

.vn-hero__card .vn-icon i { font-size: var(--vn-hero-icon); }

.vn-hero__card-body { display: block; min-width: 0; }

.vn-hero__card-num,
.vn-hero__card-line { display: block; }

.vn-hero__card-num {
    font-size: clamp(1.3rem, 1.667vw, 2rem);
    font-weight: 400;
    white-space: nowrap;
}

.vn-hero__card-line {
    font-size: clamp(0.95rem, 1.406vw, 1.6875rem);
    font-weight: 400;
    line-height: 1.35;
}

.vn-hero__card-line--italic { font-style: italic; }

.vn-hero__note {
    --vn-hero-icon: clamp(32px, 2.6vw, 50px);
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: clamp(16px, 2vw, 32px);
}

.vn-hero .vn-hero__note-text {
    margin: 0;
    font-size: clamp(1.05rem, 1.3vw, 1.6rem);
    line-height: 1.35;
    color: var(--vn-navy);
}

.vn-hero .vn-hero__italic { margin-top: clamp(12px, 1.4vw, 24px); font-style: italic; }

/* ── Panel style (Memory Care) ── */

/* The mockup section is 890px tall but pulled up 50px (margin-top:-50px), cropping the photo top */
.vn-hero-style-panel .vn-hero__frame { min-height: calc(min(46.354vw, 890px) - 50px); }

.vn-hero-style-panel .vn-hero__photo { top: -50px; width: var(--vn-hero-photo-w, 62.7%); }

.vn-hero-style-panel .vn-hero__wash {
    background: linear-gradient(to right,
        #fff 0%,
        #fff 33%,
        rgba(255, 255, 255, 0.09) 40%,
        rgba(255, 255, 255, 0.09) 100%);
}

.vn-hero-style-panel .vn-hero__fade { display: none; }

.vn-hero-style-panel .vn-hero__copy {
    width: var(--vn-hero-copy-w, min(45%, 700px));
    justify-content: flex-start;
    padding: 14px clamp(20px, 3.85vw, 74px) clamp(32px, 3.2vw, 54px);
    color: var(--vn-navy);
}

.vn-hero-style-panel .vn-hero .vn-hero__logo {
    position: static;
    width: clamp(110px, 12vw, 230px);
    margin: 0 0 15px;
}

.vn-hero-style-panel .vn-hero .vn-hero__heading {
    width: min(28.75vw, 552px);
    margin: 0;
    font-size: clamp(2rem, 3.85vw, 4.6rem);
    font-weight: 400;
    line-height: 1.05;
}

.vn-hero-style-panel .vn-hero__script {
    display: block;
    margin-top: 0;
    font-size: clamp(1.6rem, 3.5vw, 4.2rem);
    line-height: 1.1;
}

.vn-hero-style-panel .vn-hero__flourish {
    display: block;
    width: clamp(200px, 23.6vw, 453px);
    margin: 0 0 14px;
    padding: 0;
}

.vn-hero-style-panel .vn-hero__flourish img { width: 100%; }

.vn-hero-style-panel .vn-hero .vn-hero__text {
    width: 95%;
    max-width: var(--vn-hero-text-max, 100%);
    margin: 0 0 17px;
    padding-left: 0;
    font-size: clamp(1.05rem, 1.406vw, 1.6875rem);
    line-height: 1.35;
    color: var(--vn-navy);
}

/* ── Mask style (Assisted Living, Independent Living, Business, Gallery) ──
   Source: Latest mockups/Rest of pages/Assisted Living + Independent Living (1924 canvas).
   Photo runs past the right edge; the white fade is the Figma hero-mask gradient. */

.vn-hero-flip-yes .vn-hero__photo .vn-img-cover { transform: scaleX(-1); }

.vn-hero-style-mask .vn-hero__frame { min-height: 0; }

.vn-hero-style-mask .vn-hero__photo {
    right: var(--vn-hero-photo-right, -12.7%);
    width: var(--vn-hero-photo-w, 70.1%);
}

.vn-hero-style-mask .vn-hero__wash {
    left: var(--vn-hero-wash-left, 0%);
    right: auto;
    width: 100%;
    background: linear-gradient(to right,
        #fff 0%,
        #fff var(--vn-hero-wash-solid, 42.55%),
        rgba(241, 241, 241, 0.7) var(--vn-hero-wash-mid, 49.08%),
        rgba(217, 217, 217, 0) var(--vn-hero-wash-clear, 58.86%));
}

.vn-hero-style-mask .vn-hero__fade { display: none; }

.vn-hero-style-mask .vn-hero__copy {
    width: var(--vn-hero-copy-w, 58%);
    justify-content: flex-start;
    padding: min(3.28vw, 63px) 24px min(1.61vw, 31px) min(4.37vw, 84px);
    color: var(--vn-navy);
}

.vn-hero-style-mask .vn-hero .vn-hero__logo {
    position: static;
    width: min(14.68vw, 282px);
    margin: 0 0 min(1.56vw, 30px) calc(-1 * min(1.2vw, 23px));
}

.vn-hero-style-mask .vn-hero .vn-hero__eyebrow {
    margin: 0 0 min(0.78vw, 15px) min(0.42vw, 8px);
    font-size: min(1.81vw, 34.84px);
    line-height: 1.263;
    letter-spacing: 0.13em;
}

.vn-hero-style-mask .vn-hero .vn-hero__heading {
    width: min(50.6vw, 974px);
    margin: 0;
    font-size: min(4.437vw, 85.364px);
    font-weight: 500;
    line-height: 1.1424;
    letter-spacing: 0;
}

.vn-hero-style-mask .vn-hero__flourish {
    display: block;
    width: min(calc(var(--vn-hero-flourish-w, 433) * 0.0521vw), calc(var(--vn-hero-flourish-w, 433) * 1px));
    margin: min(0.6vw, 12px) 0;
    padding: 0;
}

.vn-hero-style-mask .vn-hero__flourish img { width: 100%; }

.vn-hero-style-mask .vn-hero .vn-hero__text {
    width: auto;
    max-width: var(--vn-hero-text-max, min(46.5vw, 895px));
    margin: 0 0 0 min(0.42vw, 8px);
    padding-left: 0;
    font-size: min(1.759vw, 33.842px);
    line-height: 1.3;
    color: var(--vn-navy);
}

.vn-hero-style-mask .vn-hero__text strong { font-weight: 600; }

.vn-hero-style-mask .vn-hero__note {
    --vn-hero-icon: min(6.13vw, 118px);
    gap: min(0.73vw, 14px);
    margin-top: min(0.8vw, 16px);
    margin-left: calc(-1 * min(1.2vw, 23px));
}

.vn-hero-style-mask .vn-hero .vn-hero__note-text {
    max-width: min(32.7vw, 629px);
    font-size: min(1.61vw, 31px);
    font-weight: 600;
    line-height: 1.3;
}

/* Title sizes (Business "large", Gallery "xl") */
.vn-hero-title-large .vn-hero .vn-hero__heading { font-size: min(5.89vw, 113.2px); line-height: 1.142; }
.vn-hero-title-xl .vn-hero .vn-hero__heading { font-size: min(7.755vw, 148.9px); line-height: 1.045; }

/* Serif italic subtitle (Gallery) */
.vn-hero .vn-hero__subtitle {
    margin: min(1.2vw, 23px) 0 0 min(0.42vw, 8px);
    font-family: var(--vn-font-display);
    font-size: min(2.47vw, 47.4px);
    font-style: italic;
    font-weight: 600;
    line-height: 1.2;
    color: var(--vn-navy);
}

/* Business italic closing line */
.vn-hero-style-mask .vn-hero .vn-hero__italic {
    max-width: none;
    margin: min(1.3vw, 25px) 0 0 min(0.42vw, 8px);
    font-family: var(--vn-font-display);
    font-size: min(1.51vw, 29px);
    font-weight: 500;
    line-height: 1.14;
    letter-spacing: 0.01em;
    color: #112880;
}

/* Flourish under the intro text (Gallery) */
.vn-hero-flourish-after-text .vn-hero__inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.vn-hero-flourish-after-text .vn-hero__inner > * { order: 1; }
.vn-hero-flourish-after-text.vn-hero-style-mask .vn-hero .vn-hero__text { margin-top: min(1.72vw, 33px); }
.vn-hero-flourish-after-text .vn-hero .vn-hero__flourish { order: 2; margin-top: min(0.85vw, 16px); }
.vn-hero-flourish-after-text .vn-hero__note,
.vn-hero-flourish-after-text .vn-hero__italic { order: 3; }

/* ── Solid style (Contact) ──
   Source: Rest of pages/Contact (1928 canvas): navy band 973px, centered white copy,
   white logo top-left, "Let's Start the" + script "Conversation" on one line. */

.vn-hero-style-solid .vn-hero { background-color: var(--vn-navy); color: var(--vn-white); }

.vn-hero-style-solid .vn-hero__frame { min-height: min(50.5vw, 973px); }

.vn-hero-style-solid .vn-hero__photo,
.vn-hero-style-solid .vn-hero__wash,
.vn-hero-style-solid .vn-hero__fade { display: none; }

.vn-hero-style-solid .vn-hero__copy {
    width: 100%;
    justify-content: flex-start;
    align-items: center;
    padding: min(19.8vw, 382px) 24px min(3.2vw, 61px);
    color: var(--vn-white);
    text-align: center;
}

.vn-hero-style-solid .vn-hero .vn-hero__logo {
    top: min(3.8vw, 73px);
    left: min(7.5vw, 145px);
    width: min(13.45vw, 259px);
}

.vn-hero-style-solid .vn-hero__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.vn-hero-style-solid .vn-hero .vn-hero__eyebrow {
    margin: 0 0 min(3.07vw, 59px);
    font-size: min(1.81vw, 34.84px);
    line-height: 1.263;
    letter-spacing: 0.13em;
    color: var(--vn-white);
}

.vn-hero-style-solid .vn-hero .vn-hero__heading {
    width: auto;
    margin: 0;
    font-size: min(5.07vw, 97.8px);
    font-weight: 500;
    line-height: 1.141;
    white-space: nowrap;
    color: var(--vn-white);
}

.vn-hero-style-solid .vn-hero__heading .vn-script {
    margin-left: min(10.7vw, 206px);
    padding: 0;
    font-size: 1.405em;
    line-height: 0.8;
    vertical-align: -0.08em;
}

.vn-hero-style-solid .vn-hero__flourish {
    display: block;
    width: min(calc(var(--vn-hero-flourish-w, 407) * 0.0521vw), calc(var(--vn-hero-flourish-w, 407) * 1px));
    margin: min(3vw, 58px) 0 0;
    padding: 0;
}

.vn-hero-style-solid .vn-hero__flourish img { width: 100%; }

.vn-hero-style-solid .vn-hero .vn-hero__text {
    width: auto;
    max-width: var(--vn-hero-text-max, min(61.3vw, 1182px));
    margin: min(3.75vw, 72px) 0 0;
    padding: 0;
    font-size: min(1.96vw, 37.8px);
    line-height: 1.286;
    color: var(--vn-white);
}

.vn-hero-style-solid .vn-hero__text strong { font-weight: 700; }

/* ── Tablet: copy on top, photo below ── */

@media (max-width: 1024px) {
    .vn-hero__frame,
    .vn-hero-style-panel .vn-hero__frame {
        flex-direction: column;
        min-height: 0;
    }

    .vn-hero__copy,
    .vn-hero-style-panel .vn-hero__copy {
        order: 1;
        width: 100%;
        padding: 36px 32px 40px;
        background-color: var(--vn-white);
    }

    .vn-hero__photo,
    .vn-hero-style-panel .vn-hero__photo {
        order: 2;
        position: relative;
        top: auto;
        width: 100%;
        aspect-ratio: 16 / 9;
    }

    .vn-hero__photo .vn-img-cover { object-position: var(--vn-img-x, 50%) var(--vn-img-y, 28%); }
    .vn-hero-style-panel .vn-hero__photo .vn-img-cover { object-position: var(--vn-img-x, 50%) var(--vn-img-y, 22%); }

    .vn-hero__wash,
    .vn-hero__fade { display: none; }

    .vn-hero .vn-hero__logo {
        position: static;
        width: clamp(96px, 13vw, 150px);
        margin: 0 0 20px;
    }

    .vn-hero-style-panel .vn-hero .vn-hero__logo { width: clamp(120px, 15vw, 180px); margin-bottom: 20px; }

    .vn-hero .vn-hero__heading {
        width: 100%;
        margin-top: 0;
        font-size: clamp(1.95rem, 4.6vw, 3rem);
        line-height: 1.2;
    }

    .vn-hero-style-panel .vn-hero .vn-hero__heading {
        width: 100%;
        font-size: clamp(2rem, 4.6vw, 3.1rem);
        line-height: 1.1;
    }

    .vn-hero-style-panel .vn-hero__script { font-size: clamp(1.7rem, 4.2vw, 2.8rem); }

    .vn-hero__flourish { width: min(100%, 440px); padding: 6px 0; }
    .vn-hero-style-panel .vn-hero__flourish { width: min(100%, 380px); margin: 14px 0; }

    .vn-hero .vn-hero__text {
        width: 100%;
        max-width: none;
        margin-top: 14px;
        padding-left: 0;
        font-size: clamp(1.05rem, 2.1vw, 1.4rem);
        line-height: 1.35;
    }

    .vn-hero-style-panel .vn-hero .vn-hero__text {
        width: 100%;
        max-width: none;
        margin-bottom: 24px;
        font-size: clamp(1.05rem, 2vw, 1.3rem);
    }

    .vn-hero .vn-hero__card { min-height: 0; max-width: 520px; border-radius: 14px; }

    /* Mask style — Business responsive rules */
    .vn-hero-style-mask .vn-hero__copy { width: 100%; padding: 36px 32px 40px; }
    .vn-hero-style-mask .vn-hero__photo { right: auto; width: 100%; }
    .vn-hero-style-mask .vn-hero__photo .vn-img-cover { object-position: var(--vn-img-x, 55%) var(--vn-img-y, 35%); }
    .vn-hero-style-mask .vn-hero .vn-hero__logo { width: clamp(120px, 15vw, 170px); margin: 0 0 22px; }
    .vn-hero-style-mask .vn-hero .vn-hero__eyebrow { margin: 0 0 10px; font-size: clamp(0.95rem, 2vw, 1.25rem); }
    .vn-hero-style-mask .vn-hero .vn-hero__heading { width: 100%; font-size: clamp(2.8rem, 8.4vw, 4.6rem); line-height: 1.08; }
    .vn-hero-style-mask .vn-hero__flourish { width: min(100%, 380px); margin: 18px 0 20px; }
    .vn-hero-style-mask .vn-hero .vn-hero__text { max-width: 46ch; margin-left: 0; font-size: clamp(1.05rem, 2.3vw, 1.4rem); line-height: 1.4; }
    .vn-hero-style-mask .vn-hero__note { --vn-hero-icon: 64px; margin: 18px 0 0; }
    .vn-hero-style-mask .vn-hero .vn-hero__note-text { max-width: 46ch; font-size: clamp(1.1rem, 2.4vw, 1.4rem); line-height: 1.35; }

    .vn-hero-title-large .vn-hero .vn-hero__heading { font-size: clamp(2.8rem, 8.4vw, 4.6rem); line-height: 1.08; }
    .vn-hero-title-xl .vn-hero .vn-hero__heading { font-size: clamp(3.6rem, 11vw, 6.25rem); line-height: 1.05; }
    .vn-hero .vn-hero__subtitle { margin: 6px 0 0; font-size: clamp(1.4rem, 3.6vw, 2rem); line-height: 1.25; }
    .vn-hero-style-mask .vn-hero .vn-hero__italic { margin: 14px 0 0; font-size: clamp(1.1rem, 2.4vw, 1.4rem); line-height: 1.35; }
    .vn-hero-flourish-after-text .vn-hero .vn-hero__flourish { margin-top: 20px; width: min(100%, 440px); }

    /* Solid: stacked and centered, logo in flow */
    .vn-hero-style-solid .vn-hero__frame { min-height: 0; }
    .vn-hero-style-solid .vn-hero__copy { padding: 36px 24px 48px; background-color: transparent; }
    .vn-hero-style-solid .vn-hero .vn-hero__logo { position: static; width: clamp(120px, 15vw, 170px); margin: 0 auto 28px; }
    .vn-hero-style-solid .vn-hero .vn-hero__eyebrow { margin-bottom: 18px; font-size: clamp(0.95rem, 2vw, 1.25rem); }
    .vn-hero-style-solid .vn-hero .vn-hero__heading { font-size: clamp(2.2rem, 6vw, 3.6rem); white-space: normal; }
    .vn-hero-style-solid .vn-hero__heading .vn-script { display: inline-block; margin-left: 0.25em; }
    .vn-hero-style-solid .vn-hero__flourish { width: min(100%, 320px); margin-top: 22px; }
    .vn-hero-style-solid .vn-hero .vn-hero__text { max-width: 46ch; margin-top: 24px; font-size: clamp(1.05rem, 2.3vw, 1.4rem); line-height: 1.4; }
}

@media (max-width: 767px) {
    .vn-hero__copy,
    .vn-hero-style-panel .vn-hero__copy { padding: 28px 20px 32px; }

    .vn-hero__photo,
    .vn-hero-style-panel .vn-hero__photo { aspect-ratio: 4 / 3; }

    .vn-hero .vn-hero__heading { font-size: clamp(1.75rem, 7.2vw, 2.4rem); }
    .vn-hero-style-panel .vn-hero .vn-hero__heading { font-size: clamp(1.85rem, 7.2vw, 2.5rem); }
    .vn-hero-style-panel .vn-hero__script { font-size: clamp(1.6rem, 6.6vw, 2.3rem); }

    .vn-hero__flourish { width: min(100%, 320px); }

    .vn-hero .vn-hero__text { font-size: 1.1rem; }
    .vn-hero-style-panel .vn-hero .vn-hero__text { font-size: 1.05rem; }

    .vn-hero .vn-hero__card { --vn-hero-icon: 44px; gap: 14px; padding: 16px 18px; }
    .vn-hero__card-num { font-size: 1.25rem; }
    .vn-hero__card-line { font-size: 0.95rem; }

    .vn-hero-style-mask .vn-hero__copy { padding: 28px 20px 32px; }
    .vn-hero-style-mask .vn-hero .vn-hero__heading { font-size: clamp(2.2rem, 10vw, 2.8rem); }
    .vn-hero-title-xl .vn-hero .vn-hero__heading { font-size: clamp(3.2rem, 14vw, 3.6rem); }
    .vn-hero-style-mask .vn-hero .vn-hero__text { font-size: 1.05rem; }
    .vn-hero-style-mask .vn-hero__note { --vn-hero-icon: 52px; }
}

@media (max-width: 480px) {
    .vn-hero .vn-hero__heading { font-size: clamp(1.45rem, 5.6vw, 1.72rem); line-height: 1.24; }
    /* Hard line breaks are tuned for the desktop column — let narrow phones reflow */
    .vn-hero-style-fade .vn-hero__heading br { display: none; }
    .vn-hero .vn-hero__text { font-size: 1.05rem; }

    .vn-hero-style-panel .vn-hero .vn-hero__heading { font-size: 1.8rem; }
    .vn-hero-style-panel .vn-hero__script { font-size: 1.55rem; }
    .vn-hero .vn-hero__card { flex-direction: column; align-items: flex-start; gap: 12px; }
}
