/* Birch Realty WordPress package */

.birchrealty-wp {
    --brw-navy: #14293f;
    --brw-dark: #0b1723;
    --brw-ink: #1b242e;
    --brw-gold: #c7924b;
    --brw-gold-soft: #e6c28d;
    --brw-cream: #f7f1e7;
    --brw-cream-2: #fbf8f2;
    --brw-muted: #66727f;
    --brw-line: rgba(20, 41, 63, 0.15);
    --brw-white: #ffffff;
    color: var(--brw-ink);
    background: var(--brw-cream-2);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.birchrealty-wp *,
.birchrealty-wp *::before,
.birchrealty-wp *::after {
    box-sizing: border-box;
}

.birchrealty-wp img {
    max-width: 100%;
    display: block;
}

.birchrealty-wp a {
    color: inherit;
}

.brw-container {
    width: min(1160px, calc(100% - 44px));
    margin: 0 auto;
}

.brw-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(247, 241, 231, 0.94);
    border-bottom: 1px solid rgba(20, 41, 63, 0.1);
    backdrop-filter: blur(14px);
}

.brw-header-inner {
    min-height: 82px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 34px;
}

.brw-brand,
.brw-footer-brand {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.brw-wordmark,
.brw-footer-wordmark {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 29px;
    font-weight: 500;
    letter-spacing: -0.03em;
    color: var(--brw-navy);
}

.brw-site-logo-img {
    width: auto;
    max-width: 210px;
    max-height: 54px;
    object-fit: contain;
}

.brw-nav {
    display: flex;
    justify-content: center;
    gap: 26px;
}

.brw-nav a,
.brw-phone {
    color: var(--brw-navy);
    text-decoration: none;
    font-size: 13px;
    font-weight: 760;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.brw-phone {
    border: 1px solid rgba(20, 41, 63, 0.28);
    padding: 12px 15px;
}

.brw-main {
    background: var(--brw-cream-2);
}

.brw-hero {
    padding: 88px 0 96px;
    background:
        radial-gradient(circle at 80% 20%, rgba(199,146,75,.22), transparent 30%),
        linear-gradient(120deg, var(--brw-cream-2), var(--brw-cream));
}

.brw-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
    gap: 58px;
    align-items: center;
}

.brw-eyebrow {
    margin: 0 0 14px;
    color: var(--brw-gold);
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .18em;
}

.brw-brandline {
    margin: 0 0 12px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    color: var(--brw-navy);
}

.brw-hero h1,
.brw-simple-hero h1,
.brw-section h2,
.brw-cta h2,
.brw-contact-strip h2,
.brw-team-card h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
    letter-spacing: -0.045em;
    color: var(--brw-navy);
}

.brw-hero h1 {
    font-size: clamp(50px, 7vw, 90px);
    line-height: .94;
    margin: 0 0 24px;
}

.brw-lede,
.brw-simple-hero p,
.brw-section p,
.brw-cta p,
.brw-footer p,
.brw-legal p {
    color: var(--brw-muted);
    font-size: 17px;
    line-height: 1.78;
}

.brw-lede {
    max-width: 660px;
    margin: 0 0 34px;
}

.brw-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.brw-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 14px 22px;
    border: 1px solid transparent;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 850;
    letter-spacing: .09em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.brw-button:hover {
    transform: translateY(-2px);
}

.brw-button-primary {
    background: var(--brw-navy);
    color: var(--brw-white) !important;
    border-color: var(--brw-navy);
}

.brw-button-outline {
    background: transparent;
    color: var(--brw-navy) !important;
    border-color: rgba(20, 41, 63, .32);
}

.brw-button-dark {
    color: var(--brw-white) !important;
    border-color: rgba(255,255,255,.42);
}

.brw-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 44px;
    max-width: 560px;
}

.brw-stat {
    border-top: 1px solid rgba(20, 41, 63, .2);
    padding-top: 16px;
}

.brw-stat strong {
    display: block;
    font-family: Georgia, "Times New Roman", serif;
    color: var(--brw-navy);
    font-size: 34px;
    line-height: 1;
    font-weight: 500;
}

.brw-stat span {
    color: var(--brw-muted);
    display: block;
    margin-top: 8px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 700;
}

.brw-hero-image-wrap {
    position: relative;
}

.brw-hero-image-wrap img {
    width: 100%;
    aspect-ratio: 1.18 / 1;
    object-fit: cover;
    box-shadow: 0 28px 90px rgba(20, 41, 63, .20);
}

.brw-est-card {
    position: absolute;
    left: -30px;
    bottom: 30px;
    width: min(330px, calc(100% - 40px));
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(199,146,75,.35);
    padding: 26px;
    box-shadow: 0 16px 44px rgba(20, 41, 63, .12);
}

.brw-est-card span {
    color: var(--brw-gold);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: .16em;
    font-weight: 900;
}

.brw-est-card p {
    font-family: Georgia, "Times New Roman", serif;
    margin: 10px 0 0;
    color: var(--brw-navy);
    font-size: 24px;
    line-height: 1.18;
}

.brw-section {
    padding: 88px 0;
}

.brw-principles {
    background: var(--brw-white);
}

.brw-principle-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--brw-line);
    border-left: 1px solid var(--brw-line);
}

.brw-principle-grid article {
    padding: 34px;
    border-right: 1px solid var(--brw-line);
    border-bottom: 1px solid var(--brw-line);
}

.brw-principle-grid span,
.brw-service-row span,
.brw-role {
    color: var(--brw-gold);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: .18em;
    font-weight: 900;
}

.brw-principle-grid h2 {
    font-size: 32px;
    margin: 18px 0 14px;
}

.brw-principle-grid p {
    margin: 0;
}

.brw-promise {
    background: var(--brw-dark);
    color: var(--brw-white);
}

.brw-promise-grid {
    display: grid;
    grid-template-columns: minmax(320px, .9fr) minmax(0, 1.1fr);
    gap: 56px;
    align-items: center;
}

.brw-promise img {
    aspect-ratio: 1.06 / 1;
    object-fit: cover;
}

.brw-promise blockquote,
.brw-work-card blockquote {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(38px, 4.6vw, 66px);
    line-height: 1.06;
    letter-spacing: -0.045em;
    color: var(--brw-white);
}

.brw-signoff {
    margin-top: 24px;
    color: rgba(255,255,255,.7) !important;
}

.brw-section-head {
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    gap: 52px;
    align-items: end;
    margin-bottom: 36px;
}

.brw-section-head h2 {
    font-size: clamp(38px, 4.5vw, 62px);
    line-height: 1.04;
    margin: 0;
}

.brw-section-head p {
    margin: 0 0 20px;
}

.brw-text-link {
    color: var(--brw-navy) !important;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
    text-decoration: none !important;
    border-bottom: 1px solid var(--brw-gold);
    padding-bottom: 5px;
}

.brw-card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.brw-card-grid article {
    background: var(--brw-white);
    padding: 30px;
    border: 1px solid rgba(20, 41, 63, .1);
    min-height: 220px;
}

.brw-card-grid h3 {
    font-family: Georgia, "Times New Roman", serif;
    color: var(--brw-navy);
    font-size: 28px;
    font-weight: 500;
    margin: 0 0 14px;
}

.brw-card-grid p {
    margin: 0;
    font-size: 15px;
}

.brw-work-area {
    position: relative;
    min-height: 520px;
    display: grid;
    align-items: end;
    background: var(--brw-dark);
}

.brw-work-area > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .78;
}

.brw-work-area::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(11,23,35,.82), rgba(11,23,35,.08));
}

.brw-work-card {
    position: relative;
    z-index: 2;
    width: min(850px, calc(100% - 44px));
    margin: 0 auto 52px;
    padding: 36px;
    background: rgba(11,23,35,.82);
    border: 1px solid rgba(255,255,255,.16);
    color: var(--brw-white);
}

.brw-work-card p {
    margin: 0;
    color: var(--brw-white);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.14;
}

.brw-work-card .brw-text-link {
    display: inline-block;
    margin-top: 22px;
    color: var(--brw-white) !important;
}

.brw-cta {
    background: var(--brw-navy);
    color: var(--brw-white);
    padding: 82px 0;
    text-align: center;
}

.brw-cta h2 {
    color: var(--brw-white);
    font-size: clamp(40px, 5vw, 72px);
    margin: 0 0 26px;
}

.brw-cta p {
    color: rgba(255,255,255,.72);
    margin: 0 0 26px;
}

.brw-cta .brw-actions {
    justify-content: center;
}

.brw-simple-hero {
    background:
        radial-gradient(circle at 78% 18%, rgba(199,146,75,.18), transparent 30%),
        var(--brw-cream);
    padding: 92px 0 72px;
}

.brw-simple-hero h1 {
    max-width: 980px;
    font-size: clamp(48px, 6.5vw, 88px);
    line-height: .96;
    margin: 0 0 24px;
}

.brw-simple-hero p {
    max-width: 800px;
    margin: 0;
}

.brw-contact-strip {
    background: var(--brw-white);
    border-left: 6px solid var(--brw-gold);
    padding: 46px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 30px;
    align-items: center;
}

.brw-contact-strip h2 {
    font-size: clamp(34px, 4vw, 56px);
    line-height: 1.08;
    margin: 0;
}

.brw-service-list {
    background: var(--brw-white);
}

.brw-service-row {
    display: grid;
    grid-template-columns: .62fr 1.38fr;
    gap: 50px;
    padding: 42px 0;
    border-bottom: 1px solid var(--brw-line);
}

.brw-service-row h2 {
    font-size: clamp(34px, 4vw, 56px);
    margin: 12px 0 0;
}

.brw-service-row p {
    margin: 0 0 18px;
}

.brw-service-row ul {
    columns: 2;
    margin: 0;
    padding-left: 20px;
    color: var(--brw-muted);
    line-height: 1.9;
}

.brw-about-story {
    background: var(--brw-white);
}

.brw-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 58px;
    align-items: start;
}

.brw-about-story p {
    margin-top: 0;
}

.brw-about-story figure {
    margin: 0;
}

.brw-about-story img {
    aspect-ratio: 1 / .92;
    object-fit: cover;
}

.brw-about-story figcaption {
    margin-top: 14px;
    color: var(--brw-muted);
    font-style: italic;
}

.brw-stats-light .brw-stat {
    border-color: var(--brw-line);
}

.brw-beliefs {
    background: var(--brw-cream);
}

.brw-card-grid-three {
    grid-template-columns: 1fr;
}

.brw-team-section {
    background: var(--brw-white);
}

.brw-team-grid {
    display: grid;
    gap: 28px;
}

.brw-team-card {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 42px;
    align-items: center;
    background: var(--brw-cream-2);
    border: 1px solid var(--brw-line);
    padding: 28px;
}

.brw-team-card img {
    aspect-ratio: 1 / 1.12;
    object-fit: cover;
}

.brw-team-card h2 {
    font-size: clamp(36px, 4vw, 60px);
    margin: 10px 0 16px;
}

.brw-team-card p {
    margin-bottom: 22px;
}

.brw-contact-page {
    background: var(--brw-white);
}

.brw-contact-grid {
    display: grid;
    grid-template-columns: .82fr 1.18fr;
    gap: 50px;
}

.brw-contact-details {
    display: grid;
    gap: 18px;
}

.brw-contact-details div {
    background: var(--brw-cream-2);
    border: 1px solid var(--brw-line);
    padding: 26px;
}

.brw-contact-details h2 {
    font-size: 26px;
    margin: 0 0 8px;
}

.brw-contact-details p {
    margin: 0;
}

.brw-form {
    background: var(--brw-cream-2);
    border: 1px solid var(--brw-line);
    padding: 32px;
    display: grid;
    gap: 18px;
}

.brw-form-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.brw-form label {
    display: grid;
    gap: 8px;
    color: var(--brw-navy);
    font-size: 13px;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.brw-form input,
.brw-form select,
.brw-form textarea {
    width: 100%;
    border: 1px solid rgba(20, 41, 63, .22);
    background: var(--brw-white);
    padding: 13px 14px;
    font: inherit;
    color: var(--brw-ink);
}

.brw-form-note {
    font-size: 12px !important;
    line-height: 1.5 !important;
    margin: 0;
}

.brw-form-message {
    padding: 14px 16px;
    font-weight: 700;
}

.brw-form-success {
    background: #e8f3e8;
    color: #1f5d26;
}

.brw-form-error {
    background: #f8e9e9;
    color: #7b2020;
}

.brw-legal {
    background: var(--brw-white);
}

.brw-legal .brw-container {
    max-width: 880px;
}

.brw-legal h2 {
    font-size: 30px;
    margin: 34px 0 10px;
}

.brw-legal p {
    margin: 0 0 18px;
}

.brw-footer {
    background: var(--brw-dark);
    color: rgba(255,255,255,.72);
    padding: 58px 0 28px;
}

.brw-footer-grid {
    display: grid;
    grid-template-columns: 1.45fr .9fr .9fr .75fr;
    gap: 42px;
}

.brw-footer h3 {
    color: var(--brw-gold-soft);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: .16em;
    margin: 0 0 14px;
}

.brw-footer p {
    color: rgba(255,255,255,.68);
    margin: 0;
    font-size: 15px;
}

.brw-footer a {
    color: rgba(255,255,255,.82);
    text-decoration: none;
}

.brw-footer-logo-img {
    width: auto;
    max-width: 210px;
    max-height: 58px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.brw-footer-wordmark {
    color: var(--brw-white);
    display: block;
    margin-bottom: 16px;
}

.brw-footer-about p {
    margin-top: 18px;
}

.brw-languages {
    color: var(--brw-gold-soft) !important;
}

.brw-footer-bottom {
    margin-top: 38px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,.12);
    display: flex;
    justify-content: space-between;
    gap: 22px;
    flex-wrap: wrap;
}

.brw-footer-bottom p {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .08em;
}

@media (max-width: 1040px) {
    .brw-header-inner {
        grid-template-columns: 1fr auto;
    }

    .brw-nav {
        display: none;
    }

    .brw-hero-grid,
    .brw-section-head,
    .brw-promise-grid,
    .brw-two-col,
    .brw-contact-grid,
    .brw-contact-strip {
        grid-template-columns: 1fr;
    }

    .brw-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .brw-footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .brw-est-card {
        left: 24px;
    }
}

@media (max-width: 720px) {
    .brw-container {
        width: min(100% - 30px, 1160px);
    }

    .brw-phone {
        display: none;
    }

    .brw-header-inner {
        min-height: 68px;
    }

    .brw-wordmark {
        font-size: 25px;
    }

    .brw-hero {
        padding: 62px 0 70px;
    }

    .brw-hero h1,
    .brw-simple-hero h1 {
        font-size: clamp(42px, 14vw, 62px);
    }

    .brw-hero-grid,
    .brw-service-row,
    .brw-team-card {
        grid-template-columns: 1fr;
    }

    .brw-principle-grid,
    .brw-card-grid,
    .brw-footer-grid {
        grid-template-columns: 1fr;
    }

    .brw-stats {
        grid-template-columns: 1fr;
    }

    .brw-section,
    .brw-simple-hero {
        padding: 58px 0;
    }

    .brw-actions,
    .brw-button,
    .brw-form-two {
        width: 100%;
        grid-template-columns: 1fr;
    }

    .brw-button {
        width: 100%;
    }

    .brw-est-card {
        position: static;
        width: 100%;
    }

    .brw-service-row ul {
        columns: 1;
    }

    .brw-footer-bottom {
        display: grid;
    }
}


/* Local Birch Realty logo mark */
.brw-logo-lockup {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brw-logo-icon,
.brw-footer-logo-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
}

.brw-footer-logo-icon {
    filter: none;
}

.brw-footer .brw-logo-lockup .brw-footer-wordmark {
    color: var(--brw-white);
}

/* Agent landing pages */
.brw-agent-hero {
    padding: 86px 0 92px;
    background:
        radial-gradient(circle at 82% 18%, rgba(199,146,75,.22), transparent 32%),
        linear-gradient(120deg, var(--brw-cream-2), var(--brw-cream));
}

.brw-agent-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, .72fr);
    gap: 58px;
    align-items: center;
}

.brw-agent-hero h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(54px, 7vw, 92px);
    line-height: .94;
    letter-spacing: -0.045em;
    color: var(--brw-navy);
    margin: 0 0 24px;
    font-weight: 500;
}

.brw-agent-photo-wrap {
    position: relative;
}

.brw-agent-photo-wrap img {
    width: 100%;
    aspect-ratio: 1 / 1.15;
    object-fit: cover;
    box-shadow: 0 28px 90px rgba(20, 41, 63, .20);
    background: var(--brw-white);
}

.brw-agent-detail {
    background: var(--brw-white);
}

.brw-agent-detail h2 {
    font-size: clamp(36px, 4.5vw, 62px);
    line-height: 1.04;
    margin: 0 0 24px;
}

.brw-agent-panel {
    background: var(--brw-cream-2);
    border-left: 6px solid var(--brw-gold);
    padding: 34px;
}

.brw-agent-panel h3 {
    font-family: Georgia, "Times New Roman", serif;
    color: var(--brw-navy);
    font-size: 34px;
    font-weight: 500;
    margin: 0 0 18px;
}

.brw-agent-panel ul {
    margin: 0;
    padding-left: 20px;
    color: var(--brw-muted);
    line-height: 1.95;
}

.brw-agent-quote {
    background: var(--brw-navy);
    color: var(--brw-white);
    padding: 82px 0;
}

.brw-agent-quote blockquote {
    margin: 0 0 26px;
    max-width: 980px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(36px, 5vw, 70px);
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.brw-agent-quote .brw-text-link {
    color: var(--brw-white) !important;
}

@media (max-width: 900px) {
    .brw-agent-hero-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .brw-logo-icon,
    .brw-footer-logo-icon {
        width: 36px;
        height: 36px;
    }

    .brw-agent-hero {
        padding: 60px 0 66px;
    }

    .brw-agent-hero h1 {
        font-size: clamp(42px, 14vw, 62px);
    }
}


/* Expanded agent detail pages */
.brw-agent-stats-band {
    background: var(--brw-navy);
    color: var(--brw-white);
    padding: 26px 0;
}

.brw-agent-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.brw-agent-stat {
    border-left: 1px solid rgba(255,255,255,.18);
    padding: 10px 0 10px 22px;
}

.brw-agent-stat strong {
    display: block;
    color: var(--brw-gold-soft);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 38px;
    font-weight: 500;
    line-height: 1;
}

.brw-agent-stat span {
    display: block;
    margin-top: 8px;
    color: rgba(255,255,255,.74);
    font-size: 12px;
    line-height: 1.45;
    text-transform: uppercase;
    letter-spacing: .09em;
    font-weight: 800;
}

.brw-agent-detail p {
    margin-top: 0;
}

.brw-agent-contact-card {
    margin-top: 28px;
    border-top: 1px solid rgba(20, 41, 63, .16);
    padding-top: 22px;
}

.brw-agent-contact-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.brw-agent-contact-card p {
    margin: 0 0 8px;
}

.brw-agent-contact-card .brw-button {
    margin-top: 16px;
}

.brw-agent-focus {
    background: var(--brw-cream);
}

.brw-agent-focus-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.brw-agent-focus-grid article {
    background: var(--brw-white);
    border: 1px solid rgba(20,41,63,.10);
    padding: 28px;
    min-height: 245px;
}

.brw-agent-focus-grid h3 {
    font-family: Georgia, "Times New Roman", serif;
    color: var(--brw-navy);
    font-size: 28px;
    line-height: 1.12;
    margin: 0 0 14px;
    font-weight: 500;
}

.brw-agent-focus-grid p {
    margin: 0;
    font-size: 15px;
}

.brw-agent-process {
    background: var(--brw-white);
}

.brw-agent-process h2 {
    font-size: clamp(38px, 4.5vw, 62px);
    line-height: 1.04;
    margin: 0 0 36px;
}

.brw-agent-process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid var(--brw-line);
    border-left: 1px solid var(--brw-line);
}

.brw-agent-process-grid div {
    padding: 30px;
    border-right: 1px solid var(--brw-line);
    border-bottom: 1px solid var(--brw-line);
}

.brw-agent-process-grid span {
    color: var(--brw-gold);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: .18em;
    font-weight: 900;
}

.brw-agent-process-grid h3 {
    font-family: Georgia, "Times New Roman", serif;
    color: var(--brw-navy);
    font-size: 28px;
    font-weight: 500;
    margin: 16px 0 12px;
}

.brw-agent-process-grid p {
    margin: 0;
    font-size: 15px;
}

.brw-agent-quote .brw-actions {
    justify-content: flex-start;
}

@media (max-width: 1040px) {
    .brw-agent-focus-grid,
    .brw-agent-process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 720px) {
    .brw-agent-stats-grid,
    .brw-agent-focus-grid,
    .brw-agent-process-grid {
        grid-template-columns: 1fr;
    }

    .brw-agent-stat {
        border-left: none;
        border-top: 1px solid rgba(255,255,255,.18);
        padding-left: 0;
    }
}


/* Exact agent profile pages copied from Birch Realty source content */
.brw-agent-profile-page {
    background: var(--brw-cream-2);
    padding: 52px 0 86px;
}

.brw-back-link {
    display: inline-flex;
    align-items: center;
    margin-bottom: 30px;
    color: var(--brw-navy) !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 850;
    letter-spacing: .1em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--brw-gold);
    padding-bottom: 5px;
}

.brw-agent-profile-grid {
    display: grid;
    grid-template-columns: minmax(320px, .78fr) minmax(0, 1.22fr);
    gap: 58px;
    align-items: start;
}

.brw-agent-profile-photo img {
    width: 100%;
    aspect-ratio: 1 / 1.16;
    object-fit: cover;
    background: var(--brw-white);
    box-shadow: 0 28px 90px rgba(20, 41, 63, .18);
}

.brw-agent-profile-copy {
    padding-top: 10px;
}

.brw-agent-profile-copy h1 {
    font-family: Georgia, "Times New Roman", serif;
    color: var(--brw-navy);
    font-weight: 500;
    letter-spacing: -0.045em;
    font-size: clamp(52px, 7vw, 92px);
    line-height: .94;
    margin: 0 0 30px;
}

.brw-agent-profile-copy p:not(.brw-role) {
    color: var(--brw-muted);
    font-size: 17px;
    line-height: 1.82;
    margin: 0 0 18px;
}

.brw-agent-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 34px 0 26px;
}

.brw-agent-contact-box {
    background: var(--brw-white);
    border: 1px solid var(--brw-line);
    padding: 20px;
}

.brw-agent-contact-box span {
    display: block;
    color: var(--brw-gold);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: .16em;
    font-weight: 900;
    margin-bottom: 9px;
}

.brw-agent-contact-box strong,
.brw-agent-contact-box a {
    color: var(--brw-navy) !important;
    font-size: 18px;
    line-height: 1.25;
    text-decoration: none !important;
}

.brw-agent-also {
    background: var(--brw-white);
}

.brw-agent-cross-card {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 26px;
    align-items: center;
    background: var(--brw-cream-2);
    border: 1px solid var(--brw-line);
    padding: 22px;
    text-decoration: none !important;
    color: inherit !important;
    max-width: 820px;
}

.brw-agent-cross-card img {
    width: 180px;
    aspect-ratio: 1 / 1.08;
    object-fit: cover;
}

.brw-agent-cross-card h3 {
    font-family: Georgia, "Times New Roman", serif;
    color: var(--brw-navy);
    font-size: 32px;
    font-weight: 500;
    margin: 6px 0 8px;
}

.brw-agent-cross-card p:not(.brw-role) {
    margin: 0 0 12px;
    color: var(--brw-muted);
    line-height: 1.65;
}

.brw-agent-cross-card span {
    color: var(--brw-navy);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--brw-gold);
    padding-bottom: 5px;
}

@media (max-width: 900px) {
    .brw-agent-profile-grid,
    .brw-agent-cross-card {
        grid-template-columns: 1fr;
    }

    .brw-agent-contact-grid {
        grid-template-columns: 1fr;
    }

    .brw-agent-cross-card img {
        width: 100%;
        max-width: 280px;
    }
}


/* --- Lovable-style precision pass v1.3 --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Inter:wght@400;500;600;700&display=swap');

.birchrealty-wp {
    --brw-navy: #244a35;
    --brw-dark: #0f2018;
    --brw-ink: #101812;
    --brw-gold: #c78d42;
    --brw-gold-soft: #d8ae70;
    --brw-cream: #f7f3ec;
    --brw-cream-2: #fbf8f1;
    --brw-muted: #5f675d;
    --brw-line: rgba(36, 74, 53, 0.14);
    font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--brw-cream-2);
}

.brw-container {
    width: min(1138px, calc(100% - 132px));
}

.brw-header {
    background: #fbf8f1;
    border-bottom: 1px solid rgba(36, 74, 53, 0.11);
    position: relative;
    top: auto;
    backdrop-filter: none;
}

.brw-header-inner {
    min-height: 176px;
    display: grid;
    grid-template-columns: 300px 1fr;
    align-items: center;
    gap: 36px;
}

.brw-brand {
    min-width: 230px;
}

.brw-logo-lockup {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.brw-logo-icon,
.brw-footer-logo-icon {
    width: 58px;
    height: 58px;
    flex: 0 0 auto;
    filter: none;
}

.brw-logo-text,
.brw-footer-logo-text {
    display: grid;
    gap: 5px;
    line-height: 1;
}

.brw-logo-birch {
    font-family: "Cormorant Garamond", "Iowan Old Style", "Baskerville", Georgia, serif;
    font-size: 31px;
    font-weight: 500;
    letter-spacing: -0.025em;
    color: #101812;
}

.brw-logo-realty {
    font-size: 13px;
    letter-spacing: .31em;
    font-weight: 600;
    color: #244a35;
}

.brw-nav {
    justify-content: flex-end;
    gap: 44px;
}

.brw-nav a {
    color: rgba(16, 24, 18, .72);
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    line-height: 1;
}

.brw-nav a:hover,
.brw-nav a:first-child {
    color: #244a35;
}

.brw-phone {
    display: none;
}

.brw-hero {
    background: #fbf8f1;
    padding: 32px 0 94px;
    min-height: 792px;
}

.brw-hero-grid {
    grid-template-columns: minmax(0, 1.58fr) minmax(365px, .86fr);
    gap: 54px;
    align-items: start;
}

.brw-hero-copy {
    padding-top: 82px;
}

.brw-eyebrow {
    color: #244a35;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .38em;
    margin-bottom: 33px;
}

.brw-brandline {
    position: relative;
    display: inline-block;
    margin: 0 0 68px;
    color: #244a35;
    font-family: "Cormorant Garamond", "Didot", "Bodoni 72", "Iowan Old Style", Georgia, serif;
    font-size: clamp(32px, 3.05vw, 42px);
    font-weight: 500;
    letter-spacing: .42em;
    line-height: 1;
}

.brw-brandline::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -31px;
    width: 79px;
    height: 1px;
    background: #c78d42;
}

.brw-hero h1 {
    max-width: 720px;
    font-family: "Cormorant Garamond", "Didot", "Bodoni 72", "Iowan Old Style", Georgia, serif;
    font-size: clamp(72px, 7.4vw, 106px);
    line-height: 1.03;
    font-weight: 400;
    letter-spacing: -.045em;
    color: #111711;
    margin: 0 0 38px;
}

.brw-hero h1 em {
    color: #244a35;
    font-style: italic;
    font-weight: 400;
}

.brw-lede {
    max-width: 690px;
    margin: 0 0 34px;
    color: #5e675d;
    font-size: 24px;
    line-height: 1.52;
    font-weight: 400;
}

.brw-hero-image-wrap img {
    width: 100%;
    height: 680px;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center center;
    box-shadow: none;
}

.brw-est-card {
    left: -30px;
    bottom: 30px;
    background: rgba(251, 248, 241, .95);
    border: 1px solid rgba(199, 141, 66, .35);
}

.brw-est-card span {
    color: #244a35;
}

.brw-est-card p {
    color: #101812;
    font-family: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
}

.brw-hero .brw-actions,
.brw-hero .brw-stats {
    margin-top: 0;
}

.brw-button {
    border-radius: 0;
}

.brw-button-primary {
    background: #244a35;
    border-color: #244a35;
}

.brw-button-outline {
    color: #244a35 !important;
    border-color: rgba(36, 74, 53, .34);
}

.brw-section h2,
.brw-simple-hero h1,
.brw-cta h2,
.brw-contact-strip h2,
.brw-team-card h2,
.brw-agent-hero h1,
.brw-agent-detail h2,
.brw-principle-grid h2,
.brw-card-grid h3,
.brw-method strong,
.brw-legal h2 {
    font-family: "Cormorant Garamond", "Didot", "Bodoni 72", "Iowan Old Style", Georgia, serif;
    color: #244a35;
}

.brw-footer-logo-icon {
    width: 54px;
    height: 54px;
}

.brw-footer .brw-logo-birch {
    color: #ffffff;
}

.brw-footer .brw-logo-realty {
    color: var(--brw-gold-soft);
}

@media (max-width: 1040px) {
    .brw-container {
        width: min(100% - 44px, 1138px);
    }

    .brw-header-inner {
        min-height: 112px;
        grid-template-columns: 1fr auto;
    }

    .brw-nav {
        display: none;
    }

    .brw-hero {
        padding-top: 58px;
        min-height: auto;
    }

    .brw-hero-grid {
        grid-template-columns: 1fr;
    }

    .brw-hero-copy {
        padding-top: 0;
    }

    .brw-hero-image-wrap img {
        height: auto;
        aspect-ratio: 1.25 / 1;
    }
}

@media (max-width: 720px) {
    .brw-container {
        width: min(100% - 30px, 1138px);
    }

    .brw-header-inner {
        min-height: 88px;
    }

    .brw-logo-icon {
        width: 46px;
        height: 46px;
    }

    .brw-logo-birch {
        font-size: 28px;
    }

    .brw-logo-realty {
        font-size: 11px;
    }

    .brw-eyebrow {
        font-size: 12px;
        letter-spacing: .28em;
        margin-bottom: 24px;
    }

    .brw-brandline {
        font-size: 31px;
        letter-spacing: .28em;
        margin-bottom: 55px;
    }

    .brw-hero h1 {
        font-size: clamp(58px, 18vw, 82px);
    }

    .brw-lede {
        font-size: 20px;
    }
}


/* Inline compass logo reliability fix v1.4 */
.brw-logo-inline {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 58px !important;
    height: 58px !important;
    color: #365a45 !important;
    border-radius: 50%;
    flex: 0 0 58px !important;
}

.brw-compass-svg {
    display: block !important;
    width: 58px !important;
    height: 58px !important;
    color: inherit !important;
    overflow: visible !important;
}

.brw-footer .brw-logo-inline,
.brw-footer-logo-icon.brw-logo-inline {
    color: #f7f3ec !important;
    width: 54px !important;
    height: 54px !important;
    flex-basis: 54px !important;
    filter: none !important;
}

.brw-footer .brw-compass-svg {
    width: 54px !important;
    height: 54px !important;
}

@media (max-width: 720px) {
    .brw-logo-inline {
        width: 46px !important;
        height: 46px !important;
        flex-basis: 46px !important;
    }

    .brw-compass-svg {
        width: 46px !important;
        height: 46px !important;
    }
}


/* Privacy page internal links v1.6 */
.brw-privacy-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
    padding-top: 24px;
    border-top: 1px solid var(--brw-line);
}

.brw-privacy-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 10px 14px;
    border: 1px solid rgba(36, 74, 53, .22);
    color: var(--brw-navy) !important;
    text-decoration: none !important;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .09em;
    text-transform: uppercase;
}
