/* A Dream Realty - inner page styles (uses tokens from site.css) */

.section--tight { padding: clamp(40px, 5vw, 64px) 0; }
.narrow { max-width: calc(860px + var(--gutter) * 2); }
.lead { font-size: 1.15rem; color: var(--text); }
.prose > p, .prose li { color: var(--muted); }
.prose h2 { margin-top: 0; }
.prose h3 { font-size: 1.45rem; margin: 1.6em 0 .5em; }
.prose ul:not([class]) { padding-left: 1.2em; }
.prose a:not(.btn):not(.text-link) { color: var(--ink); text-decoration-color: var(--gold); text-underline-offset: 3px; }
.site-nav__list a.is-current { border-bottom-color: var(--gold); }
.btn-row--end { justify-content: flex-end; margin-top: 0; }
.btn-row--center { justify-content: center; }
.btn--block { width: 100%; }

/* Page banner */
.page-hero { position: relative; min-height: clamp(320px, 46vh, 460px); display: flex; align-items: flex-end; color: var(--white); background: var(--ink); overflow: hidden; }
.page-hero--compact { min-height: clamp(260px, 34vh, 340px); }
.page-hero__bg, .page-hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.page-hero__bg img { object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 19, 18, .35) 0%, rgba(20, 19, 18, .55) 55%, rgba(20, 19, 18, .82) 100%); }
.page-hero__inner { position: relative; z-index: 1; padding-top: 56px; padding-bottom: clamp(36px, 5vw, 56px); }
.page-hero h1 { color: var(--white); font-size: clamp(2.5rem, 5vw, 4.2rem); margin-bottom: 8px; text-wrap: balance; }
.page-hero__lead { font-size: clamp(1rem, 1.4vw, 1.15rem); color: rgba(255, 255, 255, .92); margin: 0; max-width: 640px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 16px; padding: 0; font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.crumbs a { text-decoration: none; color: rgba(255, 255, 255, .85); }
.crumbs a:hover { color: var(--gold); }
.crumbs span { color: var(--white); }
.crumbs--dark a { color: var(--muted); }
.crumbs--dark span { color: var(--ink); }

/* Split and boxes */
.split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(36px, 6vw, 80px); align-items: start; }
.split--center { align-items: center; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.split__aside { display: grid; gap: 22px; }
.info-box { border: 1px solid var(--line); border-top: 3px solid var(--gold); background: var(--white); padding: 30px; display: grid; gap: 12px; align-content: start; }
.info-box h3 { font-size: 1.5rem; margin: 0; }
.info-box p { margin: 0; color: var(--muted); }
.info-box .btn { width: 100%; }
.info-box__note { font-size: .82rem; }
.mini-list { list-style: none; margin: 0; padding: 0; }
.mini-list li { padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .9rem; color: var(--muted); line-height: 1.5; }
.mini-list li:last-child { border-bottom: 0; }
.mini-list strong { color: var(--ink); margin-right: 4px; }
.mini-list span { font-size: .8rem; color: var(--gold-deep); font-weight: 600; }
.check-list { list-style: none; padding: 0; margin: 0 0 1.4em; }
.check-list li { position: relative; padding: 8px 0 8px 28px; border-bottom: 1px solid var(--line); color: var(--muted); }
.check-list li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 12px; height: 6px; border-left: 2px solid var(--gold-deep); border-bottom: 2px solid var(--gold-deep); transform: rotate(-45deg); }
.disclaimer-note { font-size: .82rem; color: var(--muted); border-left: 2px solid var(--gold); padding-left: 14px; margin: 24px 0 0; }
.pull-quote { margin: 28px 0 0; padding: 18px 0 0 24px; border-left: 2px solid var(--gold); font-family: var(--serif); font-size: 1.6rem; font-style: italic; line-height: 1.3; color: var(--ink); }

/* Steps and timeline */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.steps li { display: flex; gap: 18px; padding: 30px 26px 30px 0; border-bottom: 1px solid var(--line); }
.steps li:nth-child(3n+2), .steps li:nth-child(3n+3) { padding-left: 26px; border-left: 1px solid var(--line); }
.steps__no { flex: 0 0 auto; font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--gold-deep); font-weight: 600; }
.steps h3 { font-size: 1.4rem; margin-bottom: 6px; }
.steps p { margin: 0; color: var(--muted); font-size: .94rem; }
.timeline { display: grid; max-width: 880px; }
.timeline__item { position: relative; padding: 0 0 34px 42px; border-left: 1px solid var(--gold); }
.timeline__item:last-child { padding-bottom: 0; border-left-color: transparent; }
.timeline__item::before { content: ""; position: absolute; left: -7px; top: 6px; width: 13px; height: 13px; border-radius: 50%; background: var(--cream); border: 2px solid var(--gold-deep); }
.timeline__item h3 { font-size: 1.5rem; margin-bottom: 6px; }
.timeline__item p { margin: 0; color: var(--muted); }

.feature-row { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(36px, 6vw, 80px); align-items: center; }
.feature-row--reverse .feature-row__media { order: 2; }
.feature-row__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.band { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.band > div { max-width: 720px; }
.band h2 { margin-bottom: 10px; }
.band p { margin: 0; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
.text-block { padding: 26px 0; border-top: 1px solid var(--line); }
.text-block h3 { font-size: 1.45rem; margin-bottom: 6px; }
.text-block p { margin: 0; color: var(--muted); }

/* About */
.about-story { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 96px); align-items: start; }
.about-story__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 22%; }
.about-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 640px; }
.about-facts__item { padding: 10px 28px; border-left: 1px solid var(--line); }
.about-facts__item:first-child { border-left: 0; padding-left: 0; }
.about-facts strong { display: block; font-family: var(--serif); font-size: 2.6rem; color: var(--ink); line-height: 1.1; font-weight: 600; }
.about-facts span { font-size: .85rem; color: var(--muted); }
.how-work { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 80px); }
.how-work__list { list-style: none; margin: 0; padding: 0; counter-reset: hw; }
.how-work__list li { counter-increment: hw; position: relative; padding: 0 0 28px 64px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.how-work__list li:last-child { margin-bottom: 0; }
.how-work__list li::before { content: "0" counter(hw); position: absolute; left: 0; top: 4px; font-size: .8rem; font-weight: 600; letter-spacing: .2em; color: var(--gold-deep); }
.how-work__list h3 { font-size: 1.5rem; margin-bottom: 6px; }
.how-work__list p { margin: 0; color: var(--muted); }

/* FAQ */
.faq-layout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: clamp(36px, 6vw, 80px); align-items: start; }
.faq-nav { position: sticky; top: 110px; display: grid; gap: 24px; }
.faq-nav ul { list-style: none; padding: 0; margin: 0; }
.faq-nav li a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 500; }
.faq-nav li a:hover { color: var(--gold-deep); }
.faq-group { margin-bottom: 48px; scroll-margin-top: 110px; }
.faq-group h2 { font-size: 2.2rem; margin-bottom: 14px; }
.faq { border-bottom: 1px solid var(--line); }
.faq-group h2 + .faq { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative; font-weight: 600; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-family: var(--serif); font-size: 1.9rem; color: var(--gold-deep); line-height: 1; }
.faq[open] summary::after { content: "\2212"; }
.faq__answer p { color: var(--muted); padding-right: 40px; }

/* Search */
.search-intro { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-bottom: 24px; }
.search-intro p { margin: 0; max-width: 720px; color: var(--muted); }
.idx-frame { border: 1px solid var(--line); background: var(--cream); }
.idx-frame iframe { display: block; width: 100%; height: min(1400px, 150vh); border: 0; }
.idx-note { font-size: .78rem; color: var(--muted); margin-top: 14px; }

/* Listings */
.listing-row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 64px); align-items: center; padding-bottom: 56px; margin-bottom: 56px; border-bottom: 1px solid var(--line); }
.listing-row__media { position: relative; display: block; overflow: hidden; }
.listing-row__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .6s ease; }
.listing-row__media:hover img { transform: scale(1.03); }
.listing-row__body h2 a { text-decoration: none; }
.listing-row__body > p { color: var(--muted); }
.note-band { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; background: var(--cream); padding: 32px 36px; }
.note-band p { margin: 0; max-width: 600px; }
.note-band .btn-row { margin-top: 0; }

.listing-head { padding: 28px 0 26px; }
.listing-head__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.listing-head__title { font-size: clamp(2.3rem, 4.4vw, 3.6rem); margin: 12px 0 2px; }
.listing-head__city { margin: 0; color: var(--muted); font-size: 1.05rem; }
.listing-head__price { text-align: right; }
.listing-head__price p { font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 600; color: var(--ink); line-height: 1; margin: 0 0 14px; }
.status-pill { display: inline-block; background: var(--ink); color: var(--white); font-size: .68rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; padding: 6px 12px; }

.gallery { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 8px; aspect-ratio: 21 / 9; }
.gallery__item { position: relative; display: block; overflow: hidden; background: var(--cream); }
.gallery__item picture, .gallery__item img { width: 100%; height: 100%; }
.gallery__item img { object-fit: cover; transition: transform .5s ease; }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__item--1 { grid-row: 1 / 3; }
.gallery__all { display: none; }
.gallery__more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(20, 19, 18, .55); color: var(--white); font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }

.listing-body { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(36px, 5vw, 72px); align-items: start; }
.listing-specs--lg li { font-size: .95rem; }
.listing-body__h { font-size: 2rem; margin: 48px 0 18px; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 36px; margin: 0; }
.facts div { display: flex; justify-content: space-between; gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); font-size: .9rem; }
.facts dd { margin: 0; font-weight: 500; text-align: right; font-size: .92rem; }
.floorplans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.floorplans a { display: block; border: 1px solid var(--line); background: var(--white); padding: 10px; }
.floorplans img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; }
.map-frame iframe { display: block; width: 100%; height: 380px; border: 0; }
.listing-body__aside { position: sticky; top: 100px; display: grid; gap: 20px; scroll-margin-top: 100px; }
.agent-card { display: flex; gap: 18px; align-items: center; padding: 18px; border: 1px solid var(--line); }
.agent-card img { width: 84px; height: 84px; object-fit: cover; object-position: center 20%; border-radius: 50%; }
.agent-card p { margin: 0; font-size: .88rem; color: var(--muted); line-height: 1.5; }
.agent-card .agent-card__name { font-family: var(--serif); font-size: 1.4rem; color: var(--ink); font-weight: 600; }
.agent-card a { font-weight: 600; text-decoration: none; font-size: .92rem; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(14, 13, 12, .96); display: grid; grid-template-columns: 72px minmax(0, 1fr) 72px; align-items: center; padding: 64px 12px 24px; }
.lightbox[hidden] { display: none; }
.lightbox__figure { margin: 0; display: grid; gap: 18px; justify-items: center; min-width: 0; }
.lightbox__img { max-width: 100%; max-height: calc(100vh - 170px); object-fit: contain; }
.lightbox__caption { display: flex; justify-content: space-between; gap: 24px; width: min(100%, 1100px); color: rgba(255, 255, 255, .88); font-size: .9rem; line-height: 1.5; padding: 0 4px; }
.lightbox__count { flex: 0 0 auto; color: var(--gold); font-weight: 600; letter-spacing: .1em; }
.lightbox__close { position: absolute; top: 16px; right: 20px; background: transparent; border: 1px solid rgba(255, 255, 255, .45); color: var(--white); padding: 8px 16px; font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; cursor: pointer; }
.lightbox__nav { width: 52px; height: 52px; justify-self: center; border: 1px solid rgba(255, 255, 255, .45); background: transparent; color: var(--white); font-size: 1.9rem; cursor: pointer; display: grid; place-items: center; }
.lightbox__nav:hover, .lightbox__close:hover { background: var(--white); color: var(--ink); }
body.lb-open { overflow: hidden; }

/* Sold page */
.sold-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sold-stats div { padding: 26px 24px; border-left: 1px solid var(--line); }
.sold-stats div:first-child { border-left: 0; padding-left: 0; }
.sold-stats strong { display: block; font-family: var(--serif); font-size: 2.6rem; line-height: 1.1; color: var(--ink); font-weight: 600; }
.sold-stats span { font-size: .85rem; color: var(--muted); }
.sold-source { font-size: .82rem; color: var(--muted); margin: 14px 0 36px; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.filter-bar button { background: transparent; border: 1px solid var(--line); padding: 9px 18px; font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); cursor: pointer; }
.filter-bar button:hover { border-color: var(--ink); }
.filter-bar button.is-active { background: var(--ink); color: var(--white); border-color: var(--ink); }
.sold-card[hidden] { display: none; }
.sold-card__meta { font-size: .82rem; color: var(--muted); margin: 10px 0 0; padding-top: 10px; border-top: 1px solid var(--line); }

/* Areas */
.area-list { display: grid; }
.area-card { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 64px); align-items: center; padding: 32px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; }
.area-card:first-child { padding-top: 0; }
.area-card:nth-child(even) .area-card__media { order: 2; }
.area-card__media { overflow: hidden; }
.area-card__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .6s ease; }
.area-card:hover .area-card__media img { transform: scale(1.04); }
.area-card__body { display: grid; gap: 8px; justify-items: start; }
.area-card__county { font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); }
.area-card__name { font-family: var(--serif); font-size: clamp(2.2rem, 3.4vw, 3rem); font-weight: 600; color: var(--ink); line-height: 1.05; }
.area-card__text { color: var(--muted); max-width: 560px; }
.mini-listing { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 16px; align-items: center; text-decoration: none; border: 1px solid var(--line); padding: 12px; }
.mini-listing img { width: 140px; height: 104px; object-fit: cover; }
.mini-listing__body { display: grid; gap: 4px; font-size: .88rem; color: var(--muted); justify-items: start; }
.mini-listing__price { font-family: var(--serif); font-size: 1.7rem; color: var(--ink); font-weight: 600; line-height: 1.1; }
.mini-listing__specs { font-size: .8rem; }
.other-areas__title { font-size: 1.9rem; margin-bottom: 18px; }
.other-areas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; list-style: none; margin: 0; padding: 0; }
.other-areas a { display: flex; justify-content: space-between; gap: 10px; padding: 13px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 500; }
.other-areas a span { font-size: .8rem; color: var(--muted); font-weight: 400; }
.other-areas a:hover { color: var(--gold-deep); }

/* Forms */
.contact-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 80px); align-items: start; }
.contact-layout--reverse { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.contact-info h2 { font-size: 2.2rem; }
.contact-info > p { color: var(--muted); }
.contact-info .info-box { margin-top: 26px; }
.contact-list { margin: 26px 0 0; }
.contact-list div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list dt { font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 4px; }
.contact-list dd { margin: 0; font-size: 1.02rem; }
.contact-list a { text-decoration: none; font-weight: 600; }
.mini-steps { margin: 0; padding-left: 1.2em; display: grid; gap: 14px; color: var(--muted); }
.mini-steps strong { color: var(--ink); }
.form-card { background: var(--cream); padding: clamp(26px, 4vw, 44px); }
.form-card h2 { font-size: 2rem; margin-bottom: 8px; }
.form-card > p { color: var(--muted); }
.form fieldset { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
.form legend { font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 12px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; margin-bottom: 22px; }
.field--full { grid-column: 1 / -1; }
.field { display: grid; gap: 6px; min-width: 0; }
.listing-body__aside .field { margin-bottom: 14px; }
.field label { font-size: .82rem; font-weight: 600; color: var(--ink); }
.field .req { color: var(--gold-deep); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; border: 1px solid #d6ccb8; background: var(--white); color: var(--text); padding: 12px 14px; font-size: .98rem; border-radius: 0; appearance: none; -webkit-appearance: none; }
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.field textarea { min-height: 120px; resize: vertical; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 2px rgba(193, 154, 91, .35); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #a12a20; }
.field__error { margin: 0; font-size: .8rem; color: #a12a20; }
.form-alert { background: #fbeeec; border-left: 3px solid #a12a20; color: #7a1d16; padding: 12px 16px; font-size: .9rem; margin-bottom: 18px; }
.form-note { font-size: .78rem; color: var(--muted); margin: 14px 0 0; }
.form-note a { color: var(--ink); }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn[data-submit].is-loading { opacity: .7; pointer-events: none; }

/* Reviews, thanks, legal */
.review-card { margin: 0; padding: clamp(28px, 5vw, 56px); border: 1px solid var(--line); border-top: 3px solid var(--gold); }
.review-card blockquote { margin: 0; }
.review-card blockquote p { font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 2.8vw, 2.2rem); line-height: 1.35; color: var(--ink); }
.review-card figcaption { font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.review-card figcaption span { display: block; font-weight: 400; letter-spacing: .04em; text-transform: none; color: var(--muted); margin-top: 2px; }
.thanks { min-height: 60vh; display: flex; align-items: center; background: var(--cream); }
.thanks__inner { text-align: center; }
.thanks h1 { font-size: clamp(2.6rem, 5vw, 4rem); }
.legal { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 3fr); gap: clamp(36px, 6vw, 80px); align-items: start; }
.legal__body { max-width: 760px; }
.legal__body h2 { font-size: 1.7rem; margin: 1.8em 0 .5em; }
.legal__body h2:first-child { margin-top: 0; }
.legal__aside { position: sticky; top: 110px; border-top: 3px solid var(--gold); padding-top: 18px; font-size: .9rem; color: var(--muted); }
.legal__aside a { color: var(--ink); text-decoration: none; }
.legal__aside ul { list-style: none; padding: 0; margin: 0; }
.legal__aside li { padding: 7px 0; border-bottom: 1px solid var(--line); }

@media (max-width: 1080px) {
    .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .steps li:nth-child(n) { padding-left: 0; border-left: 0; }
    .steps li:nth-child(even) { padding-left: 26px; border-left: 1px solid var(--line); }
    .about-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 20px; }
    .about-facts__item:nth-child(3) { border-left: 0; padding-left: 0; }
    .sold-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sold-stats div:nth-child(3) { border-left: 0; padding-left: 0; }
    .sold-stats div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 900px) {
    .split, .split--center, .feature-row, .about-story, .how-work, .faq-layout, .listing-row, .listing-body, .contact-layout, .contact-layout--reverse, .legal, .area-card { grid-template-columns: minmax(0, 1fr); }
    .feature-row--reverse .feature-row__media, .area-card:nth-child(even) .area-card__media { order: 0; }
    .btn-row--end { justify-content: flex-start; }
    .faq-nav, .legal__aside, .listing-body__aside { position: static; }
    .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; aspect-ratio: auto; }
    .gallery__item--1 { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 3 / 2; }
    .gallery__item:not(.gallery__item--1) { aspect-ratio: 4 / 3; }
    .listing-head__price { text-align: left; }
    .other-areas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .about-story__media { max-width: 480px; }
}
@media (max-width: 640px) {
    .steps { grid-template-columns: minmax(0, 1fr); }
    .steps li:nth-child(even) { padding-left: 0; border-left: 0; }
    .grid-2, .facts, .form-grid, .floorplans, .other-areas { grid-template-columns: minmax(0, 1fr); }
    .gallery__item--4, .gallery__item--5 { display: none; }
    .gallery__all { display: flex; width: 100%; margin-top: 10px; }
    .site-header.is-solid .header-top { display: none; }
    .about-facts, .sold-stats { grid-template-columns: minmax(0, 1fr); }
    .about-facts__item, .sold-stats div { border-left: 0 !important; padding-left: 0 !important; border-top: 1px solid var(--line); }
    .lightbox { grid-template-columns: minmax(0, 1fr); padding: 64px 8px 90px; }
    .lightbox__nav { position: absolute; bottom: 22px; }
    .lightbox__nav--prev { left: calc(50% - 64px); }
    .lightbox__nav--next { right: calc(50% - 64px); }
    .lightbox__caption { flex-direction: column; gap: 6px; }
    .note-band { padding: 26px 22px; }
    .mini-listing { grid-template-columns: 110px minmax(0, 1fr); }
    .mini-listing img { width: 110px; height: 86px; }
    .idx-frame iframe { height: 1100px; }
    .facts div { flex-direction: column; gap: 2px; }
    .facts dd { text-align: left; }
}
