
/* ==========================================
   GARAWANI V2.11A
   PREMIUM ABOUT US EXPERIENCE
=========================================== */

.ab-main {
    --ab-forest: #10241c;
    --ab-dark: #0b1b13;
    --ab-gold: #ad8037;
    --ab-gold-light: #efc98b;
    --ab-ivory: #f8f3ec;
    --ab-paper: #fffdf9;
    --ab-text: #1b2a21;
    --ab-muted: #746d62;
    --ab-border: #e8ddca;
    color: var(--ab-text);
    overflow: hidden;
}

.ab-section {
    padding: 92px 0;
}

.ab-eyebrow {
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2.3px;
    color: var(--ab-gold);
}

.ab-eyebrow > span {
    width: 26px;
    height: 1px;
    background: currentColor;
}

.ab-centered {
    justify-content: center;
    text-align: center;
}

.ab-light {
    color: var(--ab-gold-light);
}

.ab-heading {
    font-family: var(--ct-serif);
    font-size: clamp(38px,4.3vw,65px);
    font-weight: 600;
    letter-spacing: -1.9px;
    line-height: 1.12;
    margin: 18px 0 23px;
}

.ab-heading em {
    color: var(--ab-gold);
    font-weight: 500;
    display: block;
}

.ab-section-heading {
    max-width: 730px;
    margin: 0 auto 45px;
    text-align: center;
}

.ab-section-heading p {
    color: var(--ab-muted);
    font-size: 14px;
    line-height: 1.9;
    margin-inline: auto;
    max-width: 570px;
}

.ab-text-link {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    color: var(--ab-gold);
    font-size: 13px;
    font-weight: 800;
    padding-bottom: 8px;
    border-bottom: 1px solid #bc914e;
    margin-top: 16px;
    transition: gap .2s ease;
}

.ab-text-link:hover {
    gap: 23px;
}

.ab-text-link svg {
    width: 19px;
    height: 19px;
}

/* HERO */

.ab-hero {
    min-height: 550px;
    position: relative;
    isolation: isolate;
    display: grid;
    place-items: center;
    background: var(--ab-forest);
    overflow: hidden;
    color: white;
    padding: 75px 0 120px;
}

.ab-hero-image,
.ab-hero-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.ab-hero-image {
    object-fit: cover;
    object-position: center 52%;
    z-index: -3;
}

.ab-hero-overlay {
    z-index: -2;
    background:
        linear-gradient(
            180deg,
            #06170c55,
            #06170c99 45%,
            #06170cd9
        );
}

.ab-hero-content {
    text-align: center;
}

.ab-hero-content .ab-eyebrow {
    justify-content: center;
}

.ab-hero h1 {
    font-family: var(--ct-serif);
    font-size: clamp(52px,6vw,98px);
    line-height: 1.07;
    font-weight: 600;
    letter-spacing: -3px;
    margin: 24px 0;
}

.ab-hero h1 em {
    display: block;
    color: var(--ab-gold-light);
    font-weight: 500;
}

.ab-hero p {
    max-width: 590px;
    margin: 0 auto;
    color: #f0f5eb;
    font-size: 15px;
    line-height: 1.9;
}

.ab-hero-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 29px;
}

.ab-button-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 49px;
    padding: 13px 25px;
    border: 1px solid #ffffff90;
    border-radius: 100px;
    font-weight: 700;
    font-size: 12px;
    color: #fff;
    backdrop-filter: blur(5px);
    transition: background .25s ease;
}

.ab-button-outline:hover {
    background: #ffffff20;
}

.ab-breadcrumb {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 27px;
    color: #f8f1e7;
    font-size: 11px;
}

.ab-breadcrumb a {
    color: var(--ab-gold-light);
}

.ab-hero-coordinate {
    position: absolute;
    right: 38px;
    bottom: 70px;
    display: flex;
    align-items: center;
    gap: 9px;
    color: #fffaef;
    font-size: 9px;
    letter-spacing: 2px;
}

.ab-hero-coordinate svg {
    width: 19px;
    height: 19px;
    color: var(--ab-gold-light);
}

/* PROPERTY HIGHLIGHTS */

.ab-highlights {
    position: relative;
    z-index: 4;
    margin-top: -43px;
}

.ab-highlights-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    padding: 24px 10px;
    background: var(--ab-paper);
    border: 1px solid var(--ab-border);
    border-radius: 17px;
    box-shadow: 0 12px 40px #51391717;
}

.ab-highlight {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 17px;
    padding: 14px;
    border-right: 1px solid var(--ab-border);
}

.ab-highlight:last-child {
    border: 0;
}

.ab-highlight > svg {
    width: 35px;
    height: 35px;
    color: var(--ab-gold);
}

.ab-highlight strong {
    display: block;
    font-family: var(--ct-serif);
    font-size: clamp(19px,2vw,28px);
    font-weight: 600;
    line-height: 1.2;
}

.ab-highlight span {
    display: block;
    margin-top: 7px;
    font-size: 11px;
    color: var(--ab-muted);
}

/* STORY */

.ab-story-layout {
    display: grid;
    grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr);
    gap: clamp(40px,6vw,95px);
    align-items: center;
}

.ab-story-visual {
    position: relative;
    min-height: 530px;
    padding: 0 55px 75px 0;
}

.ab-story-main-photo {
    width: 100%;
    height: 455px;
    overflow: hidden;
    border-radius: 130px 18px 18px 18px;
}

.ab-story-main-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ab-story-small-photo {
    width: 58%;
    position: absolute;
    right: 0;
    bottom: 0;
    border: 7px solid var(--ab-ivory);
    border-radius: 17px;
    overflow: hidden;
    box-shadow: 0 13px 30px #17291b25;
}

.ab-story-small-photo img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.ab-story-stamp {
    position: absolute;
    top: 25px;
    right: 5px;
    width: 119px;
    height: 119px;
    border-radius: 50%;
    background: var(--ab-forest);
    color: #fff;
    border: 5px solid var(--ab-ivory);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.ab-story-stamp svg {
    color: var(--ab-gold-light);
    width: 24px;
    height: 24px;
}

.ab-story-stamp strong {
    font-family: var(--ct-serif);
    font-style: italic;
    font-size: 23px;
    font-weight: 500;
}

.ab-story-stamp span {
    font-size: 7px;
    letter-spacing: 2px;
    color: var(--ab-gold-light);
}

.ab-story-copy > p,
.ab-why-copy > p,
.ab-location-copy > p {
    font-size: 14px;
    line-height: 1.95;
    color: var(--ab-muted);
}

.ab-story-copy .ab-lead {
    color: var(--ab-text);
    font-weight: 600;
    font-size: 16px;
    line-height: 1.8;
}

.ab-story-quote {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 19px 20px;
    margin-top: 24px;
    background: #f2e8d8;
    border-left: 3px solid var(--ab-gold);
    border-radius: 0 10px 10px 0;
}

.ab-story-quote > span {
    font-family: Georgia,serif;
    font-size: 60px;
    line-height: .95;
    color: var(--ab-gold);
}

.ab-story-quote p {
    font-family: var(--ct-serif);
    font-size: 17px;
    font-style: italic;
    line-height: 1.7;
    margin: 0;
}

/* MISSION AND VISION */

.ab-purpose {
    background: #fffaf3;
    border-block: 1px solid var(--ab-border);
}

.ab-purpose-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 24px;
}

.ab-purpose-card {
    position: relative;
    overflow: hidden;
    padding: clamp(28px,4.5vw,55px);
    border: 1px solid var(--ab-border);
    border-radius: 18px;
    background: var(--ab-paper);
    box-shadow: 0 10px 30px #4b32170a;
}

.ab-purpose-number {
    position: absolute;
    right: 24px;
    top: 3px;
    font-family: var(--ct-serif);
    font-size: 115px;
    font-weight: 600;
    color: #ab803710;
    pointer-events: none;
}

.ab-icon-box {
    display: grid;
    place-items: center;
    width: 65px;
    height: 65px;
    border-radius: 16px;
    background: #f4e9d7;
    color: var(--ab-gold);
    margin-bottom: 26px;
}

.ab-icon-box svg {
    width: 32px;
    height: 32px;
}

.ab-purpose-card h3 {
    font-family: var(--ct-serif);
    font-size: 34px;
    font-weight: 600;
    margin: 14px 0;
}

.ab-purpose-card p {
    font-size: 14px;
    line-height: 1.9;
    color: var(--ab-muted);
    max-width: 490px;
}

/* CORE VALUES */

.ab-values {
    background:
        radial-gradient(
            ellipse at 95% 0%,
            #34543b70,
            transparent 55%
        ),
        var(--ab-forest);
    color: #fff;
}

.ab-values .ab-heading em {
    color: var(--ab-gold-light);
}

.ab-values .ab-section-heading p {
    color: #ccd8cd;
}

.ab-values-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 16px;
}

.ab-value-card {
    position: relative;
    padding: 27px;
    border: 1px solid #ffffff22;
    background: #ffffff06;
    border-radius: 15px;
    transition: background .25s,border .25s;
}

.ab-value-card:hover {
    background: #ffffff0f;
    border-color: #e4c18566;
}

.ab-value-card > svg {
    width: 37px;
    height: 37px;
    color: var(--ab-gold-light);
}

.ab-value-card > span {
    position: absolute;
    top: 28px;
    right: 25px;
    color: #e5c28b90;
    font-size: 11px;
    letter-spacing: 2px;
}

.ab-value-card h3 {
    font-family: var(--ct-serif);
    font-size: 23px;
    line-height: 1.3;
    font-weight: 500;
    margin: 25px 0 14px;
}

.ab-value-card p {
    color: #c3d0c4;
    font-size: 12px;
    line-height: 1.85;
    margin: 0;
}

/* EXPERIENCE PHOTO GRID */

.ab-experience-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 22px;
}

.ab-experience-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-radius: 17px;
    min-height: 365px;
    background: var(--ab-forest);
    color: #fff;
    display: flex;
    align-items: flex-end;
}

.ab-experience-card > img,
.ab-experience-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    inset: 0;
}

.ab-experience-card > img {
    object-fit: cover;
    z-index: -3;
    transition: transform .7s ease;
}

.ab-experience-card:hover > img {
    transform: scale(1.05);
}

.ab-experience-overlay {
    z-index: -2;
    background: linear-gradient(
        180deg,
        transparent 20%,
        #07170d22 40%,
        #07170deb 100%
    );
}

.ab-experience-copy {
    padding: 32px;
    max-width: 450px;
}

.ab-experience-copy > span {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: var(--ab-gold-light);
}

.ab-experience-copy h3 {
    font-family: var(--ct-serif);
    font-size: clamp(25px,2.8vw,36px);
    font-weight: 500;
    margin: 13px 0;
    line-height: 1.2;
}

.ab-experience-copy p {
    font-size: 12px;
    line-height: 1.75;
    color: #e4e9df;
    margin: 0;
}

.ab-centered-action {
    display: flex;
    justify-content: center;
    margin-top: 33px;
}

/* WHY CHOOSE */

.ab-why {
    background: #fffaf3;
    border-top: 1px solid var(--ab-border);
}

.ab-why-layout {
    display: grid;
    grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr);
    gap: clamp(30px,6vw,90px);
    align-items: center;
}

.ab-why-image {
    position: relative;
    min-height: 540px;
}

.ab-why-image > img {
    width: 100%;
    height: 540px;
    border-radius: 18px 18px 115px 18px;
    object-fit: cover;
}

.ab-why-caption {
    position: absolute;
    left: 23px;
    bottom: 24px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border-radius: 12px;
    background: #fffdf8ee;
    box-shadow: 0 5px 25px #00000018;
    backdrop-filter: blur(10px);
}

.ab-why-caption svg {
    width: 30px;
    height: 30px;
    color: var(--ab-gold);
}

.ab-why-caption strong {
    display: block;
    font-family: var(--ct-serif);
    font-weight: 600;
    font-size: 17px;
}

.ab-why-caption span {
    display: block;
    margin-top: 5px;
    font-size: 11px;
    color: var(--ab-muted);
}

.ab-benefits {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin: 28px 0;
}

.ab-benefits article {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.ab-check {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    background: #f3e8d5;
    color: var(--ab-gold);
    font-size: 16px;
    border: 1px solid #e2cca9;
    border-radius: 50%;
}

.ab-benefits h3 {
    margin: 0 0 5px;
    font-size: 14px;
    font-weight: 800;
}

.ab-benefits p {
    margin: 0;
    color: var(--ab-muted);
    font-size: 12px;
    line-height: 1.8;
}

/* FUTURE EXPANSION */

.ab-future {
    background:
        radial-gradient(
            ellipse at 90% 10%,
            #6e6c2c3b,
            transparent 65%
        ),
        #132a1e;
    color: #fff;
}

.ab-future-layout {
    display: grid;
    grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr);
    gap: 70px;
    align-items: center;
}

.ab-future .ab-heading em {
    color: var(--ab-gold-light);
}

.ab-future-copy > p {
    max-width: 600px;
    color: #d0dbce;
    font-size: 14px;
    line-height: 1.95;
}

.ab-future-copy .ct-button {
    margin-top: 15px;
}

.ab-future-date {
    min-height: 320px;
    border: 1px solid #ebc78b55;
    background: #ffffff06;
    border-radius: 18px;
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    gap: 10px;
}

.ab-future-date svg {
    width: 37px;
    height: 37px;
    color: var(--ab-gold-light);
}

.ab-future-date > span {
    font-size: 10px;
    letter-spacing: 2px;
    color: #ebc78b;
    font-weight: 700;
}

.ab-future-date strong {
    font-family: var(--ct-serif);
    font-size: 56px;
    font-style: italic;
    font-weight: 500;
    line-height: 1;
    margin-top: 7px;
}

.ab-future-date > b {
    font-family: var(--ct-serif);
    font-size: 81px;
    font-weight: 500;
    color: var(--ab-gold-light);
    line-height: 1.1;
}

.ab-future-date small {
    font-size: 10px;
    line-height: 1.7;
    color: #c2cfbf;
    max-width: 250px;
}

/* DISCOVER MICHAMVI */

.ab-location-layout {
    display: grid;
    grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr);
    gap: clamp(35px,6vw,80px);
    align-items: center;
}

.ab-location-image {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
}

.ab-location-image > img {
    width: 100%;
    min-height: 390px;
    max-height: 470px;
    object-fit: cover;
}

.ab-location-image-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(
        transparent,
        #07170dbb
    );
    color: #f5d59e;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    display: flex;
    gap: 11px;
    align-items: center;
}

.ab-location-address {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 28px 0;
}

.ab-location-address > svg {
    width: 42px;
    height: 42px;
    padding: 9px;
    border-radius: 10px;
    color: var(--ab-gold);
    background: #f1e5d1;
}

.ab-location-address strong {
    display: block;
    font-size: 14px;
}

.ab-location-address span {
    display: block;
    font-size: 12px;
    color: var(--ab-muted);
    margin-top: 6px;
}

/* FINAL CTA */

.ab-final-cta {
    position: relative;
    isolation: isolate;
    min-height: 420px;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 65px 0;
    color: #fff;
    background: var(--ab-forest);
}

.ab-final-cta > img,
.ab-final-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.ab-final-cta > img {
    object-fit: cover;
    z-index: -3;
}

.ab-final-overlay {
    z-index: -2;
    background: linear-gradient(
        90deg,
        #081b11dc,
        #081b11a8,
        #081b11dc
    );
}

.ab-final-content h2 {
    font-family: var(--ct-serif);
    font-size: clamp(42px,5.5vw,75px);
    font-weight: 600;
    letter-spacing: -2px;
    line-height: 1.1;
    margin: 20px 0;
}

.ab-final-content h2 em {
    display: block;
    font-weight: 500;
    color: var(--ab-gold-light);
}

.ab-final-content p {
    max-width: 580px;
    margin-inline: auto;
    color: #dfe8dc;
    font-size: 14px;
    line-height: 1.9;
}

/* REVEAL ANIMATIONS — PROGRESSIVE ENHANCEMENT */

.ab-reveal {
    opacity: 1;
    transform: none;
}

.ab-reveal.ab-animate {
    opacity: 0;
    transform: translateY(22px);
    transition:
        opacity .65s ease,
        transform .65s ease;
}

.ab-reveal.ab-visible {
    opacity: 1;
    transform: none;
}

/* TABLET */

@media(max-width:1100px) {

    .ab-section {
        padding: 65px 0;
    }

    .ab-highlights-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
        padding: 10px;
    }

    .ab-highlight {
        justify-content: flex-start;
        padding: 22px;
    }

    .ab-highlight:nth-child(2) {
        border-right: 0;
    }

    .ab-highlight:nth-child(-n+2) {
        border-bottom: 1px solid var(--ab-border);
    }

    .ab-values-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .ab-story-visual {
        min-height: 450px;
        padding-right: 35px;
    }

    .ab-story-main-photo {
        height: 385px;
        border-top-left-radius: 75px;
    }

    .ab-story-stamp {
        width: 100px;
        height: 100px;
    }

    .ab-future-layout {
        gap: 30px;
    }

}

/* MOBILE */

@media(max-width:767px) {

    .ab-section {
        padding: 48px 0;
    }

    .ab-hero {
        min-height: 440px;
        padding: 50px 0 85px;
    }

    .ab-hero h1 {
        font-size: clamp(43px,10vw,65px);
        letter-spacing: -1.4px;
        margin: 20px 0;
    }

    .ab-hero p {
        font-size: 13px;
    }

    .ab-eyebrow {
        font-size: 9px;
        letter-spacing: 1.45px;
        gap: 8px;
    }

    .ab-eyebrow > span {
        width: 17px;
    }

    .ab-heading {
        font-size: clamp(34px,9vw,46px);
        letter-spacing: -.8px;
    }

    .ab-section-heading {
        margin-bottom: 28px;
    }

    .ab-section-heading p {
        font-size: 13px;
    }

    .ab-hero-actions {
        gap: 10px;
    }

    .ab-hero-actions > a {
        font-size: 11px;
        padding-inline: 16px;
        min-height: 46px;
    }

    .ab-hero-coordinate {
        display: none;
    }

    .ab-highlights {
        margin-top: -30px;
    }

    .ab-highlights-grid {
        padding: 5px;
        border-radius: 13px;
    }

    .ab-highlight {
        gap: 9px;
        padding: 17px 10px;
    }

    .ab-highlight > svg {
        width: 25px;
        height: 25px;
    }

    .ab-highlight strong {
        font-size: clamp(17px,4.5vw,23px);
    }

    .ab-highlight span {
        font-size: 9px;
        margin-top: 5px;
    }

    .ab-story-layout,
    .ab-purpose-grid,
    .ab-why-layout,
    .ab-future-layout,
    .ab-location-layout {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .ab-story-visual {
        min-height: 340px;
        padding: 0 27px 57px 0;
    }

    .ab-story-main-photo {
        height: 290px;
        border-radius: 65px 13px 13px 13px;
    }

    .ab-story-small-photo {
        width: 54%;
        border-width: 5px;
        border-radius: 12px;
    }

    .ab-story-stamp {
        width: 92px;
        height: 92px;
        right: 0;
        top: 16px;
    }

    .ab-story-stamp strong {
        font-size: 19px;
    }

    .ab-story-stamp span {
        font-size: 6px;
    }

    .ab-story-stamp svg {
        width: 20px;
        height: 20px;
    }

    .ab-story-copy > p,
    .ab-why-copy > p,
    .ab-location-copy > p {
        font-size: 13px;
    }

    .ab-story-copy .ab-lead {
        font-size: 15px;
    }

    .ab-purpose-card {
        padding: 27px;
        border-radius: 15px;
    }

    .ab-purpose-card h3 {
        font-size: 29px;
    }

    .ab-purpose-card p {
        font-size: 13px;
    }

    .ab-values-grid {
        gap: 11px;
    }

    .ab-value-card {
        padding: 20px 15px;
        border-radius: 12px;
    }

    .ab-value-card h3 {
        font-size: 20px;
        margin-top: 19px;
    }

    .ab-value-card p {
        font-size: 11px;
    }

    .ab-value-card > svg {
        width: 29px;
        height: 29px;
    }

    .ab-value-card > span {
        top: 20px;
        right: 15px;
    }

    .ab-experience-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .ab-experience-card {
        min-height: 295px;
        border-radius: 14px;
    }

    .ab-experience-copy {
        padding: 23px;
    }

    .ab-experience-copy h3 {
        font-size: 28px;
    }

    .ab-why-image {
        min-height: 340px;
    }

    .ab-why-image > img {
        height: 340px;
        border-bottom-right-radius: 65px;
    }

    .ab-why-caption {
        left: 15px;
        bottom: 17px;
        padding: 15px;
    }

    .ab-benefits {
        gap: 17px;
    }

    .ab-future-copy > p {
        font-size: 13px;
    }

    .ab-future-date {
        min-height: 260px;
        padding: 24px;
    }

    .ab-future-date strong {
        font-size: 44px;
    }

    .ab-future-date > b {
        font-size: 65px;
    }

    .ab-location-image > img {
        min-height: 280px;
        max-height: 350px;
    }

    .ab-final-cta {
        min-height: 370px;
        padding: 45px 0;
    }

    .ab-final-content h2 {
        font-size: clamp(39px,10vw,55px);
        letter-spacing: -1px;
    }

    .ab-final-content p {
        font-size: 13px;
    }

}

@media(max-width:350px) {

    .ab-values-grid {
        grid-template-columns: 1fr;
    }

    .ab-highlight {
        flex-direction: column;
        align-items: flex-start;
    }

}

@media(prefers-reduced-motion:reduce) {

    .ab-reveal.ab-animate {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .ab-experience-card:hover > img {
        transform: none;
    }

}


/* ==================================================
   GARAWANI V2.11B
   ABOUT STORY IMAGE COMPOSITION REPAIR
================================================== */

.ab-story {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.ab-story-layout {
    align-items: center;
}

.ab-story-visual {
    position: relative !important;
    isolation: isolate;
    width: 100%;
    min-width: 0;
    min-height: 0 !important;
    height: auto !important;
    aspect-ratio: 1.08 / 1;
    padding: 0 !important;
}

/* Large property photograph */

.ab-story-main-photo {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 89% !important;
    height: 85% !important;
    overflow: hidden;
    border-radius: 110px 18px 18px 18px;
    z-index: 1;
    background: #eee6da;
}

.ab-story-main-photo > img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: 100% !important;
    object-fit: cover !important;
    object-position: center;
}

/* Bedroom photograph: controlled landscape card */

.ab-story-small-photo {
    position: absolute !important;
    top: auto !important;
    left: auto !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 59% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 3 / 2 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 7px solid #f8f3ec;
    border-radius: 16px;
    z-index: 2;
    background: #eee6da;
    box-shadow: 0 14px 35px #17291b26;
}

.ab-story-small-photo > img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: 100% !important;
    aspect-ratio: 3 / 2 !important;
    object-fit: cover !important;
    object-position: center;
}

/* Decorative coastal living badge */

.ab-story-stamp {
    position: absolute !important;
    top: 22px !important;
    right: 0 !important;
    bottom: auto !important;
    left: auto !important;
    z-index: 3;
}

.ab-story-copy {
    position: relative;
    min-width: 0;
}

/* Keep hero and highlights above their own backgrounds */

.ab-hero {
    isolation: isolate;
    overflow: hidden;
}

.ab-highlights {
    position: relative;
    z-index: 5;
}

.ab-highlights-grid {
    position: relative;
}

/* Prevent additional image distortion */

.ab-experience-card > img,
.ab-final-cta > img,
.ab-hero-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.ab-why-image > img {
    width: 100% !important;
    height: 540px !important;
    object-fit: cover !important;
}

.ab-location-image > img {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 4 / 3;
    object-fit: cover !important;
}

/* Tablet */

@media (min-width:768px) and (max-width:1100px) {

    .ab-story-visual {
        aspect-ratio: 1 / 1.08;
    }

    .ab-story-main-photo {
        border-top-left-radius: 75px;
    }

}

/* Mobile */

@media (max-width:767px) {

    .ab-story-visual {
        width: 100%;
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: 1.15 / 1;
        margin-bottom: 8px;
    }

    .ab-story-main-photo {
        width: 88% !important;
        height: 85% !important;
        border-radius: 55px 13px 13px 13px;
    }

    .ab-story-small-photo {
        width: 59% !important;
        height: auto !important;
        aspect-ratio: 3 / 2 !important;
        border-width: 5px;
        border-radius: 12px;
    }

    .ab-story-stamp {
        width: 86px;
        height: 86px;
        top: 12px !important;
        right: 0 !important;
    }

    .ab-story-layout {
        gap: 24px;
    }

    .ab-why-image {
        min-height: 0 !important;
    }

    .ab-why-image > img {
        height: 340px !important;
    }

    .ab-location-image > img {
        aspect-ratio: 4 / 3;
    }

}

