:root {
  --ink: #10212b;
  --muted: #62707a;
  --paper: #fbfaf7;
  --panel: #ffffff;
  --brand: #0f2f45;
  --brand-2: #1e5c68;
  --gold: #c79b45;
  --gold-soft: #f1dfb6;
  --line: #e5e0d7;
  --shadow: 0 22px 70px rgba(16, 33, 43, 0.18);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: #fff;
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(251, 250, 247, 0.94);
  box-shadow: 0 10px 32px rgba(16, 33, 43, 0.08);
  backdrop-filter: blur(18px);
}

.site-header.is-open {
  position: fixed;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-width: 390px;
}

.brand-logo {
  display: grid;
  width: 142px;
  flex: 0 0 auto;
  place-items: center start;
}

.brand-logo img {
  grid-area: 1 / 1;
  width: 100%;
  height: auto;
  transition: opacity 180ms ease;
}

.brand-logo-dark {
  opacity: 0;
}

.site-header.is-scrolled .brand-logo-light,
.site-header.is-open .brand-logo-light {
  opacity: 0;
}

.site-header.is-scrolled .brand-logo-dark,
.site-header.is-open .brand-logo-dark {
  opacity: 1;
}

.listings-page .brand-logo-light {
  opacity: 0;
}

.listings-page .brand-logo-dark {
  opacity: 1;
}

.brand strong {
  display: block;
  max-width: 230px;
  font-size: 1.05rem;
  line-height: 1.1;
}

.brand small {
  display: block;
  margin-top: 3px;
  color: currentColor;
  font-size: 0.72rem;
  opacity: 0.78;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.9rem;
  font-weight: 700;
}

.site-nav a {
  opacity: 0.88;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  opacity: 1;
  color: var(--gold-soft);
}

.site-header.is-scrolled .site-nav a:hover,
.site-header.is-scrolled .site-nav a:focus-visible,
.site-header.is-open .site-nav a:hover,
.site-header.is-open .site-nav a:focus-visible {
  color: var(--brand-2);
}

.nav-cta {
  padding: 11px 17px;
  border: 1px solid currentColor;
  border-radius: 999px;
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 86vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(9, 24, 33, 0.92) 0%, rgba(9, 24, 33, 0.72) 42%, rgba(9, 24, 33, 0.18) 100%),
    linear-gradient(180deg, rgba(9, 24, 33, 0.38), rgba(9, 24, 33, 0.76));
}

.hero-content {
  position: relative;
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 100px 0 30px;
}

.eyebrow,
.section-kicker,
.tag {
  margin: 0 0 14px;
  color: var(--gold-soft);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-family: "Roboto", Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(3rem, 5.9vw, 4.9rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 670px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.04rem, 2vw, 1.28rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 34px 0 0;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 13px 20px;
  cursor: pointer;
  font-weight: 800;
}

.button.primary {
  color: var(--ink);
  background: var(--gold-soft);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: #fff2ce;
}

.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
}

.button.secondary.dark-text {
  color: var(--brand);
  border-color: var(--line);
  background: #fff;
}

.credential-band {
  width: 100%;
  padding: 0 clamp(18px, 4vw, 56px);
  background: var(--paper);
}

.credential-band dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: var(--line);
}

.credential-band div {
  min-height: 118px;
  padding: 24px;
  background: #fff;
}

.credential-band dt {
  color: var(--brand-2);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.credential-band dd {
  margin: 8px 0 0;
  color: var(--ink);
  line-height: 1.4;
}

.quick-contact {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--brand);
  color: #fff;
}

.quick-contact a,
.quick-contact button {
  min-height: 72px;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  background: transparent;
  cursor: pointer;
  font-weight: 800;
}

.quick-contact a {
  display: grid;
  place-items: center;
}

.quick-contact a:hover,
.quick-contact button:hover,
.quick-contact a:focus-visible,
.quick-contact button:focus-visible {
  background: rgba(255, 255, 255, 0.08);
}

.section {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(70px, 10vw, 118px) 0;
}

.intro-grid,
.split,
.contact {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(34px, 6vw, 88px);
  align-items: start;
}

.section h2 {
  margin: 0;
  font-family: "Roboto", Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.section h3 {
  margin: 0 0 12px;
  font-size: 1.14rem;
}

.rich-copy p,
.section-heading p,
.contact p,
.listing-preview p,
.service-band p {
  color: var(--muted);
  line-height: 1.72;
}

.rich-copy p:first-child {
  margin-top: 0;
}

.about-profile {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 74px);
  align-items: start;
}

.about-photo {
  position: sticky;
  top: 108px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.about-photo img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: center;
  background: #fff;
}

.about-copy p {
  color: var(--muted);
  line-height: 1.72;
}

.about-copy > p:first-of-type {
  margin-top: 28px;
  color: var(--ink);
  font-size: 1.12rem;
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.about-highlights article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.about-highlights h3 {
  margin: 0 0 10px;
  font-size: 1rem;
}

.about-highlights p {
  margin: 0;
  font-size: 0.95rem;
}

.about-service-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 0;
  margin-top: 28px;
  color: var(--brand);
  text-align: center;
}

.about-service-list span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 10px;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.6;
}

.about-service-list span:not(:last-child)::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  transform: translateX(10px);
}

.service-band {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding-left: clamp(18px, 4vw, 56px);
  padding-right: clamp(18px, 4vw, 56px);
  background: var(--brand);
}

.service-band article {
  min-height: 260px;
  padding: clamp(24px, 4vw, 42px);
  background: #12364e;
  color: #fff;
}

.service-band p {
  color: rgba(255, 255, 255, 0.72);
}

.service-icon {
  display: block;
  margin-bottom: 34px;
  color: var(--gold-soft);
  font-family: Georgia, serif;
  font-size: 2rem;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 420px);
  gap: 36px;
  align-items: end;
  margin-bottom: 32px;
}

.listing-tool {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.listing-tool label,
.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.listing-tool select,
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 13px;
  color: var(--ink);
  background: #fff;
}

.listing-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.listing-preview article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.featured-property {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 1px;
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  box-shadow: var(--shadow);
}

.featured-property-copy {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: clamp(24px, 5vw, 42px);
  background: #fff;
}

.featured-property-copy h3 {
  margin: 0;
  font-family: "Roboto", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.04;
}

.featured-property-copy p:not(.tag) {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.featured-property-copy dl {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  background: var(--line);
}

.featured-property-copy dl div {
  padding: 12px;
  background: #fdfbf7;
}

.featured-property-copy dt {
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 800;
  text-transform: uppercase;
}

.featured-property-copy dd {
  margin: 4px 0 0;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.18;
}

.featured-property-copy .button {
  justify-self: start;
}

.featured-property-media {
  min-height: 420px;
  background: var(--brand);
}

.featured-property-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tag {
  color: var(--brand-2);
}

.split {
  border-top: 1px solid var(--line);
}

.split.dark {
  width: 100%;
  max-width: none;
  grid-template-columns: minmax(18px, 1fr) minmax(0, 470px) minmax(0, 590px) minmax(18px, 1fr);
  gap: clamp(28px, 5vw, 70px);
  padding-left: 0;
  padding-right: 0;
  color: #fff;
  background: var(--brand);
}

.split.dark > div:first-child {
  grid-column: 2;
}

.split.dark > div:last-child {
  grid-column: 3;
}

.split.dark .feature-list p {
  border-color: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.86);
}

.feature-list {
  display: grid;
  gap: 12px;
}

.feature-list p {
  margin: 0;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 1.08rem;
}

.communities {
  border-bottom: 1px solid var(--line);
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.community-grid a {
  display: flex;
  min-height: 88px;
  align-items: end;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: #fff;
  font-weight: 800;
}

.community-grid a:hover,
.community-grid a:focus-visible {
  border-color: var(--gold);
  color: var(--brand);
  box-shadow: 0 12px 34px rgba(16, 33, 43, 0.08);
}

.contact {
  align-items: stretch;
}

.contact-links {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.contact-links a {
  font-weight: 800;
  color: var(--brand-2);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.contact-form .button {
  justify-self: start;
  background: var(--brand);
  color: #fff;
}

.website-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.captcha-field input {
  max-width: 180px;
}

.personalize-hero {
  padding-bottom: 26px;
}

.personalize-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: 24px;
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 0 0 clamp(70px, 10vw, 118px);
  align-items: start;
}

.personalize-form,
.search-preview-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.personalize-form {
  display: grid;
  gap: 18px;
  padding: clamp(18px, 3vw, 28px);
}

.personalize-form fieldset {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0 0 20px;
  border: 0;
  border-bottom: 1px solid var(--line);
}

.personalize-form fieldset:last-of-type {
  border-bottom: 0;
}

.personalize-form legend,
.search-preview-panel h2 {
  margin: 0;
  color: var(--brand);
  font-family: "Roboto", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
}

.area-check-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.area-check-grid label {
  display: flex;
  gap: 8px;
  align-items: center;
  min-height: 40px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: #fbfaf7;
  font-size: 0.85rem;
  font-weight: 700;
}

.area-check-grid input {
  accent-color: var(--brand);
}

.slider-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.slider-grid label,
.contact-grid label,
.property-type-field {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 800;
}

.slider-grid label > span {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.slider-grid strong {
  color: var(--brand);
  white-space: nowrap;
}

.slider-grid input[type="range"] {
  width: 100%;
  accent-color: var(--brand);
}

.contact-grid input,
.property-type-field select {
  min-height: 48px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 13px;
  color: var(--ink);
  background: #fff;
}

.contact-grid em {
  color: #9a8d78;
  font-style: normal;
  font-weight: 700;
}

.property-type-field {
  max-width: 420px;
}

.personalize-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.search-preview-panel {
  position: sticky;
  top: 106px;
  display: grid;
  gap: 14px;
  padding: 22px;
}

.search-preview-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.preview-results {
  display: grid;
  gap: 12px;
}

.preview-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: inherit;
  background: #fbfaf7;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.preview-card:hover,
.preview-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(16, 33, 43, 0.12);
}

.preview-card img {
  width: 92px;
  height: 70px;
  border-radius: 6px;
  object-fit: cover;
  background: var(--brand);
}

.preview-card span {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.preview-card strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.preview-card small {
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.25;
}

.submission-result {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
}

.submission-result section {
  width: min(720px, 100%);
  padding: clamp(28px, 6vw, 54px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.submission-result h1 {
  margin: 0 0 16px;
  font-family: "Roboto", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 1;
}

.submission-result p {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 520px);
  gap: 28px;
  padding: 42px clamp(18px, 4vw, 56px);
  color: rgba(255, 255, 255, 0.78);
  background: #081821;
}

.site-footer strong {
  color: #fff;
}

.footer-logo {
  display: block;
  width: min(260px, 100%);
  margin-bottom: 18px;
  padding: 12px;
  border-radius: var(--radius);
  background: #fff;
}

.site-footer p {
  margin: 8px 0 0;
  line-height: 1.6;
}

.legal {
  font-size: 0.78rem;
}

.copyright {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
}

.scroll-top {
  position: fixed;
  z-index: 30;
  left: 18px;
  bottom: 18px;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  color: #fff;
  background: var(--brand);
  box-shadow: 0 12px 32px rgba(16, 33, 43, 0.24);
  cursor: pointer;
  font-size: 1.45rem;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.scroll-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.listings-page {
  background: #f5f1e9;
}

.listings-page .site-header {
  position: sticky;
  color: var(--ink);
  background: rgba(251, 250, 247, 0.94);
  box-shadow: 0 10px 32px rgba(16, 33, 43, 0.08);
  backdrop-filter: blur(18px);
}

.listings-hero {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(72px, 10vw, 118px) 0 44px;
}

.listings-hero h1,
.property-detail h1 {
  max-width: 820px;
  margin: 0;
  font-family: "Roboto", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2.7rem, 6vw, 5.6rem);
  font-weight: 400;
  line-height: 0.96;
}

.property-detail h1 {
  font-family: "Roboto", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.55rem, 2.8vw, 2.45rem);
  line-height: 1.08;
}

.listings-hero p:not(.eyebrow) {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

.listings-shell,
.listing-detail-shell {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 0 0 clamp(70px, 10vw, 118px);
}

.listing-search-panel {
  position: sticky;
  z-index: 10;
  top: 90px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  margin-bottom: 22px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 50px rgba(16, 33, 43, 0.08);
  backdrop-filter: blur(16px);
}

.listing-search-panel label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.listing-search-panel select {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 13px;
  background: #fff;
}

.listing-status {
  margin: 16px 0;
  color: var(--muted);
  font-weight: 800;
}

.listing-pagination {
  display: grid;
  gap: 12px;
  justify-items: center;
  margin-top: 28px;
}

.listing-pagination p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.listing-pagination div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  align-items: center;
}

.listing-pagination button {
  min-width: 42px;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 13px;
  color: var(--ink);
  background: #fff;
  cursor: pointer;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.listing-pagination button:hover:not(:disabled),
.listing-pagination button:focus-visible,
.listing-pagination button[aria-current="page"] {
  color: #fff;
  background: var(--brand);
  transform: translateY(-1px);
}

.listing-pagination button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.listing-pagination span {
  color: var(--muted);
  font-weight: 800;
}

.property-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.property-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 16px 42px rgba(16, 33, 43, 0.08);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.property-card:hover,
.property-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 22px 58px rgba(16, 33, 43, 0.14);
}

.property-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--brand);
}

.property-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-card-media span {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--gold-soft);
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
}

.property-card-placeholder,
.property-detail-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  padding: 26px;
  color: rgba(255, 255, 255, 0.82);
  background:
    linear-gradient(135deg, rgba(199, 155, 69, 0.56), rgba(15, 47, 69, 0.68)),
    url("assets/mid-island-hero.png") center / cover;
  font-family: "Roboto", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  text-align: center;
}

.property-card-body {
  padding: 12px;
}

.property-price {
  margin: 0 0 7px;
  color: var(--brand);
  font-size: 1rem;
  font-weight: 800;
}

.property-card h2 {
  margin: 0 0 10px;
  font-family: "Roboto", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.18;
}

.property-card dl,
.property-detail-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0;
  background: var(--line);
}

.property-detail-stats.expanded {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.property-card dl div,
.property-detail-stats div {
  padding: 8px;
  background: #fdfbf7;
}

.property-card dt,
.property-detail-stats dt {
  color: var(--muted);
  font-size: 0.6rem;
  font-weight: 800;
  text-transform: uppercase;
}

.property-card dd,
.property-detail-stats dd {
  margin: 3px 0 0;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.15;
  white-space: nowrap;
}

.property-agent {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.45;
}

.property-mls {
  margin: 9px 0 0;
  color: var(--brand-2);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.property-mls.detail {
  margin: -2px 0 18px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.property-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: start;
  padding-top: 48px;
}

.back-link {
  grid-column: 1 / -1;
  color: var(--brand-2);
  font-weight: 800;
}

.property-detail-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--brand);
  box-shadow: var(--shadow);
}

.property-detail-media img,
.property-detail-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery-arrow,
.property-share-button {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 999px;
  color: #fff;
  background: rgba(15, 47, 69, 0.76);
  box-shadow: 0 10px 28px rgba(16, 33, 43, 0.22);
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: transform 160ms ease, background 160ms ease;
}

.gallery-arrow:hover,
.gallery-arrow:focus-visible,
.property-share-button:hover,
.property-share-button:focus-visible {
  background: rgba(15, 47, 69, 0.94);
  transform: translateY(-1px);
}

.gallery-arrow {
  top: 50%;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  line-height: 1;
  transform: translateY(-50%);
}

.gallery-arrow:hover,
.gallery-arrow:focus-visible {
  transform: translateY(-50%) translateY(-1px);
}

.gallery-arrow-prev {
  left: 12px;
}

.gallery-arrow-next {
  right: 12px;
}

.property-share-button {
  top: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  padding: 0;
}

.gallery-counter {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 12px;
  display: none;
  min-height: 32px;
  align-items: center;
  border-radius: 999px;
  padding: 7px 12px;
  color: #fff;
  background: rgba(15, 47, 69, 0.78);
  box-shadow: 0 10px 28px rgba(16, 33, 43, 0.22);
  font-size: 0.78rem;
  font-weight: 800;
  transform: translateX(-50%);
  backdrop-filter: blur(10px);
}

.property-share-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.property-filmstrip {
  display: grid;
  grid-auto-columns: minmax(92px, 1fr);
  grid-auto-flow: column;
  gap: 10px;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.property-filmstrip button {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 2px solid transparent;
  border-radius: var(--radius);
  padding: 0;
  background: #fff;
  cursor: pointer;
}

.property-filmstrip button:hover,
.property-filmstrip button:focus-visible,
.property-filmstrip button.is-active {
  border-color: var(--gold);
}

.property-filmstrip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-detail-content {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.property-detail-content .eyebrow {
  color: var(--brand-2);
}

.property-detail-content p:not(.property-price):not(.eyebrow) {
  color: var(--muted);
  line-height: 1.72;
}

.property-detail-stats {
  margin: 22px 0;
}

.property-info-card {
  margin-top: clamp(24px, 5vw, 48px);
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.property-info-card hr {
  height: 1px;
  margin: clamp(22px, 4vw, 32px) 0;
  border: 0;
  background: var(--line);
}

.property-info-section h2,
.mortgage-calculator h2 {
  margin: 0 0 12px;
  font-family: "Roboto", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  line-height: 1.12;
}

.property-info-section p {
  max-width: 860px;
  color: var(--muted);
  line-height: 1.72;
}

.listing-attribution p {
  margin: 4px 0;
}

.listing-attribution-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}

.listing-attribution-row p {
  margin: 0;
}

.view-property-button {
  min-height: 42px;
  padding: 11px 16px;
  font-size: 0.82rem;
}

.property-map {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #eef0ec;
}

.property-map iframe {
  display: block;
  width: 100%;
  height: clamp(280px, 38vw, 440px);
  border: 0;
}

.property-action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(46px, 8vw, 84px);
  align-items: stretch;
}

.mortgage-calculator,
.showing-card {
  display: grid;
  gap: clamp(18px, 3vw, 28px);
  padding: clamp(24px, 5vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.mortgage-calculator {
  grid-template-columns: 1fr;
  align-content: start;
}

.mortgage-calculator .eyebrow {
  color: var(--brand-2);
}

.mortgage-calculator p {
  color: var(--muted);
  line-height: 1.7;
}

.mortgage-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.mortgage-form label,
.showing-card label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.mortgage-form input,
.showing-card input,
.showing-card select {
  min-height: 48px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 13px;
  color: var(--ink);
  background: #fff;
}

.showing-card {
  align-content: start;
}

.showing-card h2 {
  margin: 0;
  font-family: "Roboto", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  line-height: 1.12;
}

.showing-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.showing-card form {
  display: grid;
  gap: 12px;
}

.showing-captcha input {
  max-width: 180px;
}

.showing-card .button {
  width: 100%;
  color: var(--ink);
}

.mortgage-result {
  grid-column: 1 / -1;
  display: grid;
  min-height: 74px;
  place-items: center;
  border-radius: var(--radius);
  color: #fff;
  background: var(--brand);
  font-size: clamp(1.55rem, 4vw, 2.3rem);
  font-weight: 800;
}

@media (max-width: 880px) {
  .nav-toggle {
    position: relative;
    z-index: 40;
    display: grid;
    gap: 6px;
    width: 44px;
    height: 44px;
    place-content: center;
    border: 1px solid currentColor;
    border-radius: 50%;
    color: inherit;
    background: transparent;
  }

  .nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
  }

  .site-nav {
    position: fixed;
    z-index: 35;
    inset: 0;
    display: grid;
    min-height: 100vh;
    min-height: 100dvh;
    align-content: start;
    justify-items: center;
    gap: 18px;
    overflow-y: auto;
    padding: 104px 24px 34px;
    color: var(--ink);
    background: var(--paper);
    transform: translateY(-100%);
    transition: transform 220ms ease;
    overscroll-behavior: contain;
  }

  .site-header.is-open .site-nav {
    transform: translateY(0);
  }

  .site-nav a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
  }

  .nav-cta {
    border-color: var(--gold);
  }

  .hero {
    min-height: auto;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(9, 24, 33, 0.62), rgba(9, 24, 33, 0.9));
  }

  .hero-content {
    padding-top: 124px;
  }

  .credential-band dl,
  .quick-contact,
  .service-band,
  .section-heading,
  .listing-tool,
  .listing-preview,
  .listing-search-panel,
  .property-grid,
  .featured-property,
  .about-profile,
  .about-highlights,
  .property-detail-stats.expanded,
  .property-action-grid,
  .mortgage-calculator,
  .personalize-shell,
  .intro-grid,
  .split,
  .contact,
  .site-footer,
  .property-detail {
    grid-template-columns: 1fr;
  }

  .split.dark {
    grid-template-columns: minmax(18px, 1fr) minmax(0, 720px) minmax(18px, 1fr);
  }

  .split.dark > div:first-child,
  .split.dark > div:last-child {
    grid-column: 2;
  }

  .community-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .featured-property-copy dl {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .property-detail-stats.expanded,
  .mortgage-form,
  .slider-grid,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .area-check-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .search-preview-panel {
    position: static;
  }

  .property-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .about-photo {
    position: static;
  }

  .about-photo img {
    max-height: 560px;
    min-height: 0;
  }
}

@media (max-width: 540px) {
  .site-header {
    min-height: 66px;
    padding: 11px 16px;
  }

  .brand {
    position: relative;
    z-index: 40;
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .brand-logo {
    width: 92px;
  }

  .brand strong {
    max-width: 170px;
    font-size: 0.82rem;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 16vw, 4.1rem);
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .quick-contact a,
  .quick-contact button {
    min-height: 58px;
  }

  .community-grid {
    grid-template-columns: 1fr;
  }

  .featured-property-copy dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .featured-property-media {
    min-height: 280px;
  }

  .property-detail-stats.expanded,
  .mortgage-form,
  .slider-grid,
  .contact-grid,
  .area-check-grid {
    grid-template-columns: 1fr;
  }

  .property-detail {
    gap: 22px;
    padding-top: 24px;
  }

  .property-detail-media img,
  .property-detail-placeholder {
    display: block;
    height: min(58vw, 300px);
    width: 100%;
    max-height: 42vh;
    aspect-ratio: auto;
    touch-action: pan-y;
  }

  .gallery-arrow {
    width: 38px;
    height: 38px;
    font-size: 1.65rem;
  }

  .gallery-arrow-prev {
    left: 8px;
  }

  .gallery-arrow-next {
    right: 8px;
  }

  .property-share-button {
    top: 8px;
    right: 8px;
    width: 38px;
    height: 38px;
  }

  .property-filmstrip {
    display: none;
  }

  .gallery-counter {
    display: inline-flex;
  }

  .property-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-photo img {
    height: auto;
    max-height: none;
    min-height: 0;
    object-fit: contain;
    object-position: center top;
  }
}
