@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap');

:root {
    --ink: #20231f;
    --charcoal: #171916;
    --paper: #f6f1e8;
    --paper-deep: #e8dfd1;
    --limestone: #d4c5b0;
    --oak: #76523a;
    --moss: #4f5e4b;
    --key-yellow: #f4d55f;
    --white: #fffdf8;
    --shadow: 0 24px 60px rgba(26, 24, 18, .16);
    --serif: 'Playfair Display', Georgia, serif;
    --sans: 'DM Sans', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--sans);
    line-height: 1.65;
}
body.modal-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
.content-shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.skip-link {
    position: fixed;
    z-index: 999;
    top: 12px;
    left: 12px;
    padding: 10px 16px;
    color: var(--charcoal);
    background: var(--key-yellow);
    transform: translateY(-150%);
}
.skip-link:focus { transform: none; }

.site-header { position: relative; z-index: 20; background: var(--white); }
.brokerage-bar {
    min-height: 122px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 14px max(24px, calc((100vw - 1180px) / 2));
    color: #fff;
    background: #050505;
}
.brokerage-logo { flex: 0 0 286px; }
.brokerage-logo img { width: 286px; height: 96px; object-fit: contain; }
.brokerage-contact { display: grid; justify-items: end; text-align: right; line-height: 1.35; }
.brokerage-contact strong { color: var(--key-yellow); font-size: 1.05rem; letter-spacing: .08em; text-transform: uppercase; }
.brokerage-contact a { color: #fff; font-size: 1.25rem; font-weight: 700; text-decoration: none; }
.brokerage-contact span { color: #d5d5d5; font-size: .85rem; }
.agent-bar {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 76px;
    padding: 10px max(24px, calc((100vw - 1180px) / 2));
    background: var(--key-yellow);
    color: #171916;
}
.agent-bar img { width: 54px; height: 54px; object-fit: cover; object-position: center 15%; border-radius: 50%; border: 2px solid #171916; }
.agent-bar > div { display: grid; line-height: 1.2; }
.agent-bar span { font-size: .67rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.agent-bar strong { font-family: var(--serif); font-size: 1.14rem; }
.agent-bar a:not(.agent-inquiry) { font-size: .8rem; text-decoration: none; }
.agent-bar .agent-phone { font-weight: 700; }
.agent-inquiry {
    margin-left: auto;
    padding: 11px 18px;
    border: 1px solid var(--charcoal);
    font-size: .77rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-decoration: none;
    text-transform: uppercase;
}
.agent-inquiry:hover, .agent-inquiry:focus-visible { color: var(--key-yellow); background: var(--charcoal); }
.property-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 88px;
    padding: 14px max(24px, calc((100vw - 1180px) / 2));
    border-bottom: 1px solid rgba(32, 35, 31, .14);
    background: var(--white);
}
.property-wordmark { display: grid; text-decoration: none; line-height: 1.2; }
.property-wordmark span { font-family: var(--serif); font-size: 1.35rem; font-weight: 700; }
.property-wordmark small { margin-top: 4px; color: var(--oak); font-size: .67rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.property-nav > div { display: flex; align-items: center; gap: 26px; }
.property-nav > div a {
    border-bottom: 2px solid transparent;
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-decoration: none;
    text-transform: uppercase;
}
.property-nav > div a:hover, .property-nav > div a:focus-visible, .property-nav > div a.active { border-color: var(--oak); color: var(--oak); }

.property-hero { position: relative; min-height: clamp(600px, 76vh, 860px); overflow: hidden; color: #fff; background: var(--charcoal); }
.property-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.property-hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13, 15, 12, .78) 0%, rgba(13, 15, 12, .28) 58%, rgba(13, 15, 12, .08) 100%), linear-gradient(0deg, rgba(13, 15, 12, .4), transparent 45%); }
.property-hero-copy { position: absolute; z-index: 2; left: max(24px, calc((100vw - 1180px) / 2)); bottom: 72px; width: min(780px, calc(100% - 48px)); }
.editorial-kicker { display: block; margin-bottom: 16px; color: var(--oak); font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.property-hero .editorial-kicker { color: var(--key-yellow); }
.property-hero h1 { max-width: 800px; margin: 0; font-family: var(--serif); font-size: clamp(3.4rem, 8vw, 7.2rem); line-height: .9; letter-spacing: -.04em; text-wrap: balance; }
.property-hero-copy > p { margin: 22px 0; font-size: 1rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.property-facts { display: flex; flex-wrap: wrap; gap: 10px; }
.property-facts span { padding: 8px 13px; border: 1px solid rgba(255,255,255,.45); background: rgba(15, 17, 14, .32); font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; backdrop-filter: blur(8px); }
.demo-ribbon { position: absolute; z-index: 3; top: 22px; right: 22px; padding: 9px 14px; color: var(--charcoal); background: var(--key-yellow); font-size: .65rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }

.property-story { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(48px, 9vw, 120px); padding-block: 110px; }
.story-heading { position: sticky; top: 32px; align-self: start; }
.story-heading h2, .section-intro h2, .agent-feature h2, .page-masthead h1, .tour-intro h1, .tour-after h2 {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(2.5rem, 5vw, 4.8rem);
    line-height: 1.02;
    letter-spacing: -.035em;
    text-wrap: balance;
}
.story-copy { columns: 2; column-gap: 38px; }
.story-copy p { margin: 0 0 1.25em; font-family: var(--serif); font-size: 1.1rem; line-height: 1.85; }
.story-copy p:first-child::first-letter { float: left; margin: 10px 9px 0 0; color: var(--oak); font-family: var(--serif); font-size: 4.4rem; font-weight: 700; line-height: .65; }

.great-eight-section { padding-block: 100px; color: var(--white); background: var(--charcoal); }
.section-intro { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 60px; margin-bottom: 46px; }
.section-intro .editorial-kicker { color: var(--key-yellow); }
.section-intro > p { margin: 0; color: #c9cbc4; font-size: 1.04rem; }
.great-eight-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 22vw; gap: 8px; }
.great-eight-item { position: relative; grid-column: span 4; min-height: 280px; overflow: hidden; color: #fff; background: #30332d; }
.great-eight-item-1, .great-eight-item-6 { grid-column: span 8; }
.great-eight-item-1 { grid-row: span 2; }
.great-eight-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.great-eight-item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 11, 9, .78), transparent 54%); }
.great-eight-item:hover img, .great-eight-item:focus-visible img { transform: scale(1.035); }
.great-eight-item > span { position: absolute; z-index: 2; left: 24px; bottom: 22px; display: grid; }
.great-eight-item small { color: var(--key-yellow); font-size: .67rem; font-weight: 700; letter-spacing: .15em; }
.great-eight-item strong { font-family: var(--serif); font-size: clamp(1.35rem, 2.5vw, 2.4rem); }

.editorial-quote { padding-block: 110px; text-align: center; }
.editorial-quote blockquote { max-width: 960px; margin: 0 auto 42px; color: var(--moss); font-family: var(--serif); font-size: clamp(2.1rem, 4.4vw, 4.2rem); font-style: italic; line-height: 1.15; }
.editorial-quote > div { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.property-button { display: inline-block; padding: 15px 22px; border: 1px solid var(--charcoal); color: var(--white); background: var(--charcoal); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; }
.property-button:hover, .property-button:focus-visible { color: var(--charcoal); background: var(--key-yellow); }
.property-button-secondary { color: var(--charcoal); background: transparent; }
.agent-feature { padding-block: 90px; background: var(--paper-deep); }
.agent-feature-inner { display: grid; grid-template-columns: 300px 1fr; align-items: center; gap: clamp(42px, 8vw, 110px); }
.agent-feature-inner > img { width: 300px; aspect-ratio: 4/5; object-fit: cover; object-position: center 12%; box-shadow: var(--shadow); }
.agent-feature p { max-width: 700px; font-size: 1.05rem; }
.agent-feature-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.page-masthead, .tour-intro { padding-block: 90px 64px; border-bottom: 1px solid rgba(32,35,31,.15); }
.page-masthead h1, .tour-intro h1 { max-width: 900px; }
.page-masthead > p, .tour-intro > p { max-width: 800px; margin: 24px 0 0; color: #585d55; font-size: 1.05rem; }
.gallery-section { padding-block: 64px 110px; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 46px 24px; }
.gallery-card { scroll-margin-top: 24px; }
.gallery-card > button { position: relative; display: block; width: 100%; padding: 0; overflow: hidden; border: 0; cursor: zoom-in; background: var(--charcoal); }
.gallery-card > button img { width: 100%; aspect-ratio: 3/2; object-fit: cover; transition: opacity .25s ease, transform .6s ease; }
.gallery-card > button:hover img, .gallery-card > button:focus-visible img { opacity: .8; transform: scale(1.02); }
.gallery-zoom { position: absolute; right: 14px; bottom: 14px; padding: 8px 11px; color: var(--charcoal); background: var(--key-yellow); font-size: .65rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.gallery-card-copy { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 22px 4px 0; }
.gallery-number { color: var(--oak); font-family: var(--serif); font-size: 1.4rem; }
.gallery-card-copy small { color: var(--oak); font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.gallery-card-copy h2 { margin: 4px 0 8px; font-family: var(--serif); font-size: 1.85rem; line-height: 1.1; }
.gallery-card-copy p { margin: 0; color: #51564f; }
.gallery-card-utility { padding: 16px; background: var(--paper-deep); }

.property-modal { width: min(1180px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; overflow: auto; border: 0; color: var(--ink); background: var(--white); box-shadow: var(--shadow); }
.property-modal::backdrop { background: rgba(10, 11, 9, .88); backdrop-filter: blur(5px); }
.property-modal-frame { position: relative; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(320px, .7fr); min-height: 620px; }
.modal-image-wrap { min-height: 620px; background: var(--charcoal); }
.modal-image-wrap img { width: 100%; height: 100%; object-fit: contain; }
.modal-copy { padding: 76px 42px 38px; overflow-y: auto; }
.modal-copy > span { color: var(--oak); font-family: var(--serif); font-size: 1.25rem; }
.modal-copy > small { display: block; margin-top: 8px; color: var(--oak); font-size: .63rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.modal-copy h2 { margin: 8px 0 20px; font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1; }
.modal-copy p { color: #50554d; }
.modal-lead { color: var(--ink) !important; font-family: var(--serif); font-size: 1.2rem; }
.modal-close { position: absolute; z-index: 3; top: 18px; right: 18px; padding: 9px 12px; border: 1px solid var(--charcoal); cursor: pointer; color: var(--charcoal); background: var(--key-yellow); font-size: .65rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.modal-controls { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--limestone); }
.modal-controls button { padding: 10px 12px; border: 1px solid var(--charcoal); cursor: pointer; background: transparent; }
.modal-controls button:last-child { justify-self: end; }
.modal-controls span { font-size: .72rem; font-weight: 700; }

.tour-intro { text-align: center; }
.tour-intro h1, .tour-intro p { margin-inline: auto; }
.tour-stage { padding: 0 0 70px; color: #fff; background: var(--charcoal); }
.tour-image-frame { position: relative; height: min(72vw, 820px); min-height: 560px; overflow: hidden; background: #000; }
.tour-image-frame > img { width: 100%; height: 100%; object-fit: cover; animation: ken-burns 8s ease-in-out both; }
.tour-image-frame > img.reset-motion { animation: none; }
@keyframes ken-burns { from { transform: scale(1); } to { transform: scale(1.08) translate3d(-1.2%, -.7%, 0); } }
.tour-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,6,5,.86), transparent 62%); }
.tour-caption { position: absolute; z-index: 2; left: max(24px, calc((100vw - 1180px) / 2)); right: max(24px, calc((100vw - 1180px) / 2)); bottom: 46px; max-width: 780px; }
.tour-caption > span { display: block; color: var(--key-yellow); font-family: var(--serif); font-size: 1.1rem; }
.tour-caption small { font-size: .63rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.tour-caption h2 { margin: 7px 0 12px; font-family: var(--serif); font-size: clamp(2.7rem, 7vw, 6.4rem); line-height: .95; }
.tour-caption p { max-width: 740px; margin: 0; color: #e0e1dc; }
.tour-controls { position: relative; display: grid; grid-template-columns: auto auto auto 1fr; align-items: center; gap: 10px; width: min(1180px, calc(100% - 48px)); margin: 24px auto 0; }
.tour-controls button { padding: 12px 16px; border: 1px solid #777b73; cursor: pointer; color: #fff; background: transparent; font-size: .69rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.tour-controls button:hover, .tour-controls button:focus-visible { color: var(--charcoal); background: var(--key-yellow); border-color: var(--key-yellow); }
.tour-progress { height: 3px; margin-left: 12px; overflow: hidden; background: #494c47; }
.tour-progress span { display: block; width: 0; height: 100%; background: var(--key-yellow); }
.tour-progress span.running { animation: tour-progress 8s linear forwards; }
@keyframes tour-progress { from { width: 0; } to { width: 100%; } }
.tour-after { display: grid; grid-template-columns: 1fr 1fr auto; align-items: end; gap: 42px; padding-block: 90px; }
.tour-after h2 { font-size: clamp(2.2rem, 4vw, 4rem); }
.tour-after p { margin: 0; }

.property-footer { display: grid; grid-template-columns: 1.2fr .8fr; gap: 42px; padding: 58px max(24px, calc((100vw - 1180px) / 2)); color: #fff; background: #050505; }
.footer-brokerage { display: flex; align-items: center; gap: 20px; }
.footer-brokerage img { width: 210px; height: 88px; object-fit: contain; }
.footer-brokerage > div, .footer-agent { display: grid; align-content: center; line-height: 1.45; }
.footer-brokerage strong, .footer-agent strong { color: var(--key-yellow); }
.footer-brokerage a, .footer-agent a { color: #fff; text-decoration: none; }
.footer-brokerage span, .footer-agent span { color: #c8c8c8; font-size: .8rem; }
.footer-agent { justify-self: end; text-align: right; }
.demo-disclosure { grid-column: 1 / -1; margin: 0; padding-top: 26px; border-top: 1px solid #363636; color: #9c9c9c; font-size: .72rem; }

@media (max-width: 920px) {
    .brokerage-bar { align-items: flex-start; }
    .property-story, .section-intro, .agent-feature-inner, .tour-after { grid-template-columns: 1fr; }
    .story-heading { position: static; }
    .great-eight-grid { grid-auto-rows: 34vw; }
    .great-eight-item, .great-eight-item-1, .great-eight-item-6 { grid-column: span 6; grid-row: span 1; }
    .great-eight-item-1 { grid-column: span 12; }
    .property-modal-frame { grid-template-columns: 1fr; }
    .modal-image-wrap { min-height: 52vw; }
    .tour-after { align-items: start; gap: 22px; }
    .tour-after .property-button { justify-self: start; }
}

@media (max-width: 700px) {
    .content-shell { width: min(100% - 30px, 1180px); }
    .brokerage-bar { min-height: 0; padding: 12px 15px; }
    .brokerage-logo { flex-basis: 150px; }
    .brokerage-logo img { width: 150px; height: 64px; }
    .brokerage-contact span { display: none; }
    .brokerage-contact strong { font-size: .75rem; }
    .brokerage-contact a { font-size: .95rem; }
    .agent-bar { padding: 8px 15px; }
    .agent-bar img { width: 44px; height: 44px; }
    .agent-bar strong { font-size: 1rem; }
    .agent-bar .agent-email { display: none; }
    .agent-inquiry { padding: 9px 10px; font-size: .6rem; }
    .property-nav { display: block; padding: 14px 15px 0; }
    .property-wordmark { margin-bottom: 12px; }
    .property-nav > div { gap: 22px; overflow-x: auto; padding-bottom: 12px; }
    .property-nav > div a { flex: 0 0 auto; }
    .property-hero { min-height: 610px; }
    .property-hero-shade { background: linear-gradient(0deg, rgba(13,15,12,.86), rgba(13,15,12,.08) 75%); }
    .property-hero-copy { left: 15px; bottom: 42px; width: calc(100% - 30px); }
    .property-hero h1 { font-size: clamp(3.1rem, 17vw, 5rem); }
    .demo-ribbon { top: 14px; right: 14px; }
    .property-story { gap: 36px; padding-block: 74px; }
    .story-copy { columns: 1; }
    .great-eight-section { padding-block: 72px; }
    .section-intro { gap: 20px; }
    .great-eight-grid { display: block; }
    .great-eight-item { display: block; min-height: 0; aspect-ratio: 4/3; margin-bottom: 7px; }
    .editorial-quote { padding-block: 72px; }
    .agent-feature { padding-block: 66px; }
    .agent-feature-inner { gap: 34px; }
    .agent-feature-inner > img { width: min(100%, 300px); }
    .page-masthead, .tour-intro { padding-block: 64px 44px; }
    .gallery-section { padding-block: 42px 76px; }
    .gallery-grid { grid-template-columns: 1fr; gap: 38px; }
    .property-modal { width: calc(100vw - 16px); max-height: calc(100vh - 16px); }
    .modal-image-wrap { min-height: 52vh; }
    .modal-copy { padding: 58px 22px 28px; }
    .tour-image-frame { min-height: 660px; }
    .tour-caption { left: 18px; right: 18px; bottom: 28px; }
    .tour-caption h2 { font-size: clamp(2.7rem, 13vw, 4.8rem); }
    .tour-controls { grid-template-columns: repeat(3, 1fr); width: calc(100% - 30px); }
    .tour-controls button { padding-inline: 8px; }
    .tour-progress { grid-column: 1 / -1; margin: 10px 0 0; }
    .property-footer { grid-template-columns: 1fr; padding: 46px 20px; }
    .footer-brokerage { align-items: flex-start; flex-direction: column; }
    .footer-agent { justify-self: start; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
