@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    font-family: 'DM Sans', sans-serif;
    color: #183247;
    background: #f7f8fa;
    font-synthesis: none
}

* {
    box-sizing: border-box
}

body {
    margin: 0
}

button,
input,
select {
    font: inherit
}

button,
a,
select {
    -webkit-tap-highlight-color: transparent
}

button {
    cursor: pointer
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
    outline: 3px solid #b98748;
    outline-offset: 3px
}

button {
    color: inherit
}

header {
    height: 100px;
    padding: 0 5%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e5e9ec
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #183247;
    text-decoration: none;
    font-family: Manrope, sans-serif;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 3px
}

.brand small {
    display: block;
    font-size: 10px;
    letter-spacing: 4px;
    margin-top: 3px
}

.brandmark {
    display: flex;
    align-items: center;
    position: relative;
    border: 2px solid #183247;
    height: 42px;
    width: 37px;
    font-size: 32px;
    padding-left: 4px;
    letter-spacing: 0
}

.brandmark span {
    position: absolute;
    right: -8px;
    bottom: -7px;
    background: white;
    font-size: 25px
}

nav {
    height: 100%;
    display: flex;
    gap: 35px
}

.nav {
    border: 0;
    background: transparent;
    font-size: 14px;
    position: relative
}

.nav.active {
    font-weight: 700
}

.nav.active:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #b98748
}

.saved {
    border: 1px solid #dde3e8;
    border-radius: 6px;
    background: white;
    padding: 11px 14px;
    font-size: 14px
}

.saved b {
    background: #edf1f4;
    border-radius: 4px;
    padding: 3px 6px;
    margin-left: 6px
}

main {
    max-width: 1440px;
    margin: auto;
    padding: 45px 5% 32px
}

.intro {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 32px
}

.eyebrow {
    font-size: 11px;
    letter-spacing: 2.3px;
    font-weight: 700;
    color: #8b704c;
    margin: 0 0 13px
}

h1 {
    font: 500 42px/1.2 Manrope, sans-serif;
    letter-spacing: -1.7px;
    margin: 0 0 12px
}

h1 em {
    font-style: normal;
    color: #a37a43
}

.intro p:not(.eyebrow) {
    color: #73808b;
    font-size: 15px;
    margin: 0
}

.intro-note {
    font-size: 13px;
    line-height: 1.7;
    color: #7b8790;
    border-left: 1px solid #d9dfe4;
    padding-left: 22px
}

.intro-note span {
    font-size: 25px;
    float: left;
    margin-right: 12px;
    color: #a7834e
}

.searchbox {
    background: white;
    border: 1px solid #e2e7eb;
    border-radius: 10px;
    box-shadow: 0 8px 26px #172e4405;
    margin-bottom: 39px;
    overflow: hidden
}

.tabs {
    display: flex;
    border-bottom: 1px solid #edf0f2;
    padding: 0 23px;
    gap: 29px
}

.tabs button {
    background: none;
    border: 0;
    padding: 17px 2px;
    font-size: 14px;
    position: relative
}

.tabs .selected {
    font-weight: 700
}

.tabs .selected:after {
    content: '';
    height: 2px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #183247
}

form {
    display: flex;
    padding: 23px;
    align-items: center;
    gap: 20px
}

form label {
    display: flex;
    flex-direction: column;
    gap: 9px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    border-right: 1px solid #e2e7eb;
    flex: 1;
    padding-right: 15px
}

form .location {
    flex: 1.65
}

input,
select {
    min-width: 0;
    background: white;
    border: 0;
    color: #64737f;
    font-size: 14px;
    padding: 4px 0;
    outline-offset: 5px
}

input {
    width: 100%
}

.primary {
    border: 0;
    background: #19364d;
    color: white;
    padding: 16px 22px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 14px
}

.primary:hover {
    background: #294e69
}

.results-heading {
    display: flex;
    justify-content: space-between;
    align-items: center
}

h2 {
    font: 700 25px Manrope, sans-serif;
    letter-spacing: -.7px;
    margin: 0
}

.results-heading p {
    color: #7b8790;
    font-size: 13px;
    margin: 8px 0 0
}

.sort {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #85909a;
    font-size: 13px
}

.sort select {
    background: transparent;
    color: #2c4253;
    font-size: 13px
}

.filter-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 24px 0
}

.chips {
    display: flex;
    gap: 9px;
    flex-wrap: wrap
}

.chip,
.filter-button {
    border: 1px solid #dfe5e9;
    background: white;
    border-radius: 5px;
    padding: 10px 15px;
    font-size: 13px
}

.chip.selected {
    background: #19364d;
    color: white;
    border-color: #19364d
}

.filter-button {
    white-space: nowrap
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px
}


.card {
    border: 1px solid #e1e6ea;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    transition: transform .2s, box-shadow .2s
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px #19364d0d
}

.photo {
    position: relative;
    height: 220px;
    background: #e1e6ea
}

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

.photo .open-photo {
    border: 0;
    background: none;
    padding: 0;
    width: 100%;
    height: 100%;
    display: block
}

.badges {
    position: absolute;
    top: 14px;
    left: 14px;
    display: flex;
    gap: 6px;
    pointer-events: none
}

.badge {
    font-size: 10px;
    letter-spacing: .6px;
    background: white;
    padding: 6px 9px;
    border-radius: 3px;
    font-weight: 700
}

.badge.featured {
    background: #19364d;
    color: white
}

.heart {
    position: absolute;
    right: 14px;
    top: 14px;
    border: 0;
    background: #fffffff0;
    border-radius: 50%;
    width: 33px;
    height: 33px;
    font-size: 23px;
    line-height: 1
}

.heart.on {
    color: #b97853
}

.card-body {
    padding: 20px
}

.type-line {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #8895a0;
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px
}

.price {
    font: 800 24px Manrope, sans-serif;
    letter-spacing: -.8px;
    margin-bottom: 12px
}

.price small {
    font: 400 12px 'DM Sans', sans-serif;
    letter-spacing: 0;
    color: #83909a
}

.title-button {
    background: none;
    border: 0;
    padding: 0;
    font-weight: 600;
    font-size: 16px;
    text-align: left
}

.address {
    font-size: 12px;
    color: #84909a;
    margin: 8px 0 19px
}

.specs {
    display: flex;
    gap: 20px;
    color: #627481;
    font-size: 12px;
    padding-bottom: 19px;
    border-bottom: 1px solid #edf0f2
}

.card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    font-size: 12px;
    color: #81909b
}

.card-bottom button {
    border: 0;
    background: none;
    font-size: 12px;
    font-weight: 700;
    padding: 0
}

.sample-note {
    color: #87929c;
    text-align: center;
    font-size: 12px;
    line-height: 1.7;
    margin: 30px auto 0;
    max-width: 780px
}

footer {
    border-top: 1px solid #e3e7eb;
    background: white;
    padding: 25px 5%;
    display: flex;
    justify-content: space-between;
    color: #929ba3;
    font-size: 12px
}

.footer-brand {
    color: #29475e;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: 2px
}

.empty {
    grid-column: 1/-1;
    text-align: center;
    padding: 65px 20px;
    background: white;
    border: 1px dashed #d5dfe5;
    border-radius: 8px
}

.empty p {
    color: #73808b
}

#extra-filters {
    padding: 0 0 22px
}

#extra-filters label {
    font-size: 14px
}

#extra-filters select {
    margin: 0 20px 0 8px
}

#reset {
    border: 0;
    background: none;
    text-decoration: underline
}

dialog {
    border: 0;
    border-radius: 12px;
    padding: 0;
    width: min(850px, 94vw);
    max-height: 90vh;
    color: #183247;
    box-shadow: 0 30px 100px #0004
}

dialog::backdrop {
    background: #102c44aa;
    backdrop-filter: blur(4px)
}

.close {
    position: absolute;
    right: 16px;
    top: 16px;
    border: 0;
    border-radius: 50%;
    background: white;
    width: 36px;
    height: 36px;
    font-size: 26px;
    z-index: 1
}

.detail-image {
    width: 100%;
    height: 310px;
    object-fit: cover
}

.detail-body {
    padding: 30px
}

.detail-body h2 {
    margin: 12px 0
}

.detail-body p {
    line-height: 1.8;
    color: #71808a;
    font-size: 15px
}

.detail-actions {
    display: flex;
    gap: 12px;
    margin-top: 22px
}

#toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: #183247;
    color: white;
    border-radius: 7px;
    padding: 14px 22px;
    font-size: 14px;
    box-shadow: 0 5px 20px #0002;
    display: none;
    z-index: 5
}

@media(min-width:1500px) {
    .photo {
        height: 250px
    }
}

@media(max-width:1050px) {
    header {
        padding: 0 4%
    }

    nav {
        gap: 20px
    }

    main {
        padding: 35px 4%
    }

    .grid {
        gap: 16px
    }

    .photo {
        height: 185px
    }

    form {
        gap: 12px;
        padding: 20px
    }

    form .primary {
        padding: 15px 12px
    }

    .specs {
        gap: 12px
    }

    .card-body {
        padding: 16px
    }

    .chips {
        gap: 6px
    }

    .chip {
        padding: 10px 11px
    }
}

@media(max-width:760px) {
    header {
        height: 80px
    }

    .brand {
        font-size: 21px
    }

    .brandmark {
        height: 34px;
        width: 31px;
        font-size: 26px
    }

    .brand small {
        font-size: 8px
    }

    nav {
        gap: 16px
    }

    .nav {
        font-size: 12px
    }

    .saved span {
        display: none
    }

    .saved {
        padding: 8px
    }

    .intro-note {
        display: none
    }

    h1 {
        font-size: 34px
    }

    .intro p:not(.eyebrow) {
        font-size: 14px
    }

    main {
        padding-top: 30px
    }

    form {
        flex-wrap: wrap
    }

    form .location {
        flex: 1 1 100%;
        border: 0;
        border-bottom: 1px solid #edf0f2;
        padding-bottom: 14px
    }

    form label {
        flex: 1 1 40%
    }

    form .primary {
        width: 100%
    }

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


    .sort {
        flex-direction: column;
        align-items: flex-end;
        gap: 2px
    }

    .filter-row {
        align-items: flex-start
    }

    .filter-button {
        font-size: 0;
        padding: 11px
    }

    .filter-button:first-letter {
        font-size: 16px
    }

    .photo {
        height: 190px
    }

    .price {
        font-size: 21px
    }

    .specs {
        gap: 10px;
        flex-wrap: wrap
    }

    .results-heading h2 {
        font-size: 22px
    }

    footer span:nth-child(2) {
        display: none
    }
}

@media(max-width:480px) {

    .grid {
        grid-template-columns: 1fr
    }


    .photo {
        height: 245px
    }

    .card-body {
        padding: 20px
    }

    .eyebrow {
        font-size: 10px
    }

    .intro {
        margin-bottom: 25px
    }

    .chips {
        gap: 7px
    }

    .chip {
        font-size: 12px
    }

    .specs {
        gap: 23px
    }

    .detail-image {
        height: 220px
    }

    .detail-body {
        padding: 22px
    }

    .detail-actions {
        flex-direction: column
    }
}

.manager-entry {
    font-size: 13px;
    color: #526878;
    text-decoration: none;
    white-space: nowrap
}

.manager-entry:hover {
    text-decoration: underline
}

@media(max-width:760px) {
    header {
        gap: 12px
    }

    nav {
        display: none
    }

    .manager-entry {
        margin-left: auto
    }
}

.property-gallery {
    background: #edf1f4
}

.gallery-stage {
    position: relative;
    height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #102a3f
}

.gallery-stage>img {
    width: 100%;
    height: 100%;
    object-fit: contain
}

.gallery-stage>p {
    color: white;
    padding: 40px
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 44px;
    border: 0;
    border-radius: 5px;
    background: #ffffffed;
    font-size: 32px;
    line-height: 1
}

.gallery-prev {
    left: 15px
}

.gallery-next {
    right: 15px
}

.gallery-count {
    position: absolute;
    right: 15px;
    bottom: 15px;
    background: #102a3fd9;
    color: white;
    border-radius: 4px;
    padding: 7px 11px;
    font-size: 13px
}

.gallery-thumbs {
    display: flex;
    gap: 9px;
    padding: 12px 15px;
    overflow-x: auto
}

.gallery-thumbs button {
    flex: 0 0 80px;
    height: 59px;
    border: 2px solid transparent;
    padding: 2px;
    background: transparent;
    border-radius: 5px
}

.gallery-thumbs button[aria-pressed=true] {
    border-color: #b18b52
}

.gallery-thumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2px
}

/* Split property gallery with full-screen touch lightbox. */
.gallery-grid{display:grid;grid-template-columns:2fr 1fr;grid-template-rows:1fr 1fr;gap:2px;height:520px;overflow:hidden;border-radius:16px;background:#edf1f4}.gallery-tile{position:relative;display:block;padding:0;border:0;overflow:hidden;background:#102a3f;cursor:zoom-in}.gallery-tile img{width:100%;height:100%;display:block;object-fit:cover}.gallery-feature{grid-row:1 / 3}.gallery-more{position:absolute;inset:0;display:grid;place-content:center;text-align:center;background:#102a3f99;color:#fff;font-size:32px}.gallery-more small{display:block;font-size:12px;font-weight:700;letter-spacing:.08em}.gallery-lightbox{position:fixed;width:100vw;height:100vh;max-width:none;max-height:none;padding:50px 70px;border:0;background:#08131eef;box-sizing:border-box;align-items:center;justify-content:center}.gallery-lightbox::backdrop{background:#08131eef}.gallery-lightbox-image{max-width:100%;max-height:100%;object-fit:contain}.gallery-close{position:absolute;top:18px;right:22px;border:0;background:none;color:#fff;font-size:40px;cursor:pointer}
@media(max-width:640px){.gallery-grid{height:330px}.gallery-lightbox{padding:35px 8px}.gallery-lightbox-image{width:100%;touch-action:pan-y}}

.gallery-more{font-size:0}.gallery-more:before{content:"";display:block;width:42px;height:42px;margin:0 auto 8px;background:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='6' width='15' height='15' rx='2'/%3E%3Cpath d='M7 6V4a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-1'/%3E%3Ccircle cx='9' cy='11' r='1.5'/%3E%3Cpath d='m4 18 4-4 3 3 2-2 5 5'/%3E%3C/svg%3E")}.gallery-more small{font-size:12px}
.gallery-lightbox-viewport{width:100%;height:calc(100% - 90px);display:flex;align-items:center;justify-content:center;overflow:hidden}.gallery-lightbox-image{transition:transform .28s ease,opacity .28s ease}.gallery-slide-next{animation:gallerySlideNext .28s ease}.gallery-slide-prev{animation:gallerySlidePrev .28s ease}@keyframes gallerySlideNext{from{transform:translateX(24px);opacity:.35}to{transform:translateX(0);opacity:1}}@keyframes gallerySlidePrev{from{transform:translateX(-24px);opacity:.35}to{transform:translateX(0);opacity:1}}.gallery-lightbox-thumbs{position:absolute;left:12px;right:12px;bottom:12px;display:flex;gap:8px;overflow-x:auto;justify-content:center;padding:4px}.gallery-lightbox-thumbs button{flex:0 0 78px;height:52px;padding:2px;border:2px solid transparent;background:#ffffff22;cursor:pointer}.gallery-lightbox-thumbs button[aria-current=true]{border-color:#fff}.gallery-lightbox-thumbs img{width:100%;height:100%;object-fit:cover}
@keyframes gallerySlideNext{from{transform:translateX(100%);opacity:1}to{transform:translateX(0);opacity:1}}@keyframes gallerySlidePrev{from{transform:translateX(-100%);opacity:1}to{transform:translateX(0);opacity:1}}
.property-map {
    margin: 26px 0;
    padding-top: 22px;
    border-top: 1px solid #e5ebef
}

.map-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 14px
}

.map-heading h3 {
    margin: 0;
    font-size: 18px
}

.map-heading p {
    margin: 5px 0 0;
    font-size: 13px;
    overflow-wrap: anywhere
}

.property-map a {
    font-size: 13px;
    color: #34576e;
    text-decoration: none;
    white-space: nowrap
}

.property-map a:hover {
    text-decoration: underline
}

.property-map iframe {
    width: 100%;
    height: 290px;
    border: 0;
    border-radius: 7px;
    background: #edf1f4
}

.map-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-top: 12px
}

.map-footer small {
    font-size: 12px;
    color: #8b98a0;
    line-height: 1.6;
    max-width: 430px
}

.property-gallery [hidden] {
    display: none !important
}

@media(max-width:600px) {
    .gallery-stage {
        height: 270px
    }

    .map-heading {
        align-items: flex-start;
        flex-direction: column
    }

    .map-footer {
        flex-direction: column;
        gap: 8px
    }

    .property-map iframe {
        height: 250px
    }
}

.inquiry-panel {
    background: #fff;
    margin: 26px 0;
    padding: 25px;
    border: 1px solid #dfe7ed;
    background: #fff;
    border-radius: 8px
}

.inquiry-panel h3 {
    font-size: 22px;
    margin: 0 0 10px;
    color: #19364d
}

.inquiry-panel>p {
    font-size: 14px;
    line-height: 1.75;
    margin: 0 0 20px
}

.inquiry-panel .eyebrow {
    font-size: 10px;
    line-height: 1.5;
    color: #9d7d4a;
    margin-bottom: 8px
}

.inquiry-form {
    display: block;
    padding: 0;
    margin: 0
}

.inquiry-form fieldset {
    border: 0;
    margin: 0;
    padding: 0;
    min-width: 0
}

.inquiry-fields-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px
}

.inquiry-form label {
    display: block;
    border: 0;
    padding: 0;
    color: #3f596c;
    font-size: 14px;
    letter-spacing: 0;
    font-weight: 500
}

.inquiry-form label>span {
    color: #a2713d
}

.inquiry-form label.full {
    grid-column: 1/-1
}

.inquiry-form input,
.inquiry-form textarea {
    display: block;
    margin-top: 9px;
    border: 1px solid #cedbe4;
    border-radius: 5px;
    padding: 12px;
    background: #fff;
    width: 100%;
    font: 400 16px 'DM Sans', sans-serif;
    color: #294557;
    line-height: 1.5
}

.inquiry-form textarea {
    resize: vertical
}

.inquiry-form [aria-invalid=true] {
    border-color: #b6584f
}

.inquiry-form .optional {
    color: #8797a3;
    font-size: 12px;
    font-weight: 400;
    margin-left: 6px
}

.field-error {
    display: block;
    font-size: 12px;
    color: #a14036;
    line-height: 1.6;
    margin-top: 6px
}

.field-error:empty {
    display: none
}

.inquiry-submit-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 20px
}

.inquiry-submit-row p {
    font-size: 12px;
    line-height: 1.6;
    margin: 0;
    flex: 1;
    color: #7f919e
}

.inquiry-submit-row button {
    white-space: nowrap
}

.inquiry-error {
    padding: 13px 15px;
    background: #fff0ee;
    border: 1px solid #f1d7d1;
    color: #994235;
    border-radius: 5px;
    font-size: 14px;
    margin-bottom: 18px;
    line-height: 1.6
}

.inquiry-success {
    border: 1px solid #cce2d6;
    background: #eff8f3;
    padding: 22px;
    border-radius: 6px
}

.inquiry-success>span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #d6ebdf;
    color: #367958;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    margin-bottom: 12px
}

.inquiry-success h4 {
    font-size: 20px;
    margin: 0;
    color: #275e45
}

.inquiry-success p {
    margin-bottom: 0;
    font-size: 14px;
    color: #557264;
    line-height: 1.75
}

.inquiry-panel [hidden] {
    display: none !important
}

.inquiry-form fieldset:disabled {
    opacity: .65
}

@media(max-width:600px) {
    .inquiry-panel {
        padding: 20px 16px
    }

    .inquiry-fields-grid {
        grid-template-columns: 1fr
    }

    .inquiry-submit-row {
        flex-direction: column;
        align-items: stretch
    }

    .inquiry-submit-row button {
        width: 100%
    }
}

.listing-agent {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 0;
    border-top: 1px solid #e6e9e4
}

.listing-agent img {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    object-fit: cover
}

.listing-agent span {
    min-width: 0
}

.listing-agent small {
    display: block;
    font-size: 10px;
    letter-spacing: 1.5px;
    color: #738071
}

.listing-agent strong {
    display: block;
    color: #203e32;
    font-size: 17px;
    overflow-wrap: anywhere
}

.listing-agent.compact {
    padding: 0;
    border: 0;
    gap: 8px
}

.listing-agent.compact img {
    width: 30px;
    height: 30px
}

.listing-agent.compact small {
    display: none
}

.listing-agent.compact strong {
    font-size: 12px
}

.card-bottom {
    gap: 12px
}

.card-bottom>button {
    flex-shrink: 0
}

.home-hero {
    position: relative;
    isolation: isolate;
    min-height: 480px;
    padding: 44px 36px 28px;
    margin-bottom: 38px;
    border-radius: 16px;
    overflow: hidden;
    background: #284050;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 64px
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: -2
}

.home-hero:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(11, 28, 40, .72), rgba(11, 28, 40, .1) 85%);
    z-index: -1
}

.home-hero .intro {
    margin: 0;
    align-items: flex-start;
    text-align: center;
}

.home-hero h1 {
    color: white;
    letter-spacing: -4px;
    font: 900 80px / 1.2 Manrope, sans-serif;
}

.home-hero h1 em {
    color: #efd4aa
}

.home-hero .eyebrow {
    color: #efd4aa
}

.home-hero .intro p:not(.eyebrow) {
    color: #f2f5f7;
    font-size: 26px;
    line-height: 1.6
}

.home-hero .intro-note {
    color: #fff;
    border-color: #ffffff66
}

.home-hero .intro-note span {
    color: #efd4aa
}

.home-hero .searchbox {
    margin: 0;
    background: rgba(255, 255, 255, .83);
    border: 1px solid #ffffffa6;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 35px #142b4026;
    overflow: visible
}

.home-hero .tabs {
    border-color: #18324722
}

.home-hero form label {
    color: #294557;
    min-width: 0
}

.home-hero input,
.home-hero select {
    background: transparent;
    color: #183247
}

.home-hero input::placeholder {
    color: #536b7c
}

.home-hero form .primary {
    flex-shrink: 0
}

.home-hero .tabs button {
    font-size: 14px
}

.home-hero .tabs {
    gap: 24px
}

@media(max-width:1050px) {
    .home-hero {
        padding: 32px 24px 24px;
        gap: 48px
    }

    .home-hero #search-form {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr)
    }

    .home-hero #search-form label {
        border: 0;
        padding: 0
    }

    .home-hero #search-form .location {
        grid-column: 1/-1
    }

    .home-hero #search-form .primary {
        grid-column: 1/-1
    }
}

@media(max-width:600px) {
    .home-hero {
        padding: 28px 16px 16px;
        gap: 32px;
        border-radius: 12px;
        min-height: 0
    }

    .home-hero .hero-image {
        object-position: 60% center
    }

    .home-hero .intro h1 {
        font-size: 65px
    }

    .home-hero .searchbox {
        background: rgba(255, 255, 255, .88)
    }

    .home-hero #search-form {
        grid-template-columns: minmax(0, 1fr);
        gap: 19px;
        padding: 18px
    }

    .home-hero #search-form input,
    .home-hero #search-form select {
        font-size: 16px;
        min-height: 34px;
        width: 100%
    }

    .home-hero .tabs {
        padding: 0 16px;
        gap: 18px
    }

    .home-hero .tabs button {
        font-size: 13px
    }

    .home-hero .intro .eyebrow {
        font-size: 10px;
        line-height: 1.5
    }
}

.listing-agent .agent-phone {
    display: inline-block;
    margin-top: 7px;
    font-size: 16px;
    line-height: 1.5;
    color: #345e7d;
    text-decoration: underline;
    text-underline-offset: 3px;
    overflow-wrap: anywhere
}

.inquiry-form .viewing-request {
    padding: 18px;
    border: 1px solid #d7e2e9;
    border-radius: 6px;
    background: #fff
}

.inquiry-form .viewing-hint {
    display: block;
    font-size: 13px;
    line-height: 1.6;
    color: #607b8e;
    margin-top: 10px
}

.inquiry-form input[type=datetime-local] {
    min-width: 0;
    max-width: 100%
}

:root {
    --brand-primary: #ff3131;
    --brand-navy: #023d7f;
    --brand-primary-hover: #e52727;
    --brand-tint: #fff0f0
}

.brand {
    display: flex;
    flex-shrink: 0;
    letter-spacing: normal
}

.brand .official-logo {
    display: block;
    width: 235px;
    height: auto;
    max-width: 100%;
    object-fit: contain
}

.footer-brand .official-logo {
    display: block;
    width: 190px;
    height: auto
}

.primary {
    background: var(--brand-primary);
    color: var(--brand-navy)
}

.primary:hover {
    background: var(--brand-primary-hover);
    color: var(--brand-navy)
}

.chip.selected,
.badge.featured {
    background: var(--brand-primary);
    color: var(--brand-navy);
    border-color: var(--brand-primary)
}

.tabs .selected:after,
.nav.active:after {
    background: var(--brand-primary)
}

.nav.active,
.tabs .selected {
    color: var(--brand-navy)
}

.heart.on {
    color: #b51e1e
}

.gallery-thumbs button[aria-pressed=true] {
    border-color: var(--brand-primary)
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid #b51e1e;
    outline-offset: 3px
}

.home-hero h1 em,
.home-hero .eyebrow,
.home-hero .intro-note span {
    color: var(--brand-primary)
}

.eyebrow {
    color: #b51e1e
}

@media(max-width:1100px) {
    .brand .official-logo {
        width: 205px
    }

    header>nav {
        gap: 18px
    }
}

@media(max-width:600px) {
    .brand .official-logo {
        width: 180px
    }

    header {
        padding-left: 4%;
        padding-right: 4%;
        gap: 10px
    }

    .manager-entry {
        font-size: 12px
    }

    .saved {
        padding: 8px 6px
    }

    .footer-brand .official-logo {
        width: 165px
    }
}

@media(max-width:380px) {
    .brand .official-logo {
        width: 150px
    }
}

.home-main {
    max-width: none;
    padding: 0
}

.home-main .home-hero {
    width: 100%;
    border-radius: 0;
    padding: 48px max(5%, calc((100% - 1296px)/2)) 32px;
    margin: 0 0 38px
}

.catalog-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 5% 32px
}

@media(max-width:1050px) {
    .home-main .home-hero {
        padding: 36px 4% 28px
    }

    .catalog-container {
        padding-left: 4%;
        padding-right: 4%
    }
}

@media(max-width:600px) {
    .home-main .home-hero {
        padding: 28px 4% 24px;
        margin-bottom: 30px;
        min-height: 570px;
    }
}

.primary,
.primary:hover,
.chip.selected,
.badge.featured {
    color: #fff
}

/* Keep the home account controls together at the right edge. */
.home-header {
    gap: 24px;
}

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    margin-left: auto;
    flex-shrink: 0;
}

.header-actions>* {
    white-space: nowrap;
}

.header-actions .header-login {
    background: none;
    border: 0;
    margin-left: 0;
    padding: 12px 0;
    color: var(--brand-primary);
    font-size: 14px;
}

.header-actions .primary {
    text-decoration: none;
}

@media (max-width: 1000px) {
    .home-header {
        height: auto;
        min-height: 100px;
        flex-wrap: wrap;
        padding-top: 16px;
        padding-bottom: 16px;
        gap: 16px;
    }

    .home-header>nav {
        order: 3;
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .header-actions {
        width: 100%;
        gap: 14px;
    }

    .header-actions .saved span {
        display: inline;
    }
}

.card a.title-button {
    display: block;
    text-decoration: none
}

.card-bottom>a {
    color: var(--brand-primary);
    text-decoration: none;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 700
}

.photo>a.open-photo {
    display: block;
    width: 100%;
    height: 100%
}

/* Public navigation remains visible while scrolling. */
.home-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    box-shadow: 0 2px 12px #1832470a
}

.home-header {
    transition: background-color .3s ease, box-shadow .3s ease, border-radius .3s ease, padding .3s ease;
    isolation: isolate
}

.home-header .official-logo {
    transition: width .3s ease
}

.home-header.is-floating {
    position: fixed;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 1380px;
    min-height: 64px;
    height: auto;
    padding: 10px 24px;
    border: 1px solid #ffffffa6;
    border-radius: 35px;
    background: rgba(255, 255, 255, .82);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 10px 36px #18324726;
    animation: header-float-in .3s ease both
}

.home-header.is-floating .official-logo {
    width: 170px
}

.home-header.is-floating .header-actions {
    gap: 12px
}

.header-scroll-space {
    height: 0
}

@keyframes header-float-in {
    from {
        opacity: .85;
        translate: 0 -8px
    }

    to {
        opacity: 1;
        translate: 0 0
    }
}

@media(max-width:600px) {
    .home-header.is-floating {
        top: 8px;
        width: calc(100% - 16px);
        padding: 10px 14px;
        border-radius: 18px;
        gap: 8px
    }

    .home-header.is-floating .official-logo {
        width: 140px
    }

    .home-header.is-floating .header-actions {
        gap: 12px
    }

    .home-header.is-floating .header-actions .primary {
        padding: 9px 13px
    }
}

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

    .home-header,
    .home-header .official-logo {
        transition: none
    }

    .home-header.is-floating {
        animation: none
    }
}

.mobile-menu-toggle,
.mobile-header-menu {
    display: none
}

@media(max-width:760px) {
    .home-header {
        min-height: 76px;
        flex-wrap: nowrap;
        gap: 12px
    }

    .home-header .mobile-menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-left: auto;
        padding: 10px;
        border: 1px solid #dce4ea;
        border-radius: 10px;
        color: #023d7f;
        background: transparent;
        cursor: pointer;
        flex-shrink: 0
    }

    .home-header .mobile-menu-toggle:focus-visible {
        outline: 2px solid var(--brand-primary);
        outline-offset: 3px
    }

    .home-header .mobile-header-menu:not([hidden]) {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: calc(100% + 8px);
        right: 12px;
        width: min(300px, calc(100vw - 32px));
        max-height: calc(100dvh - 110px);
        overflow: auto;
        padding: 16px;
        gap: 12px;
        border: 1px solid #e1e7ec;
        border-radius: 16px;
        background: rgba(255, 255, 255, .97);
        box-shadow: 0 12px 32px #18324726;
        backdrop-filter: blur(16px)
    }

    .home-header .mobile-header-menu nav {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        height: auto;
        gap: 4px;
        border-bottom: 1px solid #e1e7ec;
        padding-bottom: 12px
    }

    .home-header .mobile-header-menu .nav {
        height: auto;
        padding: 12px;
        text-align: left;
        font-size: 14px
    }

    .home-header .mobile-header-menu .header-actions {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        margin: 0;
        gap: 10px
    }

    .home-header .mobile-header-menu .header-actions>* {
        text-align: center;
        margin: 0
    }

    .home-header .mobile-header-menu .saved span {
        display: inline
    }

    .home-header.is-floating .mobile-header-menu {
        right: 0
    }
}

.property-outcome-label {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: transparent;
    color: #fff;
    padding: 16px;
    font-size: clamp(28px, 3vw, 44px);
    font-weight: 900;
    letter-spacing: .12em;
    line-height: 1.2;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .5);
    pointer-events: none
}

.manager-listing-image {
    position: relative;
    overflow: hidden
}

.photo:has(>.property-outcome-label),
.gallery-stage:has(>.property-outcome-label) {
    overflow: hidden
}

.photo:has(>.property-outcome-label)>.open-photo>img,
.manager-listing-image:has(>.property-outcome-label)>img,
.gallery-stage:has(>.property-outcome-label)>img {
    filter: blur(3px) brightness(.48);
    transform: scale(1.04)
}

/* Reference listing cards: scoped to preserve other page layouts. */
.card.reference-card {
    border: 1px solid #e3e5eb;
    border-radius: 28px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 4px #1229400c;
    container-type: inline-size
}

.reference-card .photo {
    position: relative;
    height: auto;
    aspect-ratio: 1.5;
    overflow: hidden
}

.reference-card .photo img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.reference-card .card-property-type {
    position: absolute;
    left: 20px;
    top: 20px;
    max-width: calc(100% - 86px);
    background: var(--brand-primary);
    color: white;
    border-radius: 13px;
    padding: 10px 14px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.25
}

.reference-card .heart {
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffffed;
    color: #183247;
    border: 0
}

.reference-card .heart svg {
    width: 23px;
    height: 23px
}

.reference-card .heart.on {
    color: var(--brand-primary)
}

.reference-card .heart.on svg {
    fill: currentColor
}

.reference-card .card-body {
    padding: 26px 24px 24px
}

.card-reference {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .16em;
    margin-bottom: 7px
}

.card-reference button {
    border: 0;
    background: none;
    color: var(--brand-primary);
    padding: 2px;
    display: inline-flex;
    cursor: pointer
}

.card-reference svg {
    width: 14px;
    height: 14px
}

.reference-card h3 {
    margin: 0
}

.reference-card .title-button {
    font-size: 20px;
    line-height: 1.3;
    font-weight: 800;
    color: #122940;
    white-space: normal
}

.reference-card .address {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 12px 0 20px;
    font-size: 14px;
    line-height: 1.5;
    color: #183247
}

.reference-card .address svg {
    flex-shrink: 0;
    margin-top: 2px
}

.reference-card .price,
.manager-profile-page .reference-card .price {
    font-size: 30px;
    color: var(--brand-primary);
    font-weight: 800;
    margin: 0 0 20px;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
    line-height: 1.25
}

.reference-card .price small {
    font-size: 12px;
    font-weight: 500;
    color: #8793a5
}

.reference-card .specs {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    border: 0;
    padding: 0 0 24px;
    margin: 0;
    color: #8793a5;
    font-size: 12px;
    font-weight: 700
}

.reference-card .specs span {
    display: inline-flex;
    align-items: center;
    gap: 6px
}

.reference-card .specs svg {
    color: #242b33;
    flex-shrink: 0
}

.card-person-footer {
    border-top: 1px solid #e9edf2;
    padding-top: 16px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    justify-content: space-between
}

.card-manager {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #122940;
    text-decoration: none;
    min-width: 0;
    flex: 1 1 145px
}

.card-manager:hover strong {
    text-decoration: underline;
    color: var(--brand-primary)
}

.card-manager-avatar {
    position: relative;
    width: 36px;
    height: 36px;
    border: 2px solid #ffd9d9;
    border-radius: 50%;
    flex-shrink: 0;
    background: #fff1f1
}

.card-manager-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%
}

.card-verified {
    position: absolute;
    bottom: -3px;
    right: -4px;
    background: #1877f2;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 50%;
    width: 15px;
    height: 15px;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center
}

.card-manager-text {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px
}

.card-manager-text strong {
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.card-manager-text small {
    font-size: 10px;
    color: #8793a5
}

.card-contact-actions {
    display: flex;
    gap: 6px;
    align-items: center
}

.card-contact-actions a,
.card-contact-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 7px;
    border: 0;
    border-radius: 50%;
    background: #f4f6f8;
    color: #657386;
    cursor: pointer
}

.card-contact-actions .card-share {
    background: #fff0ed;
    color: var(--brand-primary)
}

.card-contact-actions a:last-child {
    background: #fff0ed;
    color: var(--brand-primary)
}

.card-contact-actions svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0
}

.card-action-status {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: #183247;
    color: #fff;
    padding: 12px 18px;
    border-radius: 10px;
    z-index: 200;
    max-width: 90vw;
    overflow-wrap: anywhere
}

.card-action-status[hidden] {
    display: none
}

@container(max-width:300px) {
    .reference-card .card-body {
        padding: 20px 16px
    }

    .reference-card .title-button {
        font-size: 17px
    }

    .reference-card .card-person-footer {
        gap: 12px
    }

    .reference-card .card-contact-actions {
        margin-left: 44px
    }

    .reference-card .specs {
        gap: 8px
    }

    .reference-card .card-property-type {
        left: 14px;
        top: 14px
    }

    .reference-card .heart {
        right: 14px;
        top: 14px
    }
}/* Natural-language search: preserve the user's hero and card styling. */
.home-hero .smart-searchbox{backdrop-filter:none;-webkit-backdrop-filter:none;max-width:900px;width:100%;margin:28px auto 0;padding:0;background:transparent;border:0;box-shadow:none}.home-hero #search-form.smart-search-form{display:flex;align-items:center;gap:14px;padding:9px 10px 9px 22px;background:#fff;backdrop-filter:none;-webkit-backdrop-filter:none;border:1px solid #ffffffa6;border-radius:999px;box-shadow:0 8px 32px #10253726;margin:0}.home-hero .smart-search-form .smart-query-label{flex:1;min-width:0;padding:0;border:0;display:block}.home-hero .smart-search-form #query{width:100%;margin:0;padding:10px 0;font-family:inherit;font-size:17px;line-height:1.5;background:transparent;border:0;color:#183247;outline-offset:3px}.search-brand-icon{width:36px;height:36px;object-fit:contain;flex-shrink:0}.home-hero #search-form .smart-search-submit{display:flex;align-items:center;justify-content:center;gap:8px;border-radius:999px;padding:15px 24px;flex:0 0 auto;width:auto;min-height:50px}.search-view-options{display:flex;justify-content:center;gap:10px;margin-top:18px;flex-wrap:wrap}.search-view-options button{border:1px solid #ffffff80;background:#ffffffed;color:#183247;border-radius:999px;padding:12px 22px;font-weight:700}.search-view-options button[aria-pressed=true]{background:var(--brand-primary);color:#fff;border-color:var(--brand-primary)}.search-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.results{scroll-margin-top:110px}#search-understood{font-size:14px;color:#526878;margin:14px 0}#extra-filters:not([hidden]){display:flex;flex-wrap:wrap;gap:16px}#grid[hidden],#map-results[hidden]{display:none}#property-results-map{height:560px;min-height:360px;border-radius:22px;border:1px solid #dce4ea;isolation:isolate;z-index:0}#map-message{font-size:14px;color:#526878;line-height:1.6}.map-price-pill{display:inline-block;background:#fff;color:#183247!important;border:1px solid #dce4ea;border-radius:999px;box-shadow:0 2px 8px #18324740;font-size:13px;font-weight:800;line-height:1.4;padding:3px 12px 3px 3px;text-decoration:none!important;white-space:nowrap;cursor:pointer}.map-price-pill:hover,.map-price-pill:focus-visible{background:var(--brand-primary);color:#fff!important;outline:2px solid white}.property-price-marker{background:none;border:0}.map-location-properties a,#unmapped-properties>a{display:block;padding:8px;color:#183247;text-decoration:underline}#unmapped-properties{margin:16px 0}.leaflet-container{font-family:'DM Sans',sans-serif}.leaflet-control-attribution{font-size:11px}@media(max-width:640px){.home-hero #search-form.smart-search-form{gap:9px;padding:8px 8px 8px 16px}.search-brand-icon{width:28px;height:28px}.home-hero .smart-search-form #query{font-size:15px}.home-hero #search-form .smart-search-submit{padding:12px;min-height:44px}.smart-search-submit span{display:none}.search-view-options button{font-size:13px;padding:11px 16px}#property-results-map{height:65dvh}.home-hero .smart-searchbox{margin-top:22px}}

/* Icon-only search actions inside the rounded bar. */
.home-hero .smart-search-form .search-inline-actions{display:flex;align-items:center;flex-wrap:nowrap;flex:0 0 auto;gap:6px;margin:0;padding-left:10px;border-left:1px solid #e1e7ec}
.home-hero .smart-search-form .search-inline-actions button{display:inline-flex;align-items:center;justify-content:center;width:46px;height:46px;min-width:46px;padding:0;border:0;border-radius:50%;background:transparent;color:#183247}
.home-hero .smart-search-form .search-inline-actions button[aria-pressed=true]{background:var(--brand-primary);color:#fff}
.home-hero .smart-search-form .search-inline-actions button:hover{background:#ffeded;color:var(--brand-primary)}
.home-hero .smart-search-form .search-inline-actions button:focus-visible{outline:2px solid var(--brand-primary);outline-offset:2px}
@media(max-width:640px){.home-hero .smart-search-form .search-inline-actions{gap:2px;padding-left:6px}.home-hero .smart-search-form .search-inline-actions button{width:44px;height:44px;min-width:44px}.home-hero #search-form.smart-search-form{gap:8px}}


/* Full-screen home hero and navigation floating from the first paint. */
body:has(.home-main) .home-header {
    position: fixed;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 91%;
    max-width: none;
    min-height: 64px;
    height: auto;
    padding: 10px 24px;
    border: 1px solid #ffffffa6;
    border-radius: 999px;
    background: rgba(255, 255, 255, .82);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 10px 36px #18324726;
    animation: none;
}
body:has(.home-main) .home-header .official-logo { width: 170px; }
body:has(.home-main) .home-header .header-actions { gap: 12px; }
body:has(.home-main) .header-scroll-space { display: none; }
.home-main .home-hero {
    min-height: 100vh;
    min-height: 100svh;
    padding-top: 150px;
    padding-bottom: 64px;
}
@media (min-width: 761px) and (max-width: 1000px) {
    .home-main .home-hero { padding-top: 190px; }
}
@media (max-width: 760px) {
    body:has(.home-main) .home-header {
        top: 8px;
        width: calc(100% - 24px);
        padding: 10px 14px;
        gap: 8px;
    }
    body:has(.home-main) .home-header .official-logo { width: 140px; }
    .home-main .home-hero {
        min-height: max(570px, 100svh);
        padding-top: 112px;
        padding-bottom: 40px;
    }
}

/* Compact saved-homes control with an overlapping notification badge. */
.home-header .header-actions .saved-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    padding: 8px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--brand-primary);
    align-self: center;
}
.home-header .saved-icon:hover { background: #fff6; }
.home-header .saved-icon #saved-count {
    position: absolute;
    top: 0;
    right: -3px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 4px;
    margin: 0;
    border: 2px solid #fff;
    border-radius: 999px;
    background: var(--brand-primary);
    color: #fff;
    font-size: 10px;
    line-height: 1;
    font-weight: 700;
}

.map-price-pill{display:inline-flex;align-items:center;}.map-price-pill .map-price-icon{display:block;width:36px;height:36px;max-width:none;object-fit:contain;flex:0 0 36px;background:#fff;border-radius:50%;padding:2px;box-sizing:border-box}

/* Keep the public header usable before JavaScript loads, then compact it. */
@media(max-width:760px){
 .home-header:not(:has(.mobile-menu-toggle)){flex-wrap:wrap}
 .home-header:not(:has(.mobile-menu-toggle))>.header-actions{width:auto;flex-wrap:wrap;gap:10px}
 .home-header>.brand{min-width:0;flex-shrink:1}
 .home-header>.brand .official-logo{max-width:100%;height:auto}
 .home-header:has(.mobile-menu-toggle){flex-wrap:nowrap}
 .home-header .mobile-menu-toggle{width:44px;height:44px;padding:9px}
 .home-header .mobile-header-menu:not([hidden]){z-index:100;box-sizing:border-box;background:#fff;right:6px;max-width:calc(100% - 12px)}
 .home-header .mobile-header-menu[hidden]{display:none}
 .home-header .mobile-header-menu .header-actions{flex-shrink:1}
 .home-header .mobile-header-menu .nav{white-space:normal}
}

/* Hero photos crossfade while each image slowly moves closer. */
.hero-slideshow .hero-image{opacity:0;transition:opacity 1.5s ease-in-out;transform:scale(1);pointer-events:none}
.hero-slideshow .hero-image.is-active{opacity:1}
.hero-slideshow .hero-image.is-zooming{animation:hero-slow-zoom 8.5s linear both}
.hero-slideshow.is-paused .hero-image{animation-play-state:paused}
@keyframes hero-slow-zoom{from{transform:scale(1)}to{transform:scale(1.09)}}
@media(prefers-reduced-motion:reduce){.hero-slideshow .hero-image{animation:none!important;transition:none;transform:none}}
