*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button,
input,
select,
textarea {
  font: inherit;
}
img {
  max-width: 100%;
}
button,
a,
input,
select,
summary {
  -webkit-tap-highlight-color: transparent;
}
:focus-visible {
  outline: 3px solid #8a562e;
  outline-offset: 4px;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.65;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.site-header {
  max-width: 1440px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.7rem 3rem;
  border-bottom: 1px solid #d5d9ce;
  gap: 2rem;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  font-family: Georgia, serif;
  font-size: 1.65rem;
  line-height: 1.1;
}
.brand-mark {
  font-size: 2.7rem;
  border-right: 1px solid #adb9a9;
  padding-right: 0.7rem;
}
.brand-subtitle {
  display: block;
  font-family: Arial, sans-serif;
  font-size: 0.55rem;
  letter-spacing: 0.28em;
  margin-top: 0.45rem;
}
.navbar-content {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
.navbar-content a,
.navbar-content button {
  font-size: 0.8rem;
  text-decoration: none;
  padding: 0.65rem 0;
  border: 0;
  background: none;
  white-space: nowrap;
}
.navbar-content a:hover,
.navbar-content a[aria-current] {
  text-decoration: underline;
}
.hamburger {
  display: none;
  background: none;
  border: 1px solid #adb9a9;
  min-height: 44px;
  padding: 0.5rem 0.8rem;
}
@media (max-width: 1000px) {
  .site-header {
    padding: 1.2rem;
    position: relative;
  }
  .hamburger {
    display: block;
  }
  .navbar-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #f7f5ef;
    border-bottom: 1px solid #adb9a9;
    padding: 1.25rem;
    z-index: 20;
    box-shadow: 0 12px 18px #203b3010;
  }
  .navbar-content.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.3rem;
  }
  .navbar-content a {
    min-height: 44px;
  }
  .wordmark {
    font-size: 1.3rem;
  }
  .brand-mark {
    font-size: 2.2rem;
  }
}

.modal-button {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 25;
  background: #234b39;
  color: #fffefa;
  border: 1px solid #fffefa;
  border-radius: 4px;
  padding: 0.8rem 1.2rem;
  min-height: 48px;
  box-shadow: 0 4px 20px #203b3020;
}
.modal {
  position: relative;
  background: #fffefa;
  color: #203b30;
  width: min(540px, 100%);
  max-height: 92dvh;
  overflow: auto;
  border-radius: 4px;
  padding: 2.5rem;
}
.modal h2 {
  font-size: 2.2rem;
  margin: 1rem 0;
}
.modal p {
  color: #526257;
}
.dialog-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  min-height: 44px;
  min-width: 44px;
  border: 0;
  background: none;
  font-size: 1.7rem;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1.2rem;
}
.form-field input,
.form-field select {
  width: 100%;
}
.modal .error-message {
  color: #923819;
  font-size: 0.9rem;
  margin: 0.3rem 0;
}
.modal form > .primary-button {
  width: 100%;
}
@media (max-width: 500px) {
  .modal {
    padding: 2rem 1rem;
  }
  .modal h2 {
    font-size: 1.8rem;
  }
}

:root {
  --color-bg: #f7f5ef;
  --color-bg-elevated: #fffefa;
  --color-border-subtle: #d5d9ce;
  --color-text: #203b30;
  --color-text-muted: #526257;
  --color-accent: #234b39;
  --color-accent-soft: #e8ecdf;
  --font-sans: Arial, Helvetica, sans-serif;
  --font-mono: monospace;
  --primary-color: #f7f5ef;
  --secondary-color: #234b39;
  --secondary-color-strong: #234b39;
  --tertiary-color: #203b30;
  --quarternary-color: #fffefa;
  --quinary-color: #e8ecdf;
  --senary-color: #e8ecdf;
  --septenary-color: #fffefa;
  --layer-content: 1;
  --layer-nav: 20;
  --layer-overlay: 30;
}
body {
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.65;
}
a {
  color: inherit;
  text-underline-offset: 5px;
}
h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.15;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.5rem, 5vw, 4.8rem);
}
h2 {
  font-size: clamp(2rem, 3.2vw, 3.2rem);
}
h3 {
  font-size: 1.5rem;
}
p {
  max-width: 65ch;
}
button {
  color: inherit;
}
button:active {
  transform: translateY(1px);
}
input,
select,
textarea {
  max-width: 100%;
  min-height: 48px;
  background: #fffefa;
  color: #203b30;
  border: 1px solid #849185;
  border-radius: 3px;
  padding: 0.7rem;
}
label {
  font-weight: 600;
}
.main {
  min-height: 100dvh;
}
.content-overlay {
  min-height: 50vh;
  position: relative;
  padding: 0 0 4rem;
}
.skip-link {
  position: fixed;
  top: -200px;
  left: 1rem;
  z-index: 50;
  background: #fff;
  padding: 1rem;
}
.skip-link:focus {
  top: 1rem;
}
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  min-height: 50px;
  background: #234b39;
  color: #fffefa;
  padding: 0.9rem 1.35rem;
  border: 1px solid #234b39;
  border-radius: 3px;
  text-decoration: none;
  font-size: 0.95rem;
}
.primary-button:hover {
  background: #163727;
}
.eyebrow {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: #526257;
}
.site-footer {
  max-width: 1320px;
  margin: auto;
  border-top: 1px solid #cbd1c5;
  padding: 2.5rem 3rem;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
  font-size: 0.85rem;
}
.site-footer strong {
  font-family: Georgia, serif;
  font-size: 1.4rem;
  font-weight: 400;
}
.site-footer p {
  margin: 0.3rem 0;
}
.page-title {
  font-family: Georgia, serif !important;
  color: #203b30 !important;
  letter-spacing: -0.02em !important;
}
.not-found {
  padding: 4rem;
  text-align: center;
}
@media (max-width: 700px) {
  .site-footer {
    padding: 2rem 1.25rem 6rem;
    flex-direction: column;
    align-items: flex-start;
  }
}

.main .modern-listings-page,
.main .resources-main,
.main .listings-manager-loaded,
.main .listings-manager-loading {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem 2rem;
  background: var(--color-bg);
  color: var(--color-text);
}
.main .filter-bar,
.main .listing-card,
.main .resource-item,
.main .login-container {
  background: #fffefa;
  color: #203b30;
  border-color: #cbd1c5;
  box-shadow: none;
  backdrop-filter: none;
}
.main .listing-content,
.main .listing-details,
.main .listing-specs {
  color: #203b30;
}
.main .secondary-address,
.main .spec-label,
.main .agent-name,
.main .property-type,
.main .results-count {
  color: #526257;
}
.main .price-tag,
.main .featured-badge,
.main .view-btn.active {
  background: #234b39;
  color: #fffefa;
}
.main .filter-select,
.main .sort-select {
  background: #fffefa;
  color: #203b30;
}
.main .table-container {
  max-width: 100%;
  overflow-x: auto;
}
.main .buyer-broker-table {
  color: #203b30;
  background: #fffefa;
}
.main .table-header {
  background: #234b39;
  color: #fffefa;
}
.main .table-cell {
  color: #203b30;
}
.main .login-main {
  min-height: 65vh;
  padding: 3rem 1rem;
}
.main .login-container {
  max-width: 480px;
  width: 100%;
  padding: 2rem;
}
.main .resource-item {
  border: 1px solid #cbd1c5;
  border-radius: 3px;
}
.main .download-button {
  background: #234b39;
  color: #fffefa;
}
.main .lock-screen {
  position: static;
  background: none;
  backdrop-filter: none;
  min-height: 0;
  padding: 2rem 0;
}
.main .lock-content {
  background: #fffefa;
  color: #203b30;
  box-shadow: none;
  border: 1px solid #cbd1c5;
  max-width: 480px;
}
.main .lock-content input {
  width: 100%;
}
.main .lock-content button {
  background: #234b39;
  color: #fffefa;
  min-height: 48px;
  padding: 0.75rem 1rem;
}
.main .resources-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.main .resource-item h2 {
  font-size: 1.5rem;
}
.main .resource-item p {
  color: #526257;
}
.main .loading-text,
.main .no-results-text {
  color: #526257;
}
@media (max-width: 700px) {
  .main .modern-listings-page,
  .main .resources-main,
  .main .listings-manager-loaded {
    padding: 2rem 1rem;
  }
  .main .resources-grid {
    grid-template-columns: 1fr;
  }
  .main .filter-grid {
    grid-template-columns: 1fr;
  }
  .main .results-summary {
    align-items: start;
    gap: 1rem;
    flex-direction: column;
  }
  .main .listings-container.list .listing-card {
    flex-direction: column;
  }
  .main .listings-container.list .listing-image-container {
    width: 100%;
  }
}

[hidden] {
  display: none !important;
}
.main .ai-facts-main {
  margin: 3rem auto;
}
.main .ai-facts-shell {
  background: #fffefa;
  border: 1px solid #cbd1c5;
}
.main .ai-facts-shell h1,
.main .ai-facts-shell h2,
.main .ai-facts-shell a {
  color: #234b39;
}
.main .login-container {
  margin: 2rem auto;
  min-height: 0;
  display: block;
}
.main .login-form {
  padding: 0;
  box-shadow: none;
  background: transparent;
}

.ai-facts-main {
  min-width: 0;
  width: 100%;
  overflow-wrap: anywhere;
}
.main .ai-facts-shell {
  min-width: 0;
}

.agent-profile-heading h2 {
  margin: 0.5rem 0;
}
.agent-profile-heading > h2:last-child {
  font:
    1rem Arial,
    sans-serif;
  color: #526257;
}
.agent-profile-content {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 2rem;
  margin-top: 2rem;
}
.agent-profile-image {
  width: 100%;
  object-fit: cover;
  align-self: start;
}
.agent-profile-text {
  overflow-wrap: anywhere;
}
.agent-profile-text p {
  margin-top: 0;
}
@media (max-width: 600px) {
  .agent-profile-content {
    grid-template-columns: 1fr;
  }
  .agent-profile-image {
    max-width: 240px;
  }
}

.agent-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.agent-card {
  border: 0;
  background: none;
  text-align: left;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.agent-card img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: top;
  background: #e8ecdf;
}
.agent-card-name {
  font-family: Georgia, serif;
  font-size: 1.5rem;
  margin-top: 1rem;
}
.agent-card > span:not(.agent-card-name) {
  font-size: 0.85rem;
  color: #526257;
}
.agent-card-link {
  margin-top: 0.5rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.custom-modal-overlay,
.modal-overlay {
  position: fixed;
  inset: 0;
  background: #142b24b3;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.custom-modal-content {
  position: relative;
  max-width: 850px;
  width: 100%;
  background: #fffefa;
  padding: 2.5rem;
  max-height: 90dvh;
  overflow: auto;
  border-radius: 4px;
}
@media (max-width: 700px) {
  .agent-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem 1rem;
  }
  .agent-card-name {
    font-size: 1.2rem;
  }
  .custom-modal-content {
    padding: 2rem 1rem;
  }
}

.editorial-home {
  max-width: 1440px;
  margin: auto;
}
.estate-hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  min-height: 670px;
  padding: 3rem;
  gap: 3.5rem;
  align-items: center;
}
.hero-copy {
  padding: 1rem 0;
}
.hero-copy h1 {
  font-size: clamp(2.8rem, 4.2vw, 4.1rem);
  letter-spacing: -0.045em;
  margin: 1.5rem 0;
}
.hero-copy h1 em {
  color: #5b6e58;
  font-weight: 400;
}
.hero-copy > p:not(.eyebrow):not(.hero-footnote) {
  font-size: 1.05rem;
  color: #526257;
  max-width: 45ch;
}
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.7rem;
  margin: 2rem 0;
}
.hero-actions > a {
  font-size: 0.9rem;
}
.hero-footnote {
  font-size: 0.7rem;
  color: #526257;
  margin-top: 3rem;
}
.hero-photograph {
  position: relative;
  margin: 0;
  align-self: stretch;
  min-height: 530px;
}
.hero-photograph img {
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
  border-radius: 2px;
}
.hero-photograph figcaption {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: #fffefa;
  padding: 0.65rem 1rem;
  font-size: 0.6rem;
  letter-spacing: 0.16em;
}
.section-frame {
  padding: 5rem 3rem;
  border-top: 1px solid #d5d9ce;
  scroll-margin-top: 2rem;
}
.section-frame h2 {
  margin: 1rem 0 2rem;
  letter-spacing: -0.03em;
}
.section-split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 5rem;
}
.section-split h2 {
  margin-top: 0.5rem;
}
.section-split p {
  color: #526257;
  margin-top: 0.5rem;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}
.section-heading h2 {
  margin-bottom: 0;
}
.section-heading > a {
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}
.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.preview-property {
  text-decoration: none;
  min-width: 0;
}
.preview-property img {
  aspect-ratio: 4/3;
  width: 100%;
  object-fit: cover;
  background: #e8ecdf;
}
.preview-property p {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}
.preview-property h3 {
  margin: 0.5rem 0;
}
.preview-property > span {
  color: #526257;
  font-size: 0.85rem;
}
.faq-section {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
}
.faq-section details {
  padding: 1.4rem 0;
  border-bottom: 1px solid #cbd1c5;
}
.faq-section summary {
  cursor: pointer;
  font-size: 1.05rem;
  padding: 0.25rem 0;
}
.faq-section details p {
  color: #526257;
}
.contact-section {
  background: #e8ecdf;
  text-align: center;
  padding-top: 5rem;
  padding-bottom: 5rem;
}
.contact-section p {
  margin: 1rem auto 2rem;
}
.contact-section .eyebrow {
  margin-bottom: 1rem;
}
.contact-section h2 {
  font-size: clamp(2.5rem, 4vw, 4rem);
}
@media (max-width: 800px) {
  .estate-hero {
    grid-template-columns: 1fr;
    padding: 2rem 1.25rem;
    gap: 1rem;
  }
  .hero-copy h1 {
    font-size: clamp(2.5rem, 8vw, 3.7rem);
  }
  .hero-photograph {
    min-height: 360px;
  }
  .hero-footnote {
    margin-top: 1.5rem;
  }
  .section-frame {
    padding: 3rem 1.25rem;
  }
  .section-split,
  .faq-section {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 0;
  }
  .preview-grid {
    grid-template-columns: 1fr;
  }
  .hero-actions {
    gap: 1rem;
  }
  .primary-button {
    gap: 0.75rem;
  }
}

.ai-facts-main {
  max-width: 980px;
  margin: 6.5rem auto 3rem;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ai-facts-shell {
  background: rgba(8, 14, 23, 0.62);
  border: 1px solid rgba(200, 163, 109, 0.22);
  border-radius: 0.9rem;
  padding: 1.15rem 1rem;
}

.ai-facts-shell h1,
.ai-facts-shell h2 {
  margin-top: 0;
  color: #f4deaf;
}

.ai-facts-shell ul {
  margin: 0.6rem 0 0;
  padding-left: 1.2rem;
}

.ai-facts-shell a {
  color: #f4deaf;
}

.ai-facts-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.76rem;
  margin: 0 0 0.55rem;
  opacity: 0.9;
}

.ai-facts-inline-links {
  margin-top: 0.85rem;
}

@media (min-width: 768px) {
  .ai-facts-main {
    margin-top: 7.25rem;
    padding: 0 1.25rem;
  }

  .ai-facts-shell {
    padding: 1.35rem 1.3rem;
  }
}

