/* ============================================================
   SHARED.CSS
   ============================================================ */

/* ============================================================
   SHARED CSS — Mogil Realty Group
   Variables, Reset, Navbar, Mobile Menu, Footer,
   Buttons, Utilities, Team Bands, Page Hero
   Used by ALL pages
============================================================ */

/* ── Variables ──────────────────────────────────────── */
:root {
    --dark:      #0d0d0d;
    --dark-2:    #141414;
    --dark-3:    #1c1c1c;
    --gold:      #c9a55a;
    --gold-lt:   #d4b978;
    --off-white: #f0ebe3;
    --grey:      #888;
    --border:    rgba(255, 255, 255, 0.07);
    --ease:      cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ── Reset ───────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: #fff;
    color: var(--dark);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
}

em  { font-style: italic; color: var(--gold); }
a   { text-decoration: none; color: inherit; }
a:hover { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ── Utilities ───────────────────────────────────────── */
.sec-label {
    display: block;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 14px;
}

.sec-h {
    font-size: clamp(38px, 5vw, 64px);
    color: #fff;
    margin-bottom: 0;
}

.gold-rule {
    width: 36px;
    height: 1px;
    background: var(--gold);
    margin-bottom: 28px;
}

/* ── Buttons ─────────────────────────────────────────── */
.btn-gold {
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--dark);
    background: var(--gold);
    padding: 16px 44px;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}
.btn-gold:hover { background: var(--gold-lt); color: var(--dark); }

.btn-ghost {
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 16px 44px;
    transition: border-color 0.3s, color 0.3s;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* ── Navbar ──────────────────────────────────────────── */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1002;
    padding: 28px 0;
    transition: background 0.4s var(--ease), padding 0.4s var(--ease);
    background: linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 100%);
}

#navbar.scrolled {
    background: var(--dark);
    padding: 14px 0;
    box-shadow: 0 2px 40px rgba(0, 0, 0, 0.35);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 60px;
}

.nav-logo img {
    height: 56px;
    width: auto;
    filter: brightness(0) invert(1);
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 48px;
}

.nav-links a {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    transition: color 0.3s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s var(--ease);
}

.nav-links a:hover        { color: #fff; }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active::after { width: 100%; }

/* Hover image reveal (Artifact-style) */
.nav-item-img {
    position: relative;
}

.nav-img-preview {
    position: absolute;
    top: calc(100% + 18px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    width: 210px;
    height: 140px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s var(--ease);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}

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

.nav-item-img:hover .nav-img-preview {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Mobile hamburger */
.nav-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    flex-direction: column;
    gap: 6px;
    align-items: flex-end;
    z-index: 1001;
    position: relative;
}

.hb-line {
    display: block;
    height: 1.5px;
    background: #fff;
    transition: transform 0.4s cubic-bezier(0.4,0,0.2,1), opacity 0.3s, width 0.3s;
}
.hb-line:nth-child(1) { width: 24px; }
.hb-line:nth-child(2) { width: 18px; }
.hb-line:nth-child(3) { width: 24px; }

.nav-hamburger.is-open .hb-line:nth-child(1) { width:24px; transform: translateY(7.5px) rotate(45deg); }
.nav-hamburger.is-open .hb-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.is-open .hb-line:nth-child(3) { width:24px; transform: translateY(-7.5px) rotate(-45deg); }

/* ── Mobile Full-Screen Menu ─────────────────────────── */
#mobile-menu {
    position: fixed;
    inset: 0;
    background: #0a0a0a;
    z-index: 1002;
    display: flex;
    flex-direction: column;
    clip-path: circle(0% at calc(100% - 44px) 44px);
    transition: clip-path 0.65s cubic-bezier(0.4,0,0.2,1);
    pointer-events: none;
}

#mobile-menu.open {
    clip-path: circle(160% at calc(100% - 44px) 44px);
    pointer-events: all;
}

.mm-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 40px 36px 48px;
}

.mm-top {
    margin-bottom: 56px;
}

.mm-logo {
    height: 36px;
    width: auto;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.4s 0.3s, transform 0.4s 0.3s;
}
#mobile-menu.open .mm-logo { opacity: 1; transform: none; }

.mm-nav { flex: 1; display: flex; align-items: center; }

.mobile-links {
    list-style: none;
    padding: 0; margin: 0;
}

.mobile-links li {
    overflow: hidden;
    margin-bottom: 4px;
}

.mobile-links li a {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(44px, 11vw, 64px);
    font-weight: 300;
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    line-height: 1.15;
    transform: translateY(100%);
    opacity: 0;
    transition: color 0.25s, transform 0.5s cubic-bezier(0.4,0,0.2,1), opacity 0.5s;
    letter-spacing: -0.01em;
}

#mobile-menu.open .mobile-links li:nth-child(1) a { transform:none; opacity:1; transition-delay:0.25s; }
#mobile-menu.open .mobile-links li:nth-child(2) a { transform:none; opacity:1; transition-delay:0.32s; }
#mobile-menu.open .mobile-links li:nth-child(3) a { transform:none; opacity:1; transition-delay:0.39s; }
#mobile-menu.open .mobile-links li:nth-child(4) a { transform:none; opacity:1; transition-delay:0.46s; }
#mobile-menu.open .mobile-links li:nth-child(5) a { transform:none; opacity:1; transition-delay:0.53s; }

.mobile-links a:hover { color: var(--gold); }

.mm-contact {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.08);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.4s 0.55s, transform 0.4s 0.55s;
}
#mobile-menu.open .mm-contact { opacity: 1; transform: none; }

.mm-contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.4);
}
.mm-contact-item i { color: #c9a55a; width: 14px; text-align: center; flex-shrink: 0; }
.mm-contact-item a { color: rgba(255,255,255,0.4); text-decoration: none; }
.mm-contact-item a:hover { color: #c9a55a; }

/* Navbar state when mobile menu is open */
#navbar.nav-menu-open .nav-links,
#navbar.nav-menu-open .nav-logo { opacity: 0; pointer-events: none; transition: opacity 0.2s; }

/* Navbar state when mobile menu is open */
#navbar.nav-menu-open .nav-links,
#navbar.nav-menu-open .nav-logo { opacity: 0; pointer-events: none; transition: opacity 0.2s; }
#navbar.nav-menu-open .nav-hamburger { position: relative; z-index: 1003; }

/* ── Page Hero (inner pages) ─────────────────────────── */
.page-hero {
    height: 52vh;
    min-height: 380px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.page-hero-img {
    position: absolute;
    inset: 0;
}

.page-hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.75) 0%,
        rgba(0, 0, 0, 0.30) 60%,
        rgba(0, 0, 0, 0.15) 100%
    );
}

.page-hero-content {
    position: relative;
    z-index: 2;
    padding: 0 80px 60px;
}

.page-hero-label {
    font-size: 9.5px;
    font-weight: 500;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 14px;
}

.page-hero-h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.0;
    color: #fff;
    margin: 0;
}

.page-hero-h1 em {
    font-style: italic;
    font-weight: 400;
    color: var(--gold);
}

/* ── Team Bands (homepage + about) ──────────────────── */
.tm-band {
    display: grid;
    grid-template-columns: 50% 50%;
    min-height: 620px;
}

.tm-band:nth-child(even) .tm-band-photo { order: 2; }
.tm-band:nth-child(even) .tm-band-copy  { order: 1; }

.tm-band-photo {
    overflow: hidden;
    position: relative;
}

.tm-band-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.8s ease;
}

.tm-band:hover .tm-band-photo img {
    transform: scale(1.04);
}

.tm-band-copy {
    background: #f9f7f3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px;
}

.tm-band:nth-child(even) .tm-band-copy {
    background: #1a1a1a;
}

.tm-band-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 11px;
    letter-spacing: 0.2em;
    color: var(--gold);
    display: block;
    margin-bottom: 32px;
}

.tm-band-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(42px, 4.5vw, 60px);
    line-height: 1.0;
    color: #1a1a1a;
    margin: 0 0 8px;
    letter-spacing: -0.02em;
}

.tm-band:nth-child(even) .tm-band-name { color: #fff; }

.tm-band-name em {
    font-style: italic;
    font-weight: 400;
    color: var(--gold);
}

.tm-band-role {
    font-family: 'Montserrat', sans-serif;
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #aaa;
    display: block;
    margin-bottom: 32px;
}

.tm-band-rule {
    width: 32px;
    height: 1px;
    background: var(--gold);
    margin-bottom: 28px;
}

.tm-band-bio {
    font-family: 'Cormorant Garamond', serif;
    font-size: 17px;
    line-height: 1.85;
    color: #666;
    max-width: 400px;
    margin-bottom: 36px;
}

.tm-band:nth-child(even) .tm-band-bio { color: rgba(255, 255, 255, 0.55); }

.tm-band-email {
    font-family: 'Montserrat', sans-serif;
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: var(--gold);
    text-decoration: none;
    display: inline-block;
    position: relative;
    padding-bottom: 3px;
    transition: color 0.3s, letter-spacing 0.3s;
}

.tm-band-email::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.tm-band-email:hover {
    color: #fff;
    letter-spacing: 0.18em;
}

.tm-band-email:hover::after {
    width: 100%;
}

/* ── Team Band Buttons ───────────────────────────────── */
.tm-band-btns {
    display: flex;
    gap: 12px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.tm-btn {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 11px 22px;
    transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.tm-btn-gold {
    background: var(--gold);
    color: #fff;
    border: 1px solid var(--gold);
}
.tm-btn-gold:hover {
    background: #b8903f;
    border-color: #b8903f;
    color: #fff;
}

.tm-btn-outline {
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
}
.tm-btn-outline:hover {
    background: var(--gold);
    color: #fff;
}

/* dark band variant */
.tm-band:nth-child(even) .tm-btn-outline {
    color: rgba(255,255,255,0.7);
    border-color: rgba(255,255,255,0.35);
}
.tm-band:nth-child(even) .tm-btn-outline:hover {
    background: rgba(255,255,255,0.12);
    color: #fff;
    border-color: rgba(255,255,255,0.6);
}

/* ── Footer ──────────────────────────────────────────── */
#footer {
    background: var(--dark);
    border-top: 1px solid var(--border);
    padding: 84px 64px 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1fr 1fr;
    gap: 60px;
    max-width: 1300px;
    margin: 0 auto;
}

.footer-logo {
    height: 38px;
    filter: brightness(0) invert(1);
    opacity: 0.75;
    margin-bottom: 22px;
}

.footer-blurb {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.35);
    line-height: 1.75;
    font-weight: 300;
    margin-bottom: 22px;
}

.footer-cinfo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 300;
    margin-bottom: 9px;
}

.footer-cinfo i {
    color: var(--gold);
    font-size: 11px;
    width: 14px;
}

.footer-cinfo a {
    color: rgba(255, 255, 255, 0.45);
    transition: color 0.3s;
}

.footer-cinfo a:hover { color: var(--gold); }

.footer-col-head {
    font-size: 9.5px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.25);
    margin-bottom: 22px;
}

.footer-nav { list-style: none; }

.footer-nav li { margin-bottom: 12px; }

.footer-nav a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 300;
    transition: color 0.3s;
}
.footer-nav a:hover { color: var(--gold); }

.footer-bar {
    max-width: 1300px;
    margin: 56px auto 0;
    padding-top: 22px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-copy {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.2);
    font-weight: 300;
}

/* ── Responsive — Shared ─────────────────────────────── */
@media (max-width: 1024px) {
    .nav-inner    { padding: 0 32px; }
    .nav-links    { display: none; }
    .nav-hamburger { display: flex; }

    .page-hero-content { padding: 0 40px 48px; }

    .tm-band               { grid-template-columns: 1fr; height: auto; }
    .tm-band:nth-child(even) .tm-band-photo { order: 1; }
    .tm-band:nth-child(even) .tm-band-copy  { order: 2; }
    .tm-band-photo img     { height: 320px; }
    .tm-band-copy          { padding: 48px 32px; }

    #footer                { padding: 64px 32px 32px; }
    .footer-grid           { grid-template-columns: 1fr 1fr; gap: 40px; }
    .footer-bar            { flex-direction: column; gap: 10px; text-align: center; }
}

@media (max-width: 576px) {
    .footer-grid           { grid-template-columns: 1fr; }
    .page-hero-content     { padding: 0 28px 40px; }
    .mobile-links a        { font-size: 40px; }
}



/* ============================================================
   HOME.CSS
   ============================================================ */

/* ============================================================
   HOME CSS — index.html specific styles
   Hero, Stats, Mission, Services, Projects, Nav Blocks,
   CTA, Email Popup
============================================================ */

/* ── Hero ────────────────────────────────────────────── */
#hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    background: var(--dark);
}

.hero-slides {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.4s ease;
}

.hero-slide.active { opacity: 1; }

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: heroZoom 10s ease forwards;
}

@keyframes heroZoom {
    from { transform: scale(1.06); }
    to   { transform: scale(1.00); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(0, 0, 0, 0.25)  0%,
        rgba(0, 0, 0, 0.15) 35%,
        rgba(0, 0, 0, 0.65) 100%
    );
}

.hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 0 64px 90px;
}

.hero-text { max-width: 680px; }

.hero-label {
    display: block;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
}

.hero-h1 {
    font-size: clamp(56px, 8vw, 108px);
    font-weight: 300;
    color: #fff;
    line-height: 0.95;
    margin-bottom: 36px;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #fff;
    border-bottom: 1px solid var(--gold);
    padding-bottom: 4px;
    transition: gap 0.35s var(--ease), color 0.3s;
}
.hero-cta:hover { color: var(--gold); gap: 22px; }

.hero-scroll-hint {
    position: absolute;
    bottom: 42px;
    right: 64px;
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 9.5px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

.scroll-bar {
    width: 56px;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.scroll-bar::after {
    content: '';
    position: absolute;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    background: var(--gold);
    animation: scanBar 2.2s ease infinite;
}

@keyframes scanBar {
    from { left: -100%; }
    to   { left:  100%; }
}

/* ── Stats Bar ───────────────────────────────────────── */
#stats {
    background: var(--dark);
    padding: 48px 64px;
    border-bottom: 1px solid var(--border);
}

.stats-row {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.stat {
    flex: 1;
    text-align: center;
    position: relative;
}

.stat + .stat::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 44px;
    width: 1px;
    background: var(--border);
}

.stat-num {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 52px;
    font-weight: 300;
    color: var(--gold);
    line-height: 1;
}

.stat-lbl {
    display: block;
    font-size: 9.5px;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 8px;
}

/* ── Mission ─────────────────────────────────────────── */
#mission {
    padding: 130px 64px;
    background: #fff;
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.mission-h {
    font-size: clamp(46px, 5.5vw, 76px);
    line-height: 1.0;
}

.mission-p {
    font-size: 15.5px;
    line-height: 1.95;
    color: #555;
    font-weight: 300;
}

/* ── Services ────────────────────────────────────────── */
#services {
    background: var(--dark);
    padding: 130px 64px;
}

.services-header {
    text-align: center;
    margin-bottom: 72px;
}

.services-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    max-width: 1200px;
    margin: 0 auto;
}

.svc-card {
    background: var(--dark-2);
    padding: 56px 44px;
    position: relative;
    overflow: hidden;
    transition: background 0.3s;
}
.svc-card:hover { background: var(--dark-3); }

.svc-num {
    position: absolute;
    top: 20px;
    right: 28px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 80px;
    font-weight: 300;
    color: rgba(201, 165, 90, 0.1);
    line-height: 1;
}

.svc-rule {
    width: 36px;
    height: 1px;
    background: var(--gold);
    margin-bottom: 32px;
}

.svc-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 400;
    color: #fff;
    margin-bottom: 14px;
}

.svc-desc {
    font-size: 13px;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 300;
}

/* ── Featured Projects (homepage section) ────────────── */
#projects, #featured-listings {
    background: var(--off-white);
    padding: 130px 0;
}

.projects-head {
    padding: 0 64px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 56px;
}

.projects-h { font-size: clamp(38px, 5vw, 62px); line-height: 1; }

.link-line {
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--dark);
    border-bottom: 1px solid var(--gold);
    padding-bottom: 3px;
    transition: color 0.3s;
}
.link-line:hover { color: var(--gold); }

.project-row {
    display: flex;
    gap: 2px;
    padding: 0 64px;
}

/* ── Listings Carousel ───────────────────────────────── */
.lc-wrap {
    position: relative;
    padding: 0 64px;
}

.lc-viewport {
    overflow: hidden;
    width: 100%;
}

.lc-track {
    display: flex;
    gap: 2px;
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.lc-card {
    flex-shrink: 0;
    min-width: 0;
}

.lc-placeholder {
    width: 100%;
    height: 100%;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lc-placeholder i { font-size: 48px; color: rgba(255,255,255,.08); }

.lc-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    background: rgba(10,10,10,0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(201,165,90,0.4);
    color: #c9a55a;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background .25s, opacity .3s, border-color .25s, color .25s;
}
.lc-arrow:hover { background: #c9a55a; border-color: #c9a55a; color: #fff; }
.lc-prev { left: 64px; }
.lc-next { right: 64px; }

.proj-price { display:block;font-family:'Montserrat',sans-serif;font-size:10px;color:rgba(201,165,90,.9);letter-spacing:.06em;margin-bottom:6px; }

.proj-card {
    flex: 1;
    height: 580px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.proj-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.75s var(--ease);
}
.proj-card:hover img { transform: scale(1.06); }

.proj-veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 55%);
    transition: background 0.35s;
}
.proj-card:hover .proj-veil {
    background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.08) 65%);
}

.proj-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 36px 32px;
    transform: translateY(12px);
    transition: transform 0.4s var(--ease);
}
.proj-card:hover .proj-info { transform: translateY(0); }

.proj-loc {
    display: block;
    font-size: 9.5px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 8px;
}

.proj-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 30px;
    font-weight: 400;
    color: #fff;
    margin-bottom: 18px;
}

.proj-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 9.5px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    opacity: 0;
    transition: opacity 0.3s ease 0.08s, color 0.3s;
}
.proj-card:hover .proj-link { opacity: 1; }
.proj-link:hover { color: var(--gold); }

/* ── Nav Blocks (Portman-style) ──────────────────────── */
#nav-blocks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.nblock {
    position: relative;
    height: 500px;
    overflow: hidden;
    cursor: pointer;
}

.nblock img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease);
}
.nblock:hover img { transform: scale(1.09); }

.nblock-veil {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.38);
    transition: background 0.4s;
}
.nblock:hover .nblock-veil { background: rgba(0, 0, 0, 0.55); }

.nblock-body {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.nblock-rule {
    width: 36px;
    height: 1px;
    background: var(--gold);
    margin-bottom: 22px;
    transition: width 0.4s var(--ease);
}
.nblock:hover .nblock-rule { width: 60px; }

.nblock-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 36px;
    font-weight: 300;
    color: #fff;
    text-align: center;
    margin-bottom: 14px;
}

.nblock-cta {
    font-size: 10px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.3s;
}
.nblock:hover .nblock-cta { color: var(--gold); }

/* ── CTA Band ─────────────────────────────────────────── */
#cta {
    background: var(--dark);
    padding: 130px 64px;
    text-align: center;
}

.cta-h {
    font-size: clamp(44px, 6.5vw, 88px);
    font-weight: 300;
    color: #fff;
    line-height: 1.0;
    margin-bottom: 14px;
}

.cta-h em {
    font-style: italic;
    font-weight: 400;
    color: var(--gold);
}

.cta-sub {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.35);
    font-weight: 300;
    margin-bottom: 52px;
    letter-spacing: 1px;
}

.cta-btns {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

/* ── Email Popup ──────────────────────────────────────── */
#popup {
    position: fixed;
    bottom: 36px;
    right: 36px;
    width: 360px;
    background: var(--dark-2);
    border: 1px solid var(--border);
    padding: 40px 36px;
    z-index: 9999;
    opacity: 0;
    transform: translateY(16px);
    pointer-events: none;
    transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

#popup.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.popup-x {
    position: absolute;
    top: 14px;
    right: 14px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.35);
    font-size: 17px;
    cursor: pointer;
    transition: color 0.3s;
}
.popup-x:hover { color: #fff; }

.popup-kicker {
    font-size: 9.5px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 10px;
}

.popup-h {
    font-family: 'Cormorant Garamond', serif;
    font-size: 30px;
    font-weight: 300;
    color: #fff;
    margin-bottom: 8px;
}

.popup-sub {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.38);
    font-weight: 300;
    line-height: 1.65;
    margin-bottom: 22px;
}

.popup-field {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 11px 14px;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    color: #fff;
    outline: none;
    transition: border-color 0.3s;
    margin-bottom: 10px;
}
.popup-field::placeholder { color: rgba(255, 255, 255, 0.28); }
.popup-field:focus { border-color: var(--gold); }

.popup-btn {
    width: 100%;
    background: var(--gold);
    border: none;
    padding: 13px;
    font-family: 'Montserrat', sans-serif;
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--dark);
    cursor: pointer;
    transition: background 0.3s;
}
.popup-btn:hover { background: var(--gold-lt); }

/* ── Responsive — Home ───────────────────────────────── */
@media (max-width: 1024px) {
    #hero .hero-content     { padding: 0 32px 64px; }
    .hero-scroll-hint       { display: none; }

    #stats                  { padding: 40px 32px; }
    .stats-row              { gap: 16px; }
    .stat-num               { font-size: 40px; }

    #mission                { padding: 90px 32px; }
    .mission-grid           { grid-template-columns: 1fr; gap: 28px; }

    #services               { padding: 90px 32px; }
    .services-cards         { grid-template-columns: 1fr; }

    #projects, #featured-listings { padding: 90px 0; }
    .projects-head          { padding: 0 32px; }
    .project-row            { flex-direction: column; padding: 0 32px; }
    .proj-card              { height: 380px; }

    #nav-blocks             { grid-template-columns: 1fr; }
    .nblock                 { height: 320px; }

    #cta                    { padding: 90px 32px; }
    .cta-btns               { flex-direction: column; }

    #popup                  { left: 20px; right: 20px; bottom: 20px; width: auto; }
}

@media (max-width: 576px) {
    .stats-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }
    .stat + .stat::before { display: none; }
}



/* ============================================================
   ABOUT.CSS
   ============================================================ */

/* ============================================================
   ABOUT CSS — about.html specific styles
============================================================ */

/* ── Company Story / Values ──────────────────────────── */
.values-section {
    padding: 100px 80px;
    background: #f9f7f3;
}

.values-inner {
    max-width: 1080px;
    margin: 0 auto;
}

.values-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    margin-bottom: 80px;
}

.values-intro h2 {
    font-size: clamp(36px, 4vw, 52px);
    line-height: 1.1;
    color: #1a1a1a;
}

.values-intro p {
    font-size: 16px;
    line-height: 1.9;
    color: #666;
    padding-top: 8px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: #e5e1d8;
}

.value-block {
    background: #f9f7f3;
    padding: 48px 40px;
}

.value-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 48px;
    font-weight: 300;
    color: var(--gold);
    line-height: 1;
    display: block;
    margin-bottom: 20px;
}

.value-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    color: #1a1a1a;
    margin-bottom: 12px;
    display: block;
}

.value-body {
    font-size: 13px;
    line-height: 1.85;
    color: #777;
}

/* ── About CTA Band ──────────────────────────────────── */
.about-cta {
    background: #0a0a0a;
    padding: 100px 80px;
    text-align: center;
}

.about-cta h2 {
    font-size: clamp(36px, 4vw, 52px);
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.1;
}

.about-cta p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    max-width: 460px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.about-cta-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── Responsive — About ──────────────────────────────── */
@media (max-width: 1024px) {
    .values-section       { padding: 72px 32px; }
    .values-intro         { grid-template-columns: 1fr; gap: 32px; }
    .values-grid          { grid-template-columns: 1fr; }
    .about-cta            { padding: 72px 32px; }
}



/* ============================================================
   CONTACT.CSS
   ============================================================ */

/* ============================================================
   CONTACT CSS — contact.html specific styles
============================================================ */

/* ── Contact Layout ──────────────────────────────────── */
.contact-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 70vh;
}

/* ── Info Panel (dark side) ──────────────────────────── */
.contact-info-panel {
    background: #0a0a0a;
    padding: 100px 72px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info-panel h2 {
    font-size: clamp(36px, 4vw, 52px);
    color: #fff;
    line-height: 1.1;
    margin-bottom: 20px;
}

.contact-info-panel > p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.9;
    margin-bottom: 48px;
    max-width: 360px;
}

.cinfo-list {
    list-style: none;
    padding: 0;
}

.cinfo-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 28px;
}

.cinfo-list .ci-icon {
    color: var(--gold);
    font-size: 14px;
    margin-top: 2px;
    flex-shrink: 0;
}

.cinfo-list .ci-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
    display: block;
    margin-bottom: 4px;
}

.cinfo-list .ci-value {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
}

.cinfo-list .ci-value a {
    color: rgba(255, 255, 255, 0.75);
    transition: color 0.2s;
}
.cinfo-list .ci-value a:hover { color: var(--gold); }

/* ── Form Panel (light side) ─────────────────────────── */
.contact-form-panel {
    background: #f9f7f3;
    padding: 100px 72px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-form-panel h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    color: #1a1a1a;
    margin-bottom: 40px;
}

/* ── Form Fields ─────────────────────────────────────── */
.cf-group { margin-bottom: 20px; }

.cf-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #aaa;
    display: block;
    margin-bottom: 8px;
}

.cf-input,
.cf-select,
.cf-textarea {
    width: 100%;
    background: #fff;
    border: 1px solid #e0dbd2;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    color: #333;
    padding: 14px 18px;
    outline: none;
    transition: border-color 0.2s;
    appearance: none;
}

.cf-input:focus,
.cf-select:focus,
.cf-textarea:focus { border-color: var(--gold); }

.cf-textarea {
    resize: vertical;
    min-height: 120px;
}

.cf-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.cf-submit {
    margin-top: 8px;
    width: 100%;
    background: var(--gold);
    border: none;
    color: #0a0a0a;
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 18px;
    cursor: pointer;
    transition: background 0.2s;
}
.cf-submit:hover { background: var(--gold-lt); }

/* ── Success State ───────────────────────────────────── */
.cf-success {
    display: none;
    text-align: center;
    padding: 60px 0;
}

.cf-success i {
    font-size: 40px;
    color: var(--gold);
    margin-bottom: 16px;
    display: block;
}

.cf-success p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    color: #333;
}

/* ── Responsive — Contact ────────────────────────────── */
@media (max-width: 1024px) {
    .contact-wrap                        { grid-template-columns: 1fr; }
    .contact-info-panel,
    .contact-form-panel                  { padding: 72px 32px; }
    .cf-row                              { grid-template-columns: 1fr; }
}



/* ============================================================
   PROJECTS.CSS
   ============================================================ */

/* ============================================================
   PROJECTS CSS — projects.html specific styles
============================================================ */

/* ── Page Intro ──────────────────────────────────────── */
.projects-intro {
    max-width: 1080px;
    margin: 0 auto;
    padding: 80px 64px 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.projects-intro h2 {
    font-size: clamp(36px, 4vw, 50px);
    color: #1a1a1a;
    line-height: 1.1;
}

.projects-intro p {
    font-size: 15px;
    line-height: 1.9;
    color: #666;
    margin-top: 8px;
}

/* ── Projects Grid ───────────────────────────────────── */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: 420px 320px;
    gap: 3px;
    background: #0a0a0a;
    margin-bottom: 0;
}

/* Bento layout: card 1 big left, 2+3 stacked right, 4 left bottom, 5 wide bottom right */
.proj-grid-card:nth-child(1) { grid-column: 1 / 9;  grid-row: 1; }
.proj-grid-card:nth-child(2) { grid-column: 9 / 13; grid-row: 1; }
.proj-grid-card:nth-child(3) { grid-column: 1 / 5;  grid-row: 2; }
.proj-grid-card:nth-child(4) { grid-column: 5 / 9;  grid-row: 2; }
.proj-grid-card:nth-child(5) { grid-column: 9 / 13; grid-row: 2; }

.proj-grid-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: #111;
}

.proj-grid-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4,0,0.2,1);
    display: block;
}
.proj-grid-card:hover img { transform: scale(1.06); }

.proj-grid-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.15) 45%, rgba(0,0,0,0) 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: flex-end;
    padding: 32px 36px;
}
.proj-grid-card:hover .proj-grid-overlay { opacity: 1; }

.proj-grid-text { color: #fff; }

.proj-grid-type {
    font-family: 'Montserrat', sans-serif;
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 6px;
}

.proj-grid-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px;
    font-weight: 400;
    line-height: 1.2;
}

/* ── Projects CTA ────────────────────────────────────── */
.projects-cta {
    text-align: center;
    padding: 80px 40px;
    background: #f9f7f3;
}

.projects-cta h2 {
    font-size: clamp(30px, 3.5vw, 44px);
    color: #1a1a1a;
    margin-bottom: 16px;
}

.projects-cta p {
    font-size: 14px;
    color: #777;
    margin-bottom: 36px;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

/* ── Responsive — Projects ───────────────────────────── */
@media (max-width: 1024px) {
    .projects-intro              { grid-template-columns: 1fr; gap: 32px; padding: 60px 32px 48px; }
    .projects-grid               { grid-template-columns: 1fr; grid-template-rows: auto; padding: 0 20px; }
    .proj-grid-card:nth-child(n)  { grid-column: 1/-1; grid-row: auto; height: 260px; }
    .proj-grid-overlay           { opacity: 1; }
}



/* ============================================================
   LISTINGS.CSS
   ============================================================ */

/* ============================================================
   LISTINGS CSS — listings.html specific styles
============================================================ */

/* ── Page Header ─────────────────────────────────────── */
.listings-header {
    padding: 72px 80px 48px;
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 40px;
}

.listings-header h2 {
    font-size: clamp(32px, 4vw, 48px);
    color: #1a1a1a;
    line-height: 1.1;
}

.listings-header p {
    font-size: 13px;
    color: #888;
    margin-top: 8px;
}

/* ── Filter Bar ──────────────────────────────────────── */
.listings-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    padding: 0 80px 40px;
    max-width: 1080px;
    margin: 0 auto;
}

.lf-btn {
    font-family: 'Montserrat', sans-serif;
    font-size: 9.5px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 10px 20px;
    border: 1px solid #d0cbc2;
    background: #fff;
    color: #555;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.lf-btn.active,
.lf-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: #fdf9f2;
}

/* ── Listings Grid ───────────────────────────────────── */
.listings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: #e5e1d8;
}

/* ── Listing Card ────────────────────────────────────── */
.listing-card {
    background: #fff;
    overflow: hidden;
    position: relative;
}

.listing-card-photo {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    position: relative;
}

.listing-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.listing-card:hover .listing-card-photo img { transform: scale(1.05); }

.listing-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--gold);
    color: #0a0a0a;
    font-family: 'Montserrat', sans-serif;
    font-size: 8.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 5px 12px;
}

.listing-body {
    padding: 28px 28px 32px;
}

.listing-type {
    font-family: 'Montserrat', sans-serif;
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 8px;
}

.listing-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    color: #1a1a1a;
    margin-bottom: 6px;
}

.listing-addr {
    font-size: 12px;
    color: #999;
    margin-bottom: 16px;
}

.listing-specs {
    display: flex;
    gap: 20px;
    padding-top: 16px;
    border-top: 1px solid #f0ece5;
}

.listing-spec { font-size: 11px; color: #777; }

.listing-spec strong {
    display: block;
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #bbb;
    margin-bottom: 3px;
}

/* ── Empty State ─────────────────────────────────────── */
.listings-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 100px 40px;
    background: #fff;
}

.listings-empty i {
    font-size: 40px;
    color: #ddd;
    margin-bottom: 24px;
    display: block;
}

.listings-empty h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    color: #333;
    margin-bottom: 12px;
}

.listings-empty p {
    font-size: 13px;
    color: #aaa;
    max-width: 380px;
    margin: 0 auto 28px;
    line-height: 1.8;
}

/* ── Listings CTA ────────────────────────────────────── */
.listings-cta {
    text-align: center;
    padding: 80px 40px;
    background: #0a0a0a;
}

.listings-cta h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(30px, 4vw, 44px);
    color: #fff;
    margin-bottom: 16px;
}

.listings-cta p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
    max-width: 400px;
    margin: 0 auto 36px;
    line-height: 1.8;
}

/* ── Responsive — Listings ───────────────────────────── */
@media (max-width: 1024px) {
    .listings-header   { grid-template-columns: 1fr; padding: 56px 32px 32px; }
    .listings-filters  { padding: 0 32px 32px; }
    .listings-grid     { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 576px) {
    .listings-grid     { grid-template-columns: 1fr; }
}



/* ============================================================
   LISTING DETAIL PAGE
   ============================================================ */
.listing-hero { background:#111; }
.listing-gallery { position:relative; }
.gallery-main { width:100%;height:520px;overflow:hidden;background:#000; }
.gallery-main img { width:100%;height:100%;object-fit:cover;object-position:center; }
.gallery-thumbs { display:flex;gap:6px;padding:6px;background:#0a0a0a; }
.gallery-thumb { width:90px;height:65px;overflow:hidden;cursor:pointer;opacity:.5;transition:opacity .2s;border:2px solid transparent;flex-shrink:0; }
.gallery-thumb.active, .gallery-thumb:hover { opacity:1;border-color:#c9a55a; }
.gallery-thumb img { width:100%;height:100%;object-fit:cover; }
.listing-hero-placeholder { height:360px;display:flex;align-items:center;justify-content:center;background:#111; }
.listing-hero-placeholder i { font-size:64px;color:rgba(255,255,255,.08); }

.listing-detail-wrap { padding:80px 0 100px;background:#fff; }
.listing-header { margin-bottom:36px;padding-bottom:28px;border-bottom:1px solid #e8e4dc; }
.listing-badge { display:inline-block;background:transparent;color:#c9a55a;font-family:'Montserrat',sans-serif;font-size:8px;letter-spacing:.22em;text-transform:uppercase;padding:0;margin-bottom:14px; }
.listing-title { font-family:'Cormorant Garamond',serif;font-size:clamp(26px,3vw,44px);font-weight:400;color:#0a0a0a;line-height:1.15;margin-bottom:14px; }
.listing-address { font-family:'Montserrat',sans-serif;font-size:11px;color:#999;letter-spacing:.08em; }
.listing-address i { color:#c9a55a;margin-right:8px; }

.listing-stats-strip { display:flex;flex-wrap:wrap;gap:0;margin:0 0 44px;background:#f5f2ed;border:none; }
.stat-item { flex:1 1 140px;padding:20px 24px;border-right:1px solid #e5e0d8; }
.stat-label { display:block;font-family:'Montserrat',sans-serif;font-size:8px;letter-spacing:.18em;text-transform:uppercase;color:#c9a55a;margin-bottom:6px; }
.stat-value { display:block;font-family:'Cormorant Garamond',serif;font-size:22px;font-weight:400;color:#0a0a0a; }

.listing-section { margin-bottom:48px; }
.listing-section-title { font-family:'Montserrat',sans-serif;font-size:8px;letter-spacing:.24em;text-transform:uppercase;color:#c9a55a;margin-bottom:20px;padding-bottom:12px;border-bottom:1px solid #e8e4dc; }
.listing-description { font-family:'Cormorant Garamond',serif;font-size:20px;line-height:1.85;color:#3a3a3a; }
.listing-highlights { list-style:none;padding:0;margin:0;display:grid;grid-template-columns:1fr 1fr;gap:0; }
.listing-highlights li { display:flex;align-items:flex-start;gap:12px;font-family:'Montserrat',sans-serif;font-size:11px;color:#555;line-height:1.6;padding:13px 0;border-bottom:1px solid #f0ece6; }
.listing-highlights li i { color:#c9a55a;margin-top:2px;flex-shrink:0; }

.detail-grid { display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:1px;background:#e5e0d8; }
.detail-item { padding:18px 22px;background:#f5f2ed; }
.detail-key { display:block;font-family:'Montserrat',sans-serif;font-size:8px;letter-spacing:.16em;text-transform:uppercase;color:#aaa;margin-bottom:6px; }
.detail-val { display:block;font-family:'Cormorant Garamond',serif;font-size:20px;font-weight:400;color:#0a0a0a; }

.listing-map { overflow:hidden;border:1px solid #e8e4dc; }
.listing-map iframe { display:block; }

/* Sidebar */
.listing-sidebar { position:sticky;top:90px;display:flex;flex-direction:column;gap:16px; }
.sidebar-card { background:#fff;border:1px solid #e8e4dc;padding:28px; }
.sidebar-card-title { font-family:'Montserrat',sans-serif;font-size:9px;font-weight:700;letter-spacing:.2em;text-transform:uppercase;color:#888;margin-bottom:18px; }
.btn-inquire { display:block;width:100%;text-align:center;background:#0a0a0a;color:#fff;font-family:'Montserrat',sans-serif;font-size:10px;letter-spacing:.16em;text-transform:uppercase;padding:15px;text-decoration:none;transition:background .2s;margin-bottom:8px; }
.btn-inquire:hover { background:#c9a55a;color:#0a0a0a;text-decoration:none; }
.btn-loopnet { display:block;width:100%;text-align:center;border:1px solid #e8e4dc;color:#888;font-family:'Montserrat',sans-serif;font-size:10px;font-weight:500;letter-spacing:.12em;text-transform:uppercase;padding:12px;text-decoration:none;transition:all .2s; }
.btn-loopnet:hover { border-color:#c9a55a;color:#c9a55a;text-decoration:none; }

.sidebar-broker { display:flex;flex-direction:column;gap:0;padding:0;overflow:hidden; }
.broker-photo-wrap { width:100%;height:200px;overflow:hidden; }
.broker-photo { width:100%;height:100%;object-fit:cover;object-position:top center; }
.broker-info { padding:20px 24px 12px; }
.broker-name { font-family:'Cormorant Garamond',serif;font-size:24px;font-weight:500;color:#0a0a0a;margin-bottom:4px; }
.broker-title { font-family:'Montserrat',sans-serif;font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:#c9a55a;margin-bottom:2px; }
.broker-company { font-family:'Montserrat',sans-serif;font-size:11px;color:#aaa; }
.broker-contact { padding:12px 24px 20px;border-top:1px solid #e8e4dc;display:flex;flex-direction:column;gap:8px; }
.broker-contact-link { display:flex;align-items:center;gap:8px;font-family:'Montserrat',sans-serif;font-size:12px;color:#444;text-decoration:none;transition:color .2s; }
.broker-contact-link:hover { color:#c9a55a;text-decoration:none; }
.broker-contact-link i { color:#c9a55a;width:14px;text-align:center; }

@media (max-width:991px) {
    .listing-sidebar { position:static;margin-top:40px; }
    .gallery-main { height:300px; }
}

/* ════════════════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
   ════════════════════════════════════════════════════ */

/* Base: elements are invisible until JS marks them ready */
.anim-ready {
    will-change: transform, opacity;
}

/* Fade up */
.anim-ready.a-up {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.75s cubic-bezier(0.4,0,0.2,1),
                transform 0.75s cubic-bezier(0.4,0,0.2,1);
}
.anim-ready.a-up.anim-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Fade from left */
.anim-ready.a-left {
    opacity: 0;
    transform: translateX(-48px);
    transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1),
                transform 0.8s cubic-bezier(0.4,0,0.2,1);
}
.anim-ready.a-left.anim-visible {
    opacity: 1;
    transform: translateX(0);
}

/* Fade from right */
.anim-ready.a-right {
    opacity: 0;
    transform: translateX(48px);
    transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1),
                transform 0.8s cubic-bezier(0.4,0,0.2,1);
}
.anim-ready.a-right.anim-visible {
    opacity: 1;
    transform: translateX(0);
}

/* Scale reveal (photos) */
.anim-ready.a-scale {
    opacity: 0;
    transform: scale(0.96);
    transition: opacity 1s cubic-bezier(0.4,0,0.2,1),
                transform 1s cubic-bezier(0.4,0,0.2,1);
}
.anim-ready.a-scale.anim-visible {
    opacity: 1;
    transform: scale(1);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .anim-ready { transition: none !important; }
    .anim-ready.anim-visible { opacity: 1 !important; transform: none !important; }
}
