:root {
    --sg-orange: #f47b20;
    --sg-orange-dark: #d9600e;
    --sg-ink: #22252a;
    --sg-muted: #777b82;
    --sg-line: #e6e6e6;
    --sg-soft: #f6f6f6;
    --sg-white: #fff;
    --sg-container: 1170px;
    --sg-shadow: 0 12px 38px rgba(24, 28, 35, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.front-body {
    margin: 0;
    color: var(--sg-ink);
    background: #fff;
    font-family: "Inter", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
}
body.front-body a { color: inherit; text-decoration: none; }
body.front-body img { display: block; max-width: 100%; }
body.front-body button,
body.front-body input,
body.front-body select,
body.front-body textarea { font: inherit; }
.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0);
    white-space: nowrap; border: 0;
}

.section-shell,
.topbar-shell,
.nav-shell,
.footer-shell {
    width: min(var(--sg-container), calc(100% - 40px));
    margin-inline: auto;
}

/* Header */
.site-header {
    position: sticky;
    top: -42px;
    z-index: 50;
    background: #fff;
    box-shadow: 0 1px 0 rgba(0,0,0,.08);
}
.topbar-shell {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #a6a6a6;
    font-size: 12px;
    border-bottom: 1px solid #eee;
}
.topbar-links { display: flex; gap: 26px; }
.topbar-links a:hover { color: var(--sg-orange); }
.nav-shell {
    min-height: 84px;
    display: flex;
    align-items: center;
    gap: 36px;
}
.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    flex: 0 0 auto;
}
.brand-logo {
    display: block;
    width: 245px;
    height: auto;
}
.footer-brand-logo {
    width: 260px;
    max-width: 100%;
}
.brand-mark {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--sg-orange);
    font-size: 25px;
    font-weight: 800;
}
.brand-copy { display: grid; line-height: 1; }
.brand-copy strong {
    font-size: 22px;
    letter-spacing: 1.5px;
}
.brand-copy small {
    margin-top: 6px;
    color: var(--sg-orange);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
}
.nav-panel {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.main-nav {
    display: flex;
    align-items: center;
    margin-left: auto;
}
.main-nav a {
    position: relative;
    padding: 31px 15px 28px;
    color: #34373b;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
}
.main-nav a::after {
    content: "";
    position: absolute;
    left: 15px; right: 15px; bottom: 20px;
    height: 2px;
    background: var(--sg-orange);
    transform: scaleX(0);
    transition: transform .2s ease;
}
.main-nav a:hover { color: var(--sg-orange); }
.main-nav a:hover::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: 18px; }
.nav-login {
    padding: 10px 12px;
    color: #74777c;
    font-size: 12px;
}
.nav-cta,
.footer-cta {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 13px 21px;
    color: #fff;
    background: var(--sg-orange);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    transition: background .2s ease;
}
.nav-cta:hover,
.footer-cta:hover { background: var(--sg-orange-dark); }
.nav-toggle { display: none; border: 0; background: transparent; }

/* Hero */
.hero {
    position: relative;
    min-height: 650px;
    color: #fff;
    background: #1d2327;
}
.hero-image {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
}
.hero-content {
    position: relative;
    z-index: 2;
    width: min(var(--sg-container), calc(100% - 40px));
    margin-inline: auto;
    padding-top: 118px;
}
.eyebrow {
    display: inline-block;
    color: var(--sg-orange);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.4px;
}
.eyebrow-light { color: #fff; }
.hero h1 {
    max-width: 700px;
    margin: 15px 0 22px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(50px, 6vw, 78px);
    font-weight: 400;
    line-height: 1.03;
}
.hero h1 em { color: var(--sg-orange); font-weight: 400; }
.hero-content > p {
    max-width: 620px;
    margin: 0;
    color: rgba(255,255,255,.78);
    font-size: 16px;
}
.hero-search {
    position: absolute;
    z-index: 4;
    left: 50%;
    bottom: -75px;
    width: min(var(--sg-container), calc(100% - 40px));
    transform: translateX(-50%);
    background: #fff;
    box-shadow: var(--sg-shadow);
}
.search-tabs {
    display: flex;
    height: 48px;
    border-bottom: 1px solid var(--sg-line);
}
.search-tabs label { cursor: pointer; }
.search-tabs input { position: absolute; opacity: 0; }
.search-tabs span {
    height: 48px;
    display: grid;
    place-items: center;
    min-width: 118px;
    color: #777;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}
.search-tabs input:checked + span {
    color: #fff;
    background: var(--sg-orange);
}
.search-fields {
    display: grid;
    grid-template-columns: 1fr 1fr 190px;
    align-items: end;
    gap: 0;
    padding: 24px;
}
.search-fields label {
    display: grid;
    gap: 7px;
    padding-right: 18px;
}
.search-fields label > span {
    color: #777;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.search-fields select,
.search-fields input {
    width: 100%;
    height: 50px;
    padding: 0 15px;
    color: #555;
    border: 1px solid #ddd;
    border-radius: 0;
    background: #fff;
    outline: none;
}
.search-fields select:focus,
.search-fields input:focus { border-color: var(--sg-orange); }
.search-fields button {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    color: #fff;
    border: 0;
    background: var(--sg-orange);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
}
.hero-meta {
    position: absolute;
    z-index: 3;
    left: 50%;
    bottom: 100px;
    width: min(var(--sg-container), calc(100% - 40px));
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 15px;
    color: rgba(255,255,255,.72);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.hero-meta i { width: 55px; height: 1px; background: rgba(255,255,255,.5); }
.hero-meta strong { color: #fff; }

/* Sections */
.new-listings-carousel { padding-top: 170px; padding-bottom: 95px; }
.carousel-heading,
.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 38px;
}
.carousel-title { display: flex; align-items: center; gap: 20px; }
.carousel-symbol {
    width: 58px; height: 58px;
    display: grid; place-items: center;
    color: #fff; background: var(--sg-orange);
    font-size: 25px;
}
.carousel-heading h2,
.section-heading h2,
.finder-copy h2,
.about-copy h2,
.promo-card h2,
.career-copy h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(34px, 4vw, 48px);
    font-weight: 400;
    line-height: 1.12;
}
.carousel-heading p { margin: 6px 0 0; color: var(--sg-muted); }
.carousel-controls { display: flex; gap: 8px; }
.carousel-controls button {
    width: 44px; height: 44px;
    color: #555;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
}
.carousel-controls button:hover { color: #fff; border-color: var(--sg-orange); background: var(--sg-orange); }
.carousel-viewport { overflow: hidden; }
.carousel-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 48px) / 3);
    gap: 24px;
    transition: transform .35s ease;
}
.carousel-card,
.property-card {
    min-width: 0;
    border: 1px solid var(--sg-line);
    background: #fff;
    transition: box-shadow .25s ease, transform .25s ease;
}
.carousel-card:hover,
.property-card:hover { transform: translateY(-5px); box-shadow: var(--sg-shadow); }
.carousel-card-media,
.property-media {
    position: relative;
    display: block;
    overflow: hidden;
    height: 245px;
    background: #eee;
}
.carousel-card-media img,
.property-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.carousel-card:hover img,
.property-card:hover img { transform: scale(1.045); }
.carousel-card-media > span,
.property-badge {
    position: absolute;
    left: 18px; top: 18px;
    padding: 5px 12px;
    color: #fff;
    background: var(--sg-orange);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}
.carousel-card-body,
.property-body { padding: 22px; }
.carousel-card-body small,
.property-location {
    color: var(--sg-orange);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}
.carousel-card h3,
.property-card h3 { margin: 8px 0; font-family: Georgia,serif; font-size: 22px; line-height: 1.25; }
.carousel-card h3 a:hover,
.property-card h3 a:hover { color: var(--sg-orange); }
.carousel-card-specs,
.property-details {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 15px;
    color: #8b8e92;
    font-size: 12px;
}
.carousel-card-body > strong {
    display: block;
    margin-top: 14px;
    color: var(--sg-orange);
    font-size: 18px;
}
.carousel-progress { height: 2px; margin-top: 35px; background: #eee; }
.carousel-progress span { display: block; width: 34%; height: 100%; background: var(--sg-orange); transition: width .3s ease; }

.finder-panel { display: grid; grid-template-columns: 1.2fr 1fr; margin-bottom: 105px; }
.finder-visual { position: relative; min-height: 500px; overflow: hidden; background: #25282c; }
.finder-visual::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(20,23,26,.9), rgba(20,23,26,.22));
}
.finder-visual img { width: 100%; height: 100%; object-fit: cover; }
.finder-copy {
    position: absolute;
    z-index: 2;
    left: 48px; top: 50%;
    width: min(390px, calc(100% - 70px));
    transform: translateY(-50%);
    color: #fff;
}
.finder-copy h2 { margin: 12px 0 16px; }
.finder-copy h2 em { color: var(--sg-orange); font-weight: 400; }
.finder-copy p { color: rgba(255,255,255,.7); }
.finder-categories { display: grid; grid-template-columns: 1fr 1fr; background: var(--sg-orange); }
.finder-categories > a {
    min-height: 250px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #fff;
    border-right: 1px solid rgba(255,255,255,.25);
    border-bottom: 1px solid rgba(255,255,255,.25);
}
.finder-categories > a:hover { background: rgba(0,0,0,.08); }
.finder-icon { font-size: 30px; }
.finder-categories strong { display: block; font-family: Georgia,serif; font-size: 21px; font-weight: 400; }
.finder-categories small { color: rgba(255,255,255,.75); }
.finder-categories b { align-self: flex-end; font-size: 22px; }

.portfolio-section { padding: 95px 0 105px; }
.section-heading-side { max-width: 430px; }
.section-heading-side p { color: var(--sg-muted); }
.section-heading-side a,
.about-copy a,
.career-copy > a {
    display: inline-flex;
    gap: 14px;
    color: var(--sg-orange);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}
.property-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.property-open {
    position: absolute; right: 18px; bottom: 18px;
    width: 42px; height: 42px;
    display: grid; place-items: center;
    color: #fff !important;
    background: var(--sg-orange);
    font-size: 19px;
    font-weight: 700;
    line-height: 1;
    transition: background .2s ease,transform .2s ease;
}
.property-open:hover {
    background: var(--sg-orange-dark);
    transform: translateY(-2px);
}
.property-details { padding-top: 14px; border-top: 1px solid #eee; }
.property-details strong { margin-left: auto; color: var(--sg-orange); font-size: 15px; }
.empty-portfolio { grid-column: 1/-1; padding: 35px; background: #f5f5f5; text-align: center; }

.about-band { color: #fff; background: #272a2e; }
.about-shell {
    min-height: 470px;
    display: grid;
    grid-template-columns: .65fr 1.5fr 1fr;
    align-items: center;
    gap: 60px;
}
.about-number { color: var(--sg-orange); font-family: Georgia,serif; font-size: 95px; }
.about-copy h2 { margin: 12px 0 20px; }
.about-copy p { color: rgba(255,255,255,.66); }
.about-stats { display: grid; gap: 24px; }
.about-stats div { padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.about-stats strong { display: block; color: var(--sg-orange); font-family: Georgia,serif; font-size: 37px; }
.about-stats span { color: rgba(255,255,255,.66); font-size: 12px; text-transform: uppercase; }

.promo-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; padding: 105px 0; }
.promo-card {
    min-height: 390px;
    padding: 42px 35px;
    display: flex;
    flex-direction: column;
    color: #fff;
    background: #32363a;
}
.promo-card:nth-child(2) { background: var(--sg-orange); }
.promo-card:nth-child(3) { color: var(--sg-ink); background: #efefef; }
.promo-card > span { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.6px; }
.promo-card h2 { margin: 18px 0; font-size: 36px; }
.promo-card p { opacity: .72; }
.promo-card a { margin-top: auto; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.promo-card a b { float: right; font-size: 20px; }

.career-section { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; margin-bottom: 105px; background: #f3f3f3; }
.career-copy { padding: 70px; align-self: center; }
.career-copy h2 { margin: 12px 0 20px; }
.career-copy p { color: var(--sg-muted); }
.career-copy ul { padding-left: 18px; margin: 25px 0; }
.career-copy li { margin-bottom: 8px; }
.career-image img { width: 100%; height: 100%; object-fit: cover; }

/* Shared inner-page treatment */
.page-hero,
.inner-hero,
.listing-page-hero {
    padding: 85px 0;
    color: #fff;
    background: #292d31;
}
.page-hero h1,
.inner-hero h1,
.listing-page-hero h1 {
    margin: 0;
    font-family: Georgia,serif;
    font-size: clamp(40px,5vw,62px);
    font-weight: 400;
}
.content-shell,
.listings-shell,
.detail-shell { width: min(var(--sg-container),calc(100% - 40px)); margin: 80px auto; }
.form-card,
.content-card,
.detail-card {
    padding: 30px;
    border: 1px solid var(--sg-line);
    background: #fff;
}
input, select, textarea { border-radius: 0; }

/* Footer */
.site-footer { color: rgba(255,255,255,.67); background: #202327; }
.footer-lead {
    min-height: 235px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-eyebrow { color: var(--sg-orange); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; }
.footer-lead h2 {
    max-width: 700px;
    margin: 10px 0 0;
    color: #fff;
    font-family: Georgia,serif;
    font-size: clamp(34px,4vw,50px);
    font-weight: 400;
    line-height: 1.13;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3,1fr);
    gap: 50px;
    padding: 70px 0 55px;
}
.brand-lockup-light .brand-copy strong { color: #fff; }
.footer-brand p { max-width: 320px; margin-top: 22px; }
.footer-column { display: grid; align-content: start; gap: 10px; }
.footer-column h3 { margin: 0 0 12px; color: #fff; font-family: Georgia,serif; font-weight: 400; }
.footer-column a:hover { color: var(--sg-orange); }
.footer-eids {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border: 1px solid rgba(255,255,255,.1);
}
.footer-eids-mark {
    flex: 0 0 auto;
    width: 34px; height: 34px;
    display: grid; place-items: center;
    color: #fff; background: var(--sg-orange);
}
.footer-eids p { margin: 0; font-size: 12px; }
.footer-bottom {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    font-size: 12px;
    border-top: 1px solid rgba(255,255,255,.1);
}

@media (max-width: 1020px) {
    .nav-toggle {
        display: grid;
        gap: 5px;
        width: 43px; height: 43px;
        place-content: center;
        margin-left: auto;
        cursor: pointer;
    }
    .nav-toggle span:not(.sr-only) { display: block; width: 23px; height: 2px; background: #333; }
    .nav-panel {
        display: none;
        position: absolute;
        left: 0; right: 0; top: 100%;
        padding: 22px;
        color: #333;
        background: #fff;
        box-shadow: var(--sg-shadow);
    }
    .nav-panel.is-open { display: block; }
    .main-nav { display: grid; margin: 0; }
    .main-nav a { padding: 12px 5px; border-bottom: 1px solid #eee; }
    .main-nav a::after { display: none; }
    .nav-actions { margin: 18px 0 0; }
    .search-fields { grid-template-columns: 1fr 1fr 160px; }
    .finder-panel { grid-template-columns: 1fr; }
    .about-shell { grid-template-columns: .6fr 1.4fr; }
    .about-stats { grid-column: 1/-1; grid-template-columns: repeat(3,1fr); padding-bottom: 50px; }
    .property-grid { grid-template-columns: repeat(2,1fr); }
    .footer-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 720px) {
    .section-shell,
    .topbar-shell,
    .nav-shell,
    .footer-shell,
    .hero-content,
    .hero-meta { width: min(100% - 28px,var(--sg-container)); }
    .topbar-shell > span { display: none; }
    .topbar-shell { justify-content: center; }
    .topbar-links { gap: 12px; font-size: 10px; }
    .nav-shell { min-height: 72px; }
    .brand-mark { width: 40px; height: 40px; }
    .brand-logo { width: 210px; }
    .footer-brand-logo { width: 235px; }
    .brand-copy strong { font-size: 18px; }
    .brand-copy small { font-size: 8px; }
    .nav-login { display: none; }
    .hero { min-height: 690px; }
    .hero-content { padding-top: 75px; }
    .hero h1 { font-size: 47px; }
    .hero-content > p { font-size: 14px; }
    .hero-meta { display: none; }
    .hero-search { bottom: -118px; width: calc(100% - 28px); }
    .search-fields { grid-template-columns: 1fr; gap: 12px; padding: 18px; }
    .search-fields label { padding: 0; }
    .new-listings-carousel { padding-top: 175px; padding-bottom: 70px; }
    .carousel-heading,
    .section-heading { align-items: flex-start; flex-direction: column; }
    .carousel-symbol { display: none; }
    .carousel-track { grid-auto-columns: 100%; gap: 16px; }
    .carousel-controls { align-self: flex-end; }
    .finder-visual { min-height: 430px; }
    .finder-copy { left: 28px; }
    .finder-categories { grid-template-columns: 1fr; }
    .finder-categories > a { min-height: 175px; }
    .portfolio-section { padding: 70px 0; }
    .property-grid { grid-template-columns: 1fr; }
    .about-shell { grid-template-columns: 1fr; gap: 20px; padding: 65px 0; }
    .about-number { font-size: 70px; }
    .about-stats { grid-template-columns: 1fr; padding: 0; }
    .promo-grid { grid-template-columns: 1fr; padding: 70px 0; }
    .career-section { grid-template-columns: 1fr; margin-bottom: 70px; }
    .career-copy { padding: 45px 28px; }
    .career-image { min-height: 350px; }
    .footer-lead { align-items: flex-start; flex-direction: column; justify-content: center; padding: 55px 0; }
    .footer-grid { grid-template-columns: 1fr; gap: 35px; }
    .footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; padding: 22px 0; }
}
