:root {
    --ba-accent: #BFDDDB;
    --ba-ink: #111111;
    --ba-muted: #626765;
    --ba-paper: #ffffff;
    --ba-soft: #f4f8f7;
    --ba-line: #dfe7e5;
    --ba-display: "Telegraf", "Helvetica Neue", Helvetica, Arial, sans-serif;
    --ba-body: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.ba-cranford-landing {
    margin: 0 !important;
    background: var(--ba-paper);
    color: var(--ba-ink);
    font-family: var(--ba-body);
    line-height: 1.55;
}

.ba-cranford-landing img { max-width: 100%; }

.ba-property { overflow: hidden; }

.ba-property__topbar {
    align-items: center;
    background: rgba(255, 255, 255, 0.96);
    display: flex;
    height: 82px;
    justify-content: flex-end;
    padding: 14px clamp(22px, 5vw, 76px);
    position: relative;
    z-index: 5;
}

.ba-button {
    align-items: center;
    background: var(--ba-accent);
    border: 0;
    color: var(--ba-ink);
    cursor: pointer;
    display: inline-flex;
    font-size: 13px;
    font-weight: 700;
    justify-content: center;
    letter-spacing: 0.08em;
    min-height: 52px;
    padding: 14px 24px;
    text-decoration: none;
    text-transform: uppercase;
    transition: transform 180ms ease, background 180ms ease;
}

.ba-button:hover,
.ba-button:focus-visible { background: #a9cecb; transform: translateY(-2px); }

.ba-button--small { min-height: 44px; padding: 10px 20px; }
.ba-button--dark { background: var(--ba-ink); color: #fff; width: 100%; }
.ba-button--dark:hover,
.ba-button--dark:focus-visible { background: #2b2b2b; }
.ba-button--outline { background: transparent; border: 1px solid var(--ba-ink); }
.ba-button--outline:hover,
.ba-button--outline:focus-visible { background: var(--ba-ink); color: #fff; }

.ba-hero {
    min-height: min(720px, 100vh);
    position: relative;
}

.ba-hero__question {
    position: absolute;
    right: clamp(18px, 5vw, 76px);
    top: clamp(18px, 3vw, 42px);
    z-index: 3;
}

.ba-hero__image {
    height: 100%;
    inset: 0;
    object-fit: cover;
    object-position: center 48%;
    position: absolute;
    width: 100%;
}

.ba-hero__shade {
    background: linear-gradient(90deg, rgba(0,0,0,.68) 0%, rgba(0,0,0,.25) 48%, rgba(0,0,0,.05) 78%), linear-gradient(0deg, rgba(0,0,0,.35), transparent 52%);
    inset: 0;
    position: absolute;
}

.ba-hero__content {
    bottom: clamp(65px, 9vw, 120px);
    color: #fff;
    left: clamp(24px, 8vw, 120px);
    max-width: 840px;
    position: absolute;
    right: 24px;
    z-index: 2;
}

.ba-eyebrow {
    color: var(--ba-ink);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .18em;
    margin: 0 0 22px;
    text-transform: uppercase;
}

.ba-eyebrow::after {
    background: var(--ba-ink);
    content: "";
    display: inline-block;
    height: 3px;
    margin-left: 14px;
    vertical-align: middle;
    width: 44px;
}

.ba-eyebrow--light { color: #fff; }
.ba-hero .ba-eyebrow::after, .ba-floorplans .ba-eyebrow::after { background: #fff; }

/* Ensure site-wide WordPress styles cannot tint the small headings. */
body.ba-cranford-landing .ba-property .ba-eyebrow,
body.ba-cranford-landing .ba-property .ba-feature-band span,
body.ba-cranford-landing .ba-property .ba-details__grid dt,
body.ba-cranford-landing .ba-property .ba-floorplans figcaption { color: #111 !important; }
body.ba-cranford-landing .ba-property .ba-hero .ba-eyebrow,
body.ba-cranford-landing .ba-property .ba-floorplans .ba-eyebrow { color: #fff !important; }


.ba-hero h1,
.ba-section h2,
.ba-details h2,
.ba-contact h2 {
    font-family: var(--ba-display);
    font-weight: 500;
    letter-spacing: -.045em;
    line-height: .98;
    margin: 0;
}

.ba-hero h1 { font-size: clamp(48px, 7.5vw, 112px); max-width: 900px; }
.ba-hero__price { font-size: clamp(23px, 2.5vw, 36px); font-weight: 300; margin: 28px 0 0; }

.ba-stats {
    background: var(--ba-paper);
    box-shadow: 0 14px 45px rgba(0, 0, 0, .11);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: -48px auto 0;
    max-width: 1120px;
    position: relative;
    width: calc(100% - 48px);
    z-index: 4;
}

.ba-stats div { padding: 30px 24px; text-align: center; }
.ba-stats div + div { border-left: 1px solid var(--ba-line); }
.ba-stats strong { display: block; font-size: clamp(25px, 3vw, 38px); font-weight: 500; line-height: 1; }
.ba-stats span { color: var(--ba-muted); display: block; font-size: 12px; letter-spacing: .1em; margin-top: 9px; text-transform: uppercase; }

.ba-section {
    margin: 0 auto;
    max-width: 1240px;
    width: 100%;
    padding: clamp(88px, 11vw, 150px) clamp(24px, 5vw, 72px);
}

.ba-intro { display: grid; gap: clamp(40px, 7vw, 110px); grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
.ba-intro .ba-eyebrow { margin-bottom: clamp(34px, 4vw, 54px); }
.ba-section h2,
.ba-details h2,
.ba-contact h2 { font-size: clamp(42px, 5.4vw, 76px); }
.ba-intro__copy { align-self: end; color: #353a38; font-size: clamp(17px, 1.5vw, 21px); }
.ba-intro__copy p { margin: 0 0 1.25em; }

.ba-feature-band {
    background: var(--ba-accent);
    display: grid;
    gap: 1px;
    grid-template-columns: repeat(3, 1fr);
    padding: 0 clamp(24px, 5vw, 72px);
}

.ba-feature-band > div { padding: clamp(46px, 6vw, 82px) clamp(20px, 4vw, 58px); }
.ba-feature-band > div + div { border-left: 1px solid rgba(17,17,17,.18); }
.ba-feature-band span { font-size: 12px; font-weight: 700; letter-spacing: .14em; }
.ba-feature-band h3 { font-size: clamp(25px, 2.5vw, 36px); font-weight: 500; letter-spacing: -.03em; margin: 34px 0 14px; }
.ba-feature-band p { margin: 0; max-width: 380px; }

.ba-section-heading { margin-bottom: clamp(42px, 6vw, 76px); max-width: 770px; }
.ba-section-heading > p:last-child { color: var(--ba-muted); font-size: 17px; margin: 24px 0 0; }

.ba-gallery {
    display: grid;
    gap: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ba-gallery__item {
    aspect-ratio: 3 / 2;
    background: #edf1f0;
    border: 0;
    cursor: zoom-in;
    display: block;
    overflow: hidden;
    padding: 0;
}

.ba-gallery__item img { height: 100%; object-fit: cover; transition: transform 450ms ease; width: 100%; }
.ba-gallery__item:hover img,
.ba-gallery__item:focus-visible img { transform: scale(1.035); }

.ba-floorplans {
    background: var(--ba-ink);
    color: #fff;
    padding: clamp(88px, 11vw, 150px) max(24px, calc((100vw - 1240px) / 2));
}
.ba-floorplans .ba-eyebrow { color: #fff; }
.ba-floorplans h2 { font-family: var(--ba-display); font-size: clamp(42px, 5.4vw, 76px); font-weight: 500; letter-spacing: -.045em; line-height: .98; margin: 0; }
.ba-floorplans__heading { align-items: end; display: flex; gap: 35px; justify-content: space-between; margin-bottom: clamp(48px, 7vw, 82px); }
.ba-floorplans__heading > div { max-width: 780px; }
.ba-floorplans .ba-button--outline { border-color: #fff; color: #fff; flex: 0 0 auto; }
.ba-floorplans .ba-button--outline:hover,
.ba-floorplans .ba-button--outline:focus-visible { background: #fff; color: var(--ba-ink); }
.ba-floorplans__grid { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ba-floorplans figure { background: #fff; color: var(--ba-ink); margin: 0; padding: 14px; }
.ba-floorplans figure img { display: block; width: 100%; }
.ba-floorplans figcaption { border-top: 1px solid var(--ba-line); font-size: 12px; font-weight: 700; letter-spacing: .12em; padding: 15px 5px 5px; text-transform: uppercase; }
.ba-floorplans__note { color: #aeb5b3; font-size: 11px; margin: 22px 0 0; }

.ba-details {
    background: var(--ba-soft);
    display: grid;
    gap: clamp(45px, 8vw, 120px);
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    padding: clamp(88px, 11vw, 150px) max(24px, calc((100vw - 1100px) / 2));
}

.ba-details__intro > p:last-child { color: var(--ba-muted); font-size: 18px; margin: 28px 0 0; max-width: 440px; }
.ba-details__download { margin-top: 30px; }
.ba-details__grid { display: grid; grid-template-columns: repeat(2, 1fr); margin: 0; }
.ba-details__grid div { border-top: 1px solid #cbd6d4; padding: 22px 12px 22px 0; }
.ba-details__grid div:nth-last-child(-n+2) { border-bottom: 1px solid #cbd6d4; }
.ba-details__grid dt { color: var(--ba-muted); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.ba-details__grid dd { font-size: 17px; margin: 7px 0 0; }

.ba-community-band { background: linear-gradient(#ffffff 0%, rgba(191, 221, 219, .16) 100%); width: 100%; }
/* The main theme also defines .ba-section; lock the landing-page geometry to the intro. */
body.ba-cranford-landing .ba-property .ba-section {
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
    max-width: 1240px;
    width: 100%;
    padding-left: clamp(24px, 5vw, 72px);
    padding-right: clamp(24px, 5vw, 72px);
}
.ba-community { align-items: center; display: grid; gap: clamp(40px, 7vw, 110px); grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
.ba-community__copy { min-width: 0; }
.ba-community__copy h2 { max-width: none; }
.ba-gallery-section { width: 100%; }
.ba-gallery-section .ba-section-heading { max-width: none; width: 100%; }
.ba-gallery-section .ba-gallery { width: 100%; }
.ba-community__copy > p:last-child { color: #353a38; font-size: 18px; margin: 30px 0 0; }
.ba-community__quote { align-items: center; background: var(--ba-ink); color: #fff; display: flex; justify-content: center; min-height: 320px; min-width: 0; padding: clamp(32px, 5vw, 64px); }
.ba-community__quote p { font-family: var(--ba-display); font-size: clamp(34px, 4.5vw, 62px); letter-spacing: -.04em; line-height: 1.02; margin: 0; }

.ba-contact {
    background: var(--ba-accent);
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 760px;
}

.ba-contact__agent { padding: clamp(70px, 9vw, 130px) clamp(28px, 7vw, 100px); }
.ba-contact__photo-wrap { float: right; height: 270px; margin: 0 0 32px 36px; overflow: hidden; width: 205px; }
.ba-contact__photo { display: block; height: 100%; object-fit: cover; object-position: center 25%; width: 100%; }
.ba-contact__agent > p:not(.ba-eyebrow):not(.ba-contact__identity) { font-size: 18px; margin: 28px 0; max-width: 590px; }
.ba-contact__direct { display: flex; flex-direction: column; gap: 4px; margin: 32px 0; }
.ba-contact__direct a { color: var(--ba-ink); font-size: 18px; font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.ba-contact__identity { font-size: 14px; margin-top: 38px; }
.ba-contact__name { font-family: var(--ba-display); font-size: clamp(24px, 3vw, 38px); font-weight: 500; letter-spacing: -.03em; margin: 22px 0 0; }

.ba-contact__form-wrap { align-items: center; background: #fff; border-bottom: 0 !important; box-shadow: none !important; display: flex; flex-direction: column; justify-content: center; padding: clamp(60px, 8vw, 115px) clamp(28px, 7vw, 95px); }
.ba-form { max-width: 610px; width: 100%; }
.ba-form__row { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
.ba-form label { color: #333; display: block; font-size: 11px; font-weight: 700; letter-spacing: .1em; margin-bottom: 22px; text-transform: uppercase; }
.ba-form label span { color: #7a8f8d; margin-left: 3px; }
.ba-form input,
.ba-form textarea {
    background: #fff;
    border: 1px solid #bfc8c6;
    border-radius: 0;
    color: var(--ba-ink);
    display: block;
    font: 400 16px/1.45 var(--ba-body);
    margin-top: 8px;
    min-height: 54px;
    padding: 14px 15px;
    text-transform: none;
    width: 100%;
}
.ba-form textarea { min-height: 142px; resize: vertical; }
.ba-form input:focus,
.ba-form textarea:focus { border-color: #6d9592; box-shadow: 0 0 0 3px rgba(191,221,219,.65); outline: 0; }
.ba-form__privacy { color: var(--ba-muted); font-size: 12px; margin: 14px 0 0; text-align: center; }
.ba-form__trap { height: 0; left: -9999px; overflow: hidden; position: absolute; width: 0; }
.ba-form-message { margin: 0 auto 25px; max-width: 610px; padding: 15px 18px; width: 100%; }
.ba-form-message--success { background: #e4f4ec; border-left: 4px solid #3b8b63; }
.ba-form-message--error { background: #fbebeb; border-left: 4px solid #a64343; }

.ba-property__footer {
    align-items: center;
    background: #111;
    color: #fff;
    display: grid;
    gap: 45px;
    grid-template-columns: auto 1fr;
    padding: 44px clamp(24px, 5vw, 72px);
}

.ba-listing-credit { align-items: center; display: flex; gap: 22px; min-width: 390px; }
.ba-listing-credit img { border-radius: 50%; flex: 0 0 96px; height: 96px; object-fit: cover; width: 96px; }
.ba-listing-credit > div { display: flex; flex-direction: column; justify-content: center; min-height: 96px; }
.ba-listing-credit span { color: #aeb5b3; display: block; font-size: 11px; font-weight: 700; letter-spacing: .16em; line-height: 1.2; margin-bottom: 4px; text-transform: uppercase; }
.ba-listing-credit strong { display: block; font-size: 22px; line-height: 1.2; }
.ba-listing-credit__role { color: #ccd0cf; display: block; font-size: 12px; letter-spacing: .08em; line-height: 1.2; margin-top: 4px; }
.ba-listing-credit p { color: #ccd0cf; font-size: 14px; line-height: 1.25; margin: 3px 0 0; }
.ba-legal { border-left: 1px solid #404040; color: #aeb5b3; font-size: 11px; padding-left: 42px; }
.ba-legal p { margin: 4px 0; }

.ba-lightbox {
    align-items: center;
    background: rgba(0,0,0,.94);
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 70px 80px;
    position: fixed;
    z-index: 99999;
}
.ba-lightbox[hidden] { display: none; }
.ba-lightbox img { max-height: calc(100vh - 110px); max-width: min(1200px, calc(100vw - 160px)); object-fit: contain; }
.ba-lightbox button { background: transparent; border: 0; color: #fff; cursor: pointer; font-size: 55px; line-height: 1; position: absolute; }
.ba-lightbox__close { right: 28px; top: 18px; }
.ba-lightbox__previous { left: 24px; top: 48%; }
.ba-lightbox__next { right: 24px; top: 48%; }
body.ba-lightbox-open { overflow: hidden; }

@media (max-width: 900px) {
    .ba-intro,
    .ba-details,
    .ba-community,
    .ba-contact { grid-template-columns: 1fr; }
    .ba-feature-band { grid-template-columns: 1fr; }
    .ba-feature-band > div + div { border-left: 0; border-top: 1px solid rgba(17,17,17,.18); }
    .ba-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ba-gallery-section .ba-section-heading { max-width: none; }
    .ba-floorplans__heading { align-items: flex-start; flex-direction: column; }
    .ba-floorplans__grid { grid-template-columns: 1fr; }
    .ba-floorplans figure { margin: 0 auto; max-width: 600px; width: 100%; }
    .ba-property__footer { grid-template-columns: 1fr; }
    .ba-legal { border-left: 0; border-top: 1px solid #404040; padding: 30px 0 0; }
    .ba-community__quote { min-height: 280px; }
}

@media (max-width: 620px) {
    .ba-button--small { font-size: 10px; min-height: 40px; padding: 9px 12px; }
    .ba-hero { min-height: min(640px, 90svh); }
    .ba-hero__question { right: 16px; top: 16px; }
    .ba-hero__shade { background: linear-gradient(0deg, rgba(0,0,0,.72), rgba(0,0,0,.04) 75%); }
    .ba-hero__content { bottom: 78px; left: 22px; }
    .ba-hero h1 { font-size: clamp(48px, 15vw, 68px); }
    .ba-stats { grid-template-columns: repeat(2, 1fr); margin-top: -38px; width: calc(100% - 30px); }
    .ba-stats div:nth-child(3) { border-left: 0; border-top: 1px solid var(--ba-line); }
    .ba-stats div:nth-child(4) { border-top: 1px solid var(--ba-line); }
    .ba-section { padding-left: 22px; padding-right: 22px; }
    .ba-gallery { gap: 0; grid-template-columns: 1fr; }
    .ba-details { padding-left: 22px; padding-right: 22px; }
    .ba-details__grid { grid-template-columns: 1fr; }
    .ba-details__grid div:nth-last-child(2) { border-bottom: 0; }
    .ba-contact__photo-wrap { float: none; height: 260px; margin: 0 0 35px; width: 200px; }
    .ba-form__row { grid-template-columns: 1fr; gap: 0; }
    .ba-property__footer { padding: 38px 22px; }
    .ba-listing-credit { min-width: 0; }
    .ba-lightbox { padding: 60px 18px; }
    .ba-lightbox img { max-width: calc(100vw - 36px); }
    .ba-lightbox__previous { left: 8px; }
    .ba-lightbox__next { right: 8px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .ba-button,
    .ba-gallery__item img { transition: none; }
}

/* No decorative rule under the open-house inquiry form. */
.ba-contact__form-wrap::before, .ba-contact__form-wrap::after { content: none !important; }

.ba-community--solo { grid-template-columns: 1fr; }
.ba-community--solo .ba-community__copy { max-width: 760px; }
