:root {
    color-scheme: light;
    --paper: #f5f4ee;
    --paper-deep: #ebe9df;
    --ink: #1d302d;
    --muted: #78827a;
    --line: #d9dbd2;
    --pine: #173c34;
    --moss: #aab69a;
    --coral: #c65b43;
    --sun: #e7bd72;
    --white: #fffefa;
    --serif: Georgia, 'Times New Roman', serif;
    --sans: 'DM Sans', 'Avenir Next', sans-serif;
    --display: 'Manrope', 'Avenir Next', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 85px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, a, input, textarea { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.topbar { position: relative; z-index: 5; height: 78px; padding: 0 6.1%; display: flex; align-items: center; justify-content: space-between; background: var(--paper); border-bottom: 1px solid rgba(29,48,45,.08); }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--pine); font: 800 16px/1 var(--display); letter-spacing: 0; }
.brand-mark { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--pine); border-radius: 50%; font: 700 13px/1 var(--serif); }
.main-nav { display: flex; align-items: center; gap: clamp(24px, 3vw, 48px); }
.nav-link { color: #53625a; font-size: 13px; font-weight: 600; transition: color .2s ease; }
.nav-link:hover, .nav-link.is-active { color: var(--coral); }
.nav-cta { min-height: 42px; display: inline-flex; align-items: center; gap: 15px; padding: 0 17px; color: var(--white); background: var(--pine); font-size: 12px; font-weight: 700; }
.nav-cta:hover, .button-dark:hover { background: #28564b; }
.nav-form { margin: 0; }
.nav-button { border: 0; padding: 0; background: none; cursor: pointer; }
.menu-toggle { display: none; }
.hero { position: relative; min-height: 635px; height: min(760px, calc(100svh - 78px)); overflow: hidden; display: flex; align-items: center; background: #344b40 var(--hero-image, url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=2200&q=88')) center 53% / cover no-repeat; color: white; }
.hero::before { position: absolute; inset: 0; content: ''; background: rgba(15, 35, 31, .48); }
.hero-copy { position: relative; z-index: 1; width: min(690px, 64%); margin-left: 12.1%; padding: 70px 0 66px; }
.eyebrow { display: block; color: var(--coral); font-size: 10px; font-weight: 700; letter-spacing: 1.7px; line-height: 1.6; }
.hero-location { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; color: #f2d89e; overflow-wrap: anywhere; }
.location-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sun); }
.hero h1 { max-width: 660px; margin: 28px 0 18px; font: 600 76px/.99 var(--display); letter-spacing: 0; text-wrap: balance; }
.heading-period { color: var(--coral); }
.hero-copy > p { max-width: 480px; margin: 0; color: rgba(255,255,255,.86); font-size: 18px; line-height: 1.7; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 26px; border: 0; padding: 0 21px; cursor: pointer; font-size: 12px; font-weight: 700; transition: background .2s ease, color .2s ease, transform .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-light { margin-top: 31px; color: var(--ink); background: var(--white); }
.button-light:hover { background: #f1dfba; }
.button-dark { color: white; background: var(--pine); }
.button-dark:hover { color: white; }
.button-outline { border: 1px solid var(--line); color: var(--ink); background: transparent; }
.button-outline:hover { background: var(--paper-deep); }
.hero-note { display: flex; align-items: center; gap: 12px; margin-top: 58px; color: rgba(255,255,255,.72); font-size: 11px; }
.hero-note-line { width: 32px; height: 1px; background: var(--sun); }
.hero-image-label { position: absolute; right: 7%; bottom: 39px; display: flex; align-items: center; gap: 13px; color: white; font-size: 9px; font-weight: 700; letter-spacing: 1.3px; }
.label-number { color: var(--sun); }
.hero-vertical { position: absolute; right: 28px; top: 50%; color: rgba(255,255,255,.75); font-size: 8px; font-weight: 600; letter-spacing: 1.6px; writing-mode: vertical-rl; transform: translateY(-50%); }
.intro-band { position: relative; min-height: 270px; padding: 68px 12.1% 72px; background: var(--paper-deep); }
.intro-band .eyebrow { color: var(--pine); }
.intro-band > p { max-width: 760px; margin: 18px 0 0; font: 400 31px/1.35 var(--serif); }
.intro-band em, .section-top h2 em, .closing-band h2 em { color: var(--coral); font-weight: 400; }
.intro-mark { position: absolute; right: 12%; top: 50%; color: var(--coral); font: 42px/1 var(--serif); transform: translateY(-50%); }
.homes-section { padding: 102px 9.5% 118px; }
.section-top { display: flex; align-items: end; justify-content: space-between; margin-bottom: 42px; }
.section-top .eyebrow { margin-bottom: 10px; }
.section-top h2 { margin: 0; font: 500 42px/1.2 var(--display); letter-spacing: 0; }
.section-top h2 em { font-family: var(--serif); }
.home-count { padding-bottom: 7px; color: var(--coral); font: 600 20px/1 var(--display); }
.home-count small { color: var(--muted); font: 500 11px/1 var(--sans); }
.listing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 38px 24px; }
.property-card { min-width: 0; }
.property-image { position: relative; display: block; aspect-ratio: 1.25; overflow: hidden; background: #d8d8ca; }
.property-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s cubic-bezier(.2,.7,.2,1); }
.property-image:hover img { transform: scale(1.035); }
.card-index { position: absolute; top: 15px; left: 15px; display: grid; width: 34px; height: 34px; place-items: center; color: var(--ink); background: var(--paper); font-size: 10px; font-weight: 700; }
.image-arrow { position: absolute; right: 14px; bottom: 14px; display: grid; width: 38px; height: 38px; place-items: center; color: var(--ink); background: var(--white); transition: color .2s ease, background .2s ease; }
.property-image:hover .image-arrow { color: white; background: var(--coral); }
.image-placeholder { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(140deg, #c4cfb3, #758a7b); color: rgba(255,255,255,.6); font: 100px/1 var(--serif); }
.property-info { padding-top: 18px; }
.property-title-row { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.property-location { color: var(--muted); font-size: 10px; }
.property-title-row h3 { margin: 4px 0 0; font: 700 17px/1.35 var(--display); }
.property-title-row > strong { flex: 0 0 auto; padding-top: 17px; font-size: 13px; }
.property-specs { display: flex; flex-wrap: wrap; gap: 7px 0; margin-top: 16px; padding-top: 13px; border-top: 1px solid var(--line); color: #617069; font-size: 10px; }
.property-specs span + span { margin-left: 13px; padding-left: 13px; border-left: 1px solid var(--line); }
.empty-public { padding: 76px 24px; text-align: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.empty-mark { color: var(--coral); font: 42px/1 var(--serif); }
.empty-public h3 { margin: 13px 0 4px; font: 500 23px/1.4 var(--display); }
.empty-public p { margin: 0; color: var(--muted); }
.closing-band { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 75px 12.1%; background: #e8e8dc; }
.closing-band .eyebrow { color: var(--pine); }
.closing-band h2 { margin: 9px 0 0; font: 500 39px/1.25 var(--display); }
.site-footer { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 6.1%; color: #727c75; background: var(--paper); font-size: 10px; }
.footer-brand { color: var(--pine); font-size: 13px; }
.footer-brand .brand-mark { width: 25px; height: 25px; font-size: 11px; }

.detail-main { max-width: 1180px; margin: 0 auto; padding: 44px 30px 105px; }
.back-link { display: inline-flex; margin-bottom: 26px; color: #68756c; font-size: 12px; font-weight: 600; }
.back-link:hover, .text-action:hover { color: var(--coral); }
.detail-heading { display: flex; align-items: end; justify-content: space-between; gap: 25px; }
.detail-heading .eyebrow { margin-bottom: 8px; }
.detail-heading h1 { margin: 0; font: 600 43px/1.18 var(--display); }
.detail-price { padding-bottom: 4px; font: 700 20px/1.2 var(--display); white-space: nowrap; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 15px 0 30px; color: var(--ink); font: 600 13px/1 var(--display); }
.detail-meta small { color: var(--muted); font: 400 11px/1 var(--sans); }
.photo-gallery { position: relative; display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 215px 215px; gap: 9px; overflow: hidden; }
.gallery-cover { grid-row: 1 / 3; min-width: 0; }
.gallery-cover img, .gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb { min-width: 0; min-height: 0; overflow: hidden; background: var(--paper-deep); }
.gallery-thumb img { transition: transform .45s ease; }
.gallery-thumb:hover img { transform: scale(1.04); }
.gallery-count { position: absolute; right: 13px; bottom: 13px; padding: 9px 12px; color: white; background: rgba(29,48,45,.8); font-size: 10px; }
.detail-content { display: grid; grid-template-columns: 1.55fr .8fr; gap: 9%; margin-top: 60px; }
.detail-copy .eyebrow { margin-bottom: 11px; }
.detail-copy h2, .video-section h2 { margin: 0 0 16px; font: 500 29px/1.3 var(--display); }
.detail-copy > p { max-width: 680px; color: #59665e; font-size: 15px; line-height: 1.8; }
.detail-copy h3 { margin: 27px 0 10px; font: 700 14px/1.4 var(--display); }
.amenity-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.amenity-list li { padding: 8px 11px; background: var(--paper-deep); color: #4c5c53; font-size: 11px; }
.contact-panel { align-self: start; margin-top: 5px; padding: 26px 26px 29px; border-top: 2px solid var(--coral); background: var(--white); }
.contact-panel .eyebrow { color: var(--pine); }
.contact-panel h2 { margin: 10px 0; font: 600 22px/1.35 var(--display); }
.contact-panel p { margin: 0 0 19px; color: #69756e; font-size: 12px; }
.contact-panel .button { width: 100%; }
.video-section { margin-top: 72px; }
.video-section .eyebrow { margin-bottom: 8px; }
.video-frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #1b2d29; }
.video-frame iframe, .video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.not-found { min-height: 58vh; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 80px 12%; }
.not-found h1 { max-width: 650px; margin: 12px 0 28px; font: 500 48px/1.2 var(--display); }
.text-action { border: 0; padding: 0; color: var(--pine); background: none; cursor: pointer; font-size: 12px; font-weight: 700; }

.admin-main { max-width: 1120px; min-height: 70vh; margin: 0 auto; padding: 62px 30px 100px; }
.admin-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 34px; }
.admin-heading .eyebrow { margin-bottom: 7px; }
.admin-heading h1 { margin: 0; font: 600 39px/1.2 var(--display); }
.admin-heading p { margin: 8px 0 0; color: var(--muted); font-size: 12px; }
.admin-heading > .button { flex: 0 0 auto; }
.listing-table-wrap { overflow-x: auto; border-top: 1px solid var(--line); }
.listing-table { width: 100%; border-collapse: collapse; text-align: left; }
.listing-table th { padding: 14px 12px; color: #78827a; font-size: 9px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.listing-table td { padding: 13px 12px; border-top: 1px solid var(--line); color: #56645c; font-size: 11px; white-space: nowrap; }
.table-property { display: flex; align-items: center; gap: 13px; white-space: normal; }
.table-property img, .table-placeholder { width: 68px; height: 51px; object-fit: cover; background: var(--paper-deep); }
.table-placeholder { display: grid; place-items: center; color: var(--coral); font: 22px/1 var(--serif); }
.table-property strong, .table-property small { display: block; }
.table-property strong { color: var(--ink); font-size: 12px; }
.table-property small { margin-top: 3px; color: #849087; font-size: 10px; }
.status-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px; font-size: 9px; }
.status-pill::before { width: 6px; height: 6px; border-radius: 50%; content: ''; }
.status-live { color: #3e6e52; background: #e3eee4; }
.status-live::before { background: #528b64; }
.status-draft { color: #7d7560; background: #eee9dc; }
.status-draft::before { background: #bb9c57; }
.table-edit { color: var(--coral); font-weight: 700; }
.empty-table { padding: 44px 12px !important; color: var(--muted) !important; text-align: center; }
.editor-heading { margin-bottom: 28px; }
.editor-heading h1 { margin-top: 5px; font-size: 30px; }
.editor-heading .back-link { display: block; margin-bottom: 18px; }
.editor-form { max-width: 820px; }
.form-section { padding: 28px 0 33px; border-top: 1px solid var(--line); }
.section-heading { display: flex; gap: 15px; margin-bottom: 22px; }
.section-heading > span { padding-top: 4px; color: var(--coral); font: 600 12px/1.3 var(--display); }
.section-heading h2 { margin: 0; font: 700 17px/1.4 var(--display); }
.section-heading p { margin: 3px 0 0; color: var(--muted); font-size: 11px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.editor-form label, .auth-form label { display: flex; flex-direction: column; gap: 7px; color: #46564d; font-size: 11px; font-weight: 700; }
.form-grid .wide { grid-column: 1 / -1; }
.editor-form input:not([type=checkbox]):not([type=file]), .editor-form select, .editor-form textarea, .auth-form input { width: 100%; min-height: 45px; border: 1px solid #d5d9d0; border-radius: 0; padding: 10px 12px; color: var(--ink); background: var(--white); font-size: 13px; font-weight: 400; }
.editor-form textarea { min-height: auto; resize: vertical; }
.editor-form label small, .auth-form label small, .field-note { color: #89928a; font-size: 10px; font-weight: 400; }
.publish-toggle { display: flex !important; flex-direction: row !important; align-items: center; gap: 12px !important; margin-top: 20px; cursor: pointer; }
.publish-toggle input { width: 18px; height: 18px; accent-color: var(--pine); }
.publish-toggle strong, .publish-toggle small { display: block; }
.publish-toggle strong { color: var(--ink); font-size: 11px; }
.publish-toggle small { margin-top: 2px; color: var(--muted); font-size: 10px; font-weight: 400; }
.upload-drop { position: relative; min-height: 86px; display: flex !important; flex-direction: row !important; align-items: center; gap: 14px !important; padding: 15px 18px; border: 1px dashed #b6bdb0; background: rgba(255,255,255,.45); cursor: pointer; }
.upload-drop:hover { border-color: var(--pine); background: var(--white); }
.upload-drop > span:nth-child(2) { display: grid; gap: 3px; }
.upload-drop strong { color: var(--ink); font-size: 12px; }
.upload-drop small { color: var(--muted); font-size: 10px; font-weight: 400; }
.upload-icon { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 50%; color: var(--pine); background: #e7ebdf; font-size: 17px; }
.upload-drop input { position: absolute; inset: 0; width: 100%; height: 100%; cursor: pointer; opacity: 0; }
.field-note { display: block; margin-top: 9px; }
.photo-manager { display: grid; gap: 7px; margin-top: 20px; }
.photo-row { min-height: 57px; display: flex; align-items: center; gap: 11px; padding: 5px 8px; border: 1px solid var(--line); background: rgba(255,255,255,.52); }
.photo-row > img { width: 58px; height: 44px; object-fit: cover; background: var(--paper-deep); }
.photo-rank { flex: 1; color: #58665e; font-size: 10px; }
.photo-row > form { display: flex; gap: 4px; }
.icon-button { min-width: 32px; min-height: 32px; display: inline-grid; place-items: center; border: 1px solid var(--line); color: #5d6b62; background: var(--white); cursor: pointer; font-size: 14px; }
.icon-button:hover { border-color: var(--pine); color: var(--pine); }
.icon-button input { display: none; }
.icon-danger:hover { border-color: var(--coral); color: var(--coral); }
.video-upload-row { display: flex; align-items: end; gap: 14px; margin-top: 18px; }
.video-upload-row label { flex: 1; }
.video-upload-row input[type=file] { min-height: 40px; padding-top: 10px; font-size: 10px; }
.remove-video-form { margin-top: 12px; }
.hidden-video-form { display: none; }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; padding: 18px 0; border-top: 1px solid var(--line); }
.delete-listing-form { max-width: 820px; padding-top: 16px; border-top: 1px solid var(--line); }
.danger-action { color: #a94134; }
.settings-form { padding-top: 25px; border-top: 1px solid var(--line); }
.settings-form label + label { margin-top: 20px; }
.settings-form .form-actions { margin-top: 26px; }
.hero-image-settings { max-width: 820px; margin-top: 25px; border-top: 1px solid var(--line); }
.hero-image-preview { width: min(100%, 560px); aspect-ratio: 16 / 7; object-fit: cover; background: var(--paper-deep); }
.hero-image-default { margin: 0 0 15px; color: var(--muted); font-size: 11px; }
.hero-image-form { display: flex; align-items: end; gap: 12px; margin-top: 16px; }
.hero-image-form .upload-drop { flex: 1; }
.remove-hero-form { margin-top: 13px; }
.notice { position: relative; z-index: 4; width: min(1120px, calc(100% - 40px)); margin: 16px auto 0; padding: 12px 16px; font-size: 12px; }
.notice-success { color: #28553a; background: #e3eee4; }
.notice-error { color: #8d392f; background: #f5e6e0; }
.auth-shell { min-height: 650px; display: grid; grid-template-columns: 1fr 1fr; }
.auth-aside { position: relative; min-height: 590px; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding: 70px 12%; color: white; background: var(--pine); }
.auth-aside .eyebrow { color: var(--sun); }
.auth-aside h1 { max-width: 430px; margin: 20px 0 13px; font: 500 44px/1.18 var(--display); }
.auth-aside p { max-width: 390px; margin: 0; color: rgba(255,255,255,.72); font-size: 13px; }
.auth-art { position: absolute; right: 8%; bottom: 0; width: 270px; height: 210px; overflow: hidden; }
.art-sun { position: absolute; right: 26px; top: 18px; width: 75px; height: 75px; border-radius: 50%; background: var(--sun); }
.art-hill { position: absolute; right: -40px; bottom: -90px; width: 340px; height: 180px; border-radius: 50%; background: #718b73; transform: rotate(-17deg); }
.art-house { position: absolute; z-index: 1; left: 22px; bottom: 25px; width: 142px; height: 90px; background: #eee9d9; }
.art-house::before { position: absolute; top: -54px; left: -12px; width: 166px; height: 75px; background: #bb654d; content: ''; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.art-house::after { position: absolute; right: 20px; bottom: 0; width: 37px; height: 57px; background: #7b8976; content: ''; }
.auth-form { width: min(400px, 78%); align-self: center; justify-self: center; padding: 50px 0; }
.auth-form h2 { margin: 7px 0 27px; font: 600 25px/1.3 var(--display); }
.auth-form label + label { margin-top: 17px; }
.auth-form .button { width: 100%; margin-top: 24px; }
.form-footnote { margin: 17px 0 0; color: #858f87; font-size: 10px; }
.form-footnote a { color: var(--pine); }
.setup-error { min-height: 100vh; display: grid; place-items: center; padding: 25px; }
.error-panel { width: min(610px, 100%); padding: 38px; border-top: 3px solid var(--coral); background: var(--white); }
.error-panel h1 { margin: 9px 0; font: 600 29px/1.3 var(--display); }
.error-panel p { color: #48594f; font-size: 13px; }
.error-panel .muted { color: var(--muted); font-size: 11px; }

@media (max-width: 980px) {
    .hero-copy { width: 73%; margin-left: 8%; }
    .hero h1 { font-size: 66px; }
    .homes-section { padding-right: 6%; padding-left: 6%; }
    .listing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 22px; }
    .photo-gallery { grid-template-rows: 180px 180px; }
    .detail-content { gap: 5%; }
}

@media (max-width: 680px) {
    html { scroll-padding-top: 68px; }
    .topbar { height: 66px; padding: 0 20px; }
    .brand { gap: 8px; font-size: 14px; }
    .brand-mark { width: 27px; height: 27px; }
    .menu-toggle { width: 42px; height: 42px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border: 1px solid var(--line); background: transparent; cursor: pointer; }
    .menu-toggle span { width: 16px; height: 1px; background: var(--ink); }
    .main-nav { position: absolute; top: 65px; left: 0; right: 0; display: none; align-items: stretch; gap: 0; padding: 9px 20px 18px; border-bottom: 1px solid var(--line); background: var(--paper); }
    .main-nav.is-open { display: flex; flex-direction: column; }
    .main-nav .nav-link, .main-nav .nav-form { padding: 12px 0; }
    .nav-cta { justify-content: center; margin-top: 6px; }
    .hero { min-height: 665px; height: calc(91svh - 66px); max-height: 790px; background-position: 58% center; }
    .hero::before { background: rgba(15,35,31,.54); }
    .hero-copy { width: auto; margin: 0; padding: 50px 25px 67px; }
    .hero h1 { margin-top: 23px; font-size: 49px; }
    .hero-copy > p { max-width: 390px; font-size: 15px; line-height: 1.65; }
    .button { min-height: 48px; }
    .hero-note { margin-top: 43px; font-size: 10px; }
    .hero-image-label { right: 25px; bottom: 20px; font-size: 8px; }
    .hero-vertical { right: 10px; font-size: 7px; }
    .intro-band { min-height: 240px; padding: 54px 25px 61px; }
    .intro-band > p { max-width: 480px; font-size: 25px; }
    .intro-mark { right: 26px; top: auto; bottom: 18px; font-size: 26px; transform: none; }
    .homes-section { padding: 68px 22px 78px; }
    .section-top { margin-bottom: 26px; }
    .section-top h2 { font-size: 31px; }
    .home-count { font-size: 17px; }
    .listing-grid { grid-template-columns: 1fr; gap: 30px; }
    .property-image { aspect-ratio: 1.3; }
    .property-title-row h3 { font-size: 16px; }
    .closing-band { align-items: flex-start; flex-direction: column; gap: 20px; padding: 51px 25px 61px; }
    .closing-band h2 { font-size: 34px; }
    .closing-band .button { width: 100%; justify-content: space-between; }
    .closing-coordinate { right: 23px; bottom: 14px; }
    .site-footer { align-items: flex-start; flex-direction: column; gap: 9px; padding: 24px 23px; }
    .detail-main { padding: 28px 20px 72px; }
    .detail-back { margin-bottom: 19px; }
    .detail-heading { align-items: flex-start; flex-direction: column; gap: 9px; }
    .detail-heading h1 { font-size: 32px; }
    .detail-price { font-size: 18px; }
    .detail-meta { gap: 17px; margin: 13px 0 21px; }
    .photo-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 112px; gap: 6px; }
    .gallery-cover { grid-column: 1 / -1; grid-row: auto; }
    .gallery-thumb:nth-of-type(n+4) { display: none; }
    .gallery-count { right: 8px; bottom: 8px; padding: 7px 9px; font-size: 9px; }
    .detail-content { grid-template-columns: 1fr; gap: 26px; margin-top: 37px; }
    .detail-copy h2, .video-section h2 { font-size: 25px; }
    .contact-panel { padding: 22px; }
    .video-section { margin-top: 48px; }
    .not-found { min-height: 56vh; padding: 60px 25px; }
    .not-found h1 { font-size: 36px; }
    .admin-main { padding: 42px 20px 72px; }
    .admin-heading { align-items: flex-start; gap: 14px; }
    .admin-heading h1 { font-size: 31px; }
    .admin-heading > .button { min-height: 44px; gap: 7px; padding: 0 11px; font-size: 11px; }
    .listing-table { min-width: 680px; }
    .listing-table-wrap { margin-right: -20px; }
    .editor-heading { margin-bottom: 22px; }
    .editor-heading h1 { font-size: 25px; }
    .form-grid { grid-template-columns: 1fr; gap: 15px; }
    .form-grid .wide { grid-column: auto; }
    .form-section { padding: 23px 0 27px; }
    .video-upload-row { align-items: stretch; flex-direction: column; }
    .video-upload-row .button { align-self: flex-start; }
    .hero-image-form { align-items: stretch; flex-direction: column; }
    .hero-image-form .button { align-self: flex-start; }
    .auth-shell { min-height: calc(100svh - 66px); grid-template-columns: 1fr; grid-template-rows: minmax(260px, 35svh) 1fr; }
    .auth-aside { min-height: 260px; padding: 34px 26px; }
    .auth-aside h1 { max-width: 330px; margin: 12px 0 8px; font-size: 33px; }
    .auth-aside p { max-width: 340px; font-size: 11px; }
    .auth-art { right: 1%; width: 182px; height: 145px; transform: scale(.75); transform-origin: bottom right; }
    .auth-form { width: min(400px, calc(100% - 48px)); align-self: start; padding: 35px 0 50px; }
    .auth-form h2 { margin-bottom: 21px; }
    .error-panel { padding: 26px; }
    .notice { width: calc(100% - 30px); }
}

@media (max-width: 380px) {
    .hero h1 { font-size: 42px; }
    .hero-location { font-size: 9px; letter-spacing: 1.2px; }
    .detail-meta { gap: 12px; }
    .property-specs span + span { margin-left: 8px; padding-left: 8px; }
}

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