/* Warm natural tones, generous space, and a simple type hierarchy. */
:root {
  --paper: #f7f5f0;
  --ink: #253d34;
  --muted: #626860;
  --accent: #806946;
  --line: #dcded5;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { padding-top: 80px; font-family: var(--sans); font-size: 1rem; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button, a, input, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #b68d50; outline-offset: 5px; }
.skip-link { position: fixed; top: -70px; left: 20px; z-index: 200; padding: 14px 20px; background: white; }
.skip-link:focus { top: 15px; }

/* Always-visible navigation and a personal welcome. */
.navbar { position: fixed; inset: 0 0 auto; z-index: 100; height: 80px; padding: 12px 5%; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; background: #f7f5f0; color: #253d34; border-bottom: 1px solid var(--line); }
.nav-logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.nav-brand { font-family: var(--serif); font-size: 1.45rem; white-space: nowrap; }
.navbar nav { justify-self: end; }
.nav-links { display: flex; list-style: none; align-items: center; gap: 30px; }
.nav-links a { color: var(--ink); display: inline-flex; align-items: center; min-height: 44px; font-size: .875rem; text-decoration: none; transition: color .2s; }
.nav-links a:hover { color: var(--accent); }
.social-links { display: flex; align-items: center; gap: 8px; }
.social-links a { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; flex-shrink: 0; border: 1px solid var(--line); border-radius: 50%; transition: background .2s, border-color .2s; }
.social-links svg { fill: currentColor; }
.social-links a:hover { background: #e9ede5; border-color: #a7b39f; }
.header-social { gap: 4px; }
.header-social a, .header-social a:visited { color: #253d34; border-color: transparent; background: transparent; }
.header-social a:hover { color: #806946; background: #e9ede5; border-color: transparent; }

/* A quiet introduction, with the home itself taking centre stage. */
.hero { display: grid; grid-template-columns: .9fr 1.1fr; min-height: 650px; min-height: min(720px, calc(100svh - 80px)); }
.hero-content { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 36px 9% 42px 11.1%; }
.hero-profession { font-size: .875rem; line-height: 1.6; margin-bottom: 18px; color: var(--muted); }
.hero-portrait { width: min(100%, 35.9849vw, 433.46px); height: 460px; object-fit: cover; object-position: center 20%; border-radius: 4px; margin-bottom: 24px; }
.section-eyebrow { color: var(--accent); font-size: .78rem; font-weight: 500; letter-spacing: .17em; text-transform: uppercase; line-height: 1.6; margin-bottom: 22px; }
.hero h1 { font-family: var(--serif); font-size: clamp(3.5rem, 4.75vw, 5.2rem); font-weight: 400; letter-spacing: -.045em; line-height: 1.09; }
.hero h1 em { font-weight: 400; color: #6b7758; }
.hero-subtitle { margin: 28px 0 33px; color: var(--muted); font-size: 1rem; line-height: 1.85; }
.hero-buttons { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; }
.hero-image-wrap { position: relative; min-height: 580px; overflow: hidden; background: #c7b99d; }
.hero-home { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: center; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 49px; padding: 14px 23px; border: 1px solid transparent; border-radius: 3px; font-size: .875rem; font-weight: 500; line-height: 1.4; text-decoration: none; transition: background .2s, color .2s, border-color .2s; }
.btn-primary { background: var(--ink); color: white; border-color: var(--ink); }
.btn-primary:hover { background: #3d5547; border-color: #3d5547; }
.btn-outline { background: transparent; color: var(--ink); border-color: #a9b0a1; }
.btn-outline:hover { background: var(--ink); border-color: var(--ink); color: white; }
.text-link { font-size: .875rem; text-decoration: none; border-bottom: 1px solid #949e8d; padding: 8px 0; line-height: 1.6; }
.text-link:hover { color: var(--accent); border-color: var(--accent); }

/* Properties */
.section-space { padding: 100px 6%; }
.section-title { font-family: var(--serif); font-size: clamp(2.2rem, 3vw, 3rem); font-weight: 400; letter-spacing: -.035em; line-height: 1.2; }
.listings { background: #fff; }
.section-heading-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; max-width: 1280px; margin: 0 auto 38px; }
.section-heading-row .section-eyebrow { margin-bottom: 12px; }
.filter-bar { display: flex; gap: 4px; flex-wrap: wrap; }
.filter-btn { min-height: 44px; padding: 10px 16px; border: 1px solid transparent; border-radius: 3px; background: transparent; color: var(--muted); font-size: .875rem; transition: background .2s; }
.filter-btn:hover { background: var(--paper); }
.filter-btn.active { background: #e9ede5; color: var(--ink); }
.listings-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 30px; max-width: 1280px; margin: 0 auto; }
.listing-card { min-width: 0; }
.listing-image-wrap { position: relative; aspect-ratio: 1.45; overflow: hidden; border-radius: 4px; background: #ecebe6; }
.listing-image { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.listing-card:hover .listing-image { transform: scale(1.025); }
.listing-badge, .listing-type { position: absolute; top: 14px; padding: 6px 10px; border-radius: 2px; font-size: .75rem; line-height: 1.4; }
.listing-badge { left: 14px; background: var(--paper); color: var(--ink); }
.listing-type { right: 14px; background: #253d34e6; color: white; text-transform: capitalize; }
.listing-info { padding: 23px 0 0; }
.listing-neighbourhood { font-size: .75rem; font-weight: 500; text-transform: uppercase; letter-spacing: .1em; line-height: 1.5; color: var(--accent); margin-bottom: 8px; }
.listing-address { font-family: var(--serif); font-size: 1.4rem; font-weight: 400; line-height: 1.35; margin-bottom: 15px; }
.listing-price { font-size: 1.05rem; font-weight: 500; margin-bottom: 10px; }
.listing-details { display: flex; flex-wrap: wrap; gap: 8px; font-size: .875rem; color: var(--muted); }
.dot { color: #a0a699; }
.listing-cta { display: inline-flex; align-items: center; text-decoration: none; font-size: .875rem; padding: 0 0 4px; margin-top: 18px; min-height: 36px; border: 0; border-bottom: 1px solid #b4bbaa; border-radius: 0; background: transparent; color: var(--ink); }
.listing-cta:hover { color: var(--accent); background: transparent; border-color: var(--accent); }
.listings-more { margin-top: 48px; text-align: center; }
.listings-source { max-width: 520px; margin: 18px auto 0; color: var(--muted); font-size: .75rem; line-height: 1.7; }
.no-results { padding: 40px 0; grid-column: 1 / -1; color: var(--muted); }

/* A short personal introduction. */
.about-inner { max-width: 1060px; margin: 0 auto; display: grid; grid-template-columns: .85fr 1fr; align-items: center; gap: 11%; }
.about-image-side { background: #dddcd3; border-radius: 4px; overflow: hidden; }
.about-photo { width: 100%; height: 460px; object-fit: cover; object-position: center 20%; }
.about .section-title { margin-bottom: 27px; }
.about-body { color: var(--muted); font-size: 1rem; line-height: 1.85; margin-bottom: 16px; }
.about-signature { font-family: var(--serif); font-size: 1.4rem; margin: 28px 0 24px; }
.about-signature span { display: block; font-family: var(--sans); font-size: .75rem; line-height: 1.6; color: var(--muted); margin-top: 8px; }
.about-links { display: flex; flex-wrap: wrap; gap: 12px 24px; }

/* An inviting contact panel with a light, focused form. */
.contact { background: #eeeee7; }
.contact-inner { position: relative; isolation: isolate; contain: layout paint; overflow: hidden; overflow-anchor: none; max-width: 1280px; margin: 0 auto; padding: 56px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; gap: 7%; color: var(--paper); border-radius: 22px; box-shadow: 0 18px 45px #253d340a; }
/* One continuous backdrop follows the panel's full height as valuation fields open. */
.contact-inner::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--ink); border-radius: inherit; pointer-events: none; }
.contact-text { min-width: 0; }
.contact .section-eyebrow { color: #d6c4a1; margin-bottom: 24px; }
.contact .section-title { font-size: clamp(2.2rem, 3.1vw, 3.2rem); line-height: 1.2; }
.contact .section-title em { font-weight: 400; color: #d9decf; }
.contact-subtitle { color: #d0d7ce; font-size: .95rem; line-height: 1.85; margin: 24px 0 34px; }
.contact-details { display: flex; flex-direction: column; gap: 22px; }
.contact-method { display: flex; gap: 14px; align-items: center; text-decoration: none; }
.contact-method > span:last-child { min-width: 0; }
.contact-icon { display: flex; width: 44px; height: 44px; flex-shrink: 0; align-items: center; justify-content: center; border: 1px solid #ffffff26; border-radius: 50%; color: #d6c4a1; }
.contact-method-label { display: block; color: #bac9bc; font-size: .75rem; margin-bottom: 6px; }
.contact-method-value { display: block; font-size: .9375rem; line-height: 1.5; overflow-wrap: anywhere; }
.contact-method:hover .contact-method-value { text-decoration: underline; text-underline-offset: 4px; }
.contact-social-row { border-top: 1px solid #ffffff26; margin-top: 38px; padding-top: 23px; display: flex; gap: 20px; align-items: center; justify-content: space-between; }
.contact-social-row > span { font-size: .8rem; color: #c6d1c3; }
.contact-social a { border-color: #ffffff33; width: 40px; height: 40px; }
.contact-social a:hover { background: #ffffff14; border-color: #d6c4a1; }
.contact-form { min-width: 0; padding: 34px; background: #fffefa; color: var(--ink); border-radius: 14px; display: flex; flex-direction: column; gap: 23px; }
.contact-form > * { flex-shrink: 0; }
.form-intro h3 { font-family: var(--serif); font-size: 1.65rem; font-weight: 400; letter-spacing: -.025em; line-height: 1.3; }
.form-intro p { margin-top: 9px; color: var(--muted); font-size: .8125rem; line-height: 1.7; }
.form-interest { border: 0; min-width: 0; }
.form-interest legend { margin-bottom: 10px; font-size: .875rem; }
.interest-options { display: flex; gap: 7px; }
.interest-options label { position: relative; flex: 1; min-width: 0; }
.interest-options input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.interest-options span { display: flex; align-items: center; justify-content: center; min-height: 42px; height: 100%; padding: 8px 5px; border: 1px solid #d9dfd3; border-radius: 6px; font-size: .8125rem; cursor: pointer; text-align: center; }
.interest-options input:checked + span { border-color: var(--ink); color: var(--ink); background: #e9eee4; }
.interest-options input:focus-visible + span { outline: 3px solid #b68d50; outline-offset: 3px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.form-label { font-size: .875rem; }
.form-input { width: 100%; min-width: 0; padding: 12px 13px; border: 1px solid #d9dfd3; border-radius: 6px; color: var(--ink); background: #fff; font-size: 1rem; line-height: 1.5; }
.form-input::placeholder { color: #7d8479; font-size: .875rem; }
.form-input:focus { border-color: #728568; outline: 2px solid #728568; outline-offset: 2px; }
.form-textarea { min-height: 110px; resize: vertical; }
.valuation-fields { width: 100%; min-inline-size: 0; margin: 0; border: 0; border-top: 1px solid var(--line); min-width: 0; padding-top: 18px; }
.valuation-fields legend { padding-right: 10px; }
.valuation-fields .form-group + .form-group { margin-top: 18px; }
.valuation-help { font-size: .875rem; color: var(--muted); line-height: 1.6; }
.form-bottom { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
.form-submit { border-radius: 6px; }
.form-submit:disabled { opacity: .65; cursor: wait; }
.form-status { font-size: .75rem; color: var(--muted); line-height: 1.7; }
.form-status:empty { display: none; }
.form-status { font-size: .875rem; }
.form-status[data-state="error"] { color: #943b2f; }
.form-status[data-state="success"] { color: var(--ink); }
.footer { padding: 30px 6%; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.footer-name { font-family: var(--serif); font-size: 1.25rem; }
.footer-copy, .footer a { font-size: .75rem; color: var(--muted); line-height: 1.6; }
.footer a { text-underline-offset: 4px; }

/* Keep the same calm rhythm on smaller screens. */
@media (min-width: 1600px) {
  .hero { max-width: 1800px; margin: 0 auto; }
}
@media (max-width: 1100px) {
  .hero-content { padding-left: 9%; padding-right: 7%; }
  .hero h1 { font-size: 3.7rem; }
  .hero-buttons { gap: 14px; }
  .desktop-break { display: none; }
  .section-heading-row { align-items: flex-start; flex-direction: column; }
  .listings-grid { gap: 23px; }
  .listing-address { font-size: 1.25rem; }
  .navbar { gap: 18px; padding-inline: 4%; }
  .nav-links { gap: 20px; }
  .header-social { padding-left: 16px; }
  .contact-inner { padding: 36px; gap: 5%; }
  .contact-form { padding: 28px; }
  .form-row { grid-template-columns: 1fr; }
}
@media (min-width: 761px) and (max-width: 940px) {
  .navbar { gap: 16px; padding-inline: 3%; }
  .nav-brand { font-size: 1.2rem; }
  .nav-logo { gap: 10px; }
  .nav-links { gap: 16px; }
  .header-social { padding-left: 12px; gap: 5px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 120px; }
  body { padding-top: 120px; }
  .navbar { height: 120px; padding: 10px 5%; grid-template-columns: minmax(0,1fr) auto; row-gap: 10px; column-gap: 10px; }
  .nav-logo { gap: 10px; }
  .nav-brand { font-size: 1.15rem; }
  .header-social { grid-column: 2; grid-row: 1; padding-left: 0; border: 0; gap: 5px; }
  .header-social a { width: 36px; height: 36px; }
  .header-social svg { width: 18px; height: 18px; }
  .navbar nav { grid-column: 1 / -1; justify-self: stretch; }
  .nav-links { justify-content: space-between; gap: 10px; }
  .nav-links a { font-size: .8125rem; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-content { padding: 32px 7% 44px; }
  .hero-portrait { width: 100%; max-width: 440px; margin-bottom: 22px; }
  .hero .section-eyebrow { margin-bottom: 20px; }
  .hero h1 { font-size: clamp(3.3rem, 8.5vw, 4.5rem); }
  .hero-subtitle { max-width: 360px; margin: 23px 0 28px; }
  .hero-buttons { gap: 22px; }
  .hero-image-wrap { min-height: 380px; height: 60vw; max-height: 520px; }
  .hero-home { object-position: center 60%; }

  .section-space { padding: 65px 7%; }
  .section-heading-row { gap: 24px; margin-bottom: 28px; }
  .filter-btn { padding: 10px 14px; }
  .listings-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 35px 20px; }
  .about-inner { gap: 35px; grid-template-columns: 1fr; }
  .about-image-side { max-width: 440px; width: 100%; }
  .about-photo, .hero-portrait { height: 440px; }
  .about-text-side { max-width: 520px; }
  .contact { padding: 45px 5%; }
  .contact-inner { grid-template-columns: 1fr; gap: 32px; padding: 30px; border-radius: 18px; }
  .contact-social-row { justify-content: flex-start; gap: 20px; margin-top: 28px; padding-top: 20px; }
  .contact-form { padding: 26px; }
  .form-row { grid-template-columns: 1fr 1fr; }
  .footer { padding: 28px 7%; flex-wrap: wrap; gap: 16px; }
  .footer-name { width: 100%; }
}
@media (max-width: 500px) {
  .listings-grid { grid-template-columns: 1fr; gap: 36px; }
  .listing-address { font-size: 1.45rem; }
  .listings-more { margin-top: 32px; }
  .about-photo, .hero-portrait { height: 390px; }
  .hero-image-wrap { min-height: 335px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-inner { padding: 25px 18px 18px; gap: 28px; }
  .contact-text { padding: 0 6px; }
  .contact-form { padding: 24px 18px; }
  .contact .section-title { font-size: 2.25rem; }
  .contact-method-value { font-size: .8125rem; }
  .contact-social-row > span { font-size: .75rem; }
  .form-intro h3 { font-size: 1.5rem; }
}
@media (max-width: 380px) {
  .nav-brand { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Broker credentials and service areas. */
.broker-stats { display: grid; grid-template-columns: .75fr 1.25fr; gap: 24px; margin: 28px 0; padding: 24px 0; border-block: 1px solid var(--line); }
.broker-stats strong { display: block; font: 400 2.4rem var(--serif); margin-bottom: 8px; }
.broker-stats span { display: block; color: var(--muted); font-size: .875rem; line-height: 1.6; }
.broker-credentials { list-style: none; display: grid; gap: 12px; font-size: .875rem; line-height: 1.65; }
.broker-credentials li { position: relative; padding-left: 24px; }
.broker-credentials li::before { content: '✓'; position: absolute; left: 0; color: #657a54; }
.language-toggle { min-width: 44px; min-height: 44px; padding: 8px; margin-right: 6px; background: transparent; color: var(--ink); border: 1px solid var(--line); border-radius: 5px; font-size: .8125rem; font-weight: 600; }
.language-toggle:hover { background: #e9ede5; }
@media (min-width: 761px) and (max-width: 1100px) {
  .navbar { padding-inline: 3%; gap: 14px; }
  .nav-brand { font-size: 1.2rem; }
  .nav-links { gap: 16px; }
  .header-social { padding-left: 0; }
}
@media (max-width: 760px) {
  .navbar { grid-template-columns: minmax(0,1fr) auto; }
  .language-toggle { margin-right: 0; min-width: 36px; min-height: 36px; padding: 5px; }
  .nav-brand { font-size: 1.05rem; }
}
@media (max-width: 380px) {
  .navbar { padding-inline: 4%; column-gap: 5px; }
  .nav-brand { font-size: .95rem; }
  .header-social { gap: 2px; }
}

.service-areas { max-width: 1060px; margin: 48px auto 0; padding-top: 32px; border-top: 1px solid var(--line); }
.service-areas h3 { font: 400 1.75rem var(--serif); }
.areas-intro { margin: 12px 0 24px; color: var(--muted); line-height: 1.7; }
.areas-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.areas-grid details { min-width: 0; border-bottom: 1px solid var(--line); padding-bottom: 16px; }
.areas-grid summary { min-height: 44px; cursor: pointer; font-size: 1rem; font-weight: 500; line-height: 1.6; }
.areas-grid details[open] summary { margin-bottom: 12px; }
.areas-grid p { color: var(--muted); font-size: .9375rem; line-height: 1.8; }
@media (max-width: 760px) {
  .areas-grid { grid-template-columns: 1fr; gap: 22px; }
}
.mobile-contact { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  html { scroll-padding-bottom: 90px; }
  .mobile-contact { position: fixed; z-index: 99; inset: auto 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px 5% calc(10px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--line); }
  .mobile-contact a { display: flex; justify-content: center; align-items: center; min-height: 46px; padding: 8px; border: 1px solid var(--ink); border-radius: 4px; text-decoration: none; text-align: center; font-size: .875rem; }
  .mobile-contact a:last-child { background: var(--ink); color: white; }
  body:has(.contact-form:focus-within) .mobile-contact { display: none; }
}
