:root {
  color-scheme: light;
  --ink: #302722;
  --muted: #6b625b;
  --line: #cfc5bb;
  --soft: #ded6cd;
  --panel: rgba(253, 252, 251, 0.94);
  --white: #fdfcfb;
  --sand: #ded6cd;
  --stone: #b9aa9d;
  --accent: #9b794d;
  --accent-dark: #765735;
  --gold: #9b794d;
  --gold-light: #d2bea6;
  --evergreen: #89583e;
  --evergreen-dark: #5d3c2b;
  --evergreen-soft: #e4d8cd;
  --success: #7b8577;
  --shadow: 0 18px 60px rgba(48, 39, 34, 0.11);
  --radius: 8px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
}

body.neighbourhood-guide-tight .neighbourhood-hero {
  padding-bottom: 48px;
}

body:has(#island-communities) .neighbourhood-index {
  padding-bottom: 48px;
}

body:has(#island-communities) #island-communities {
  padding-top: 48px;
  padding-bottom: 48px;
}

body:has(#island-communities) .authority-resource-section {
  padding-top: 48px;
}

body.neighbourhood-guide-tight .neighbourhood-story-section,
body.neighbourhood-guide-tight .neighbourhood-detail-section,
body.neighbourhood-guide-tight .neighbourhood-photo-section,
body.neighbourhood-guide-tight .neighbourhood-fit-section,
body.neighbourhood-guide-tight .neighbourhood-resource-section {
  padding-top: 48px;
  padding-bottom: 48px;
}

body.neighbourhood-guide-tight .neighbourhood-listings-cta {
  display: grid;
  gap: 18px;
  justify-items: center;
  padding-top: 48px;
  text-align: center;
}

body.neighbourhood-guide-tight .neighbourhood-hero .cta-actions {
  justify-content: center;
}

body.neighbourhood-guide-tight .neighbourhood-listings-cta .cta-actions {
  display: grid;
  width: min(640px, 100%);
  grid-template-columns: 1fr;
  justify-content: center;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #efebe6;
  font-size: 16px;
  line-height: 1.5;
}

.reveal-ready .reveal-item {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 760ms ease,
    transform 760ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal-ready .reveal-item[data-reveal="lift"] {
  transform: translateY(44px) scale(0.985);
}

.reveal-ready .reveal-item[data-reveal="fade"] {
  transform: translateY(0);
}

.reveal-ready .reveal-item[data-reveal="left"] {
  transform: translateX(-34px);
}

.reveal-ready .reveal-item[data-reveal="right"] {
  transform: translateX(34px);
}

.reveal-ready .reveal-item.is-visible {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-ready .reveal-item {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

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

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

code {
  padding: 0.1rem 0.28rem;
  border-radius: 5px;
  background: #e4d8cd;
  font-size: 0.92em;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 116px;
  padding: 0 34px;
  border-bottom: 1px solid transparent;
  background: transparent;
  transition: min-height 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, backdrop-filter 180ms ease;
}

.site-header[data-elevated="true"] {
  min-height: 96px;
  border-color: rgba(155, 121, 77, 0.2);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 35px rgba(48, 39, 34, 0.1);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  flex: 0 0 auto;
  font-weight: 700;
  letter-spacing: 0;
}

.brand img {
  display: block;
  object-fit: contain;
}

.brand-complete {
  width: min(500px, 34vw);
  max-height: 92px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 15px;
  flex: 1 1 auto;
  color: var(--ink);
  font-size: 0.98rem;
}

.main-nav a {
  position: relative;
  white-space: nowrap;
}

.mobile-consultation {
  display: none;
}

.main-nav > a::after,
.nav-dropdown > button::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.main-nav > a:hover::after,
.nav-dropdown > button:hover::before,
.nav-dropdown:focus-within > button::before {
  transform: scaleX(1);
}

.main-nav a:hover,
.nav-dropdown button:hover {
  color: var(--accent);
}

.header-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 46px;
  border-radius: 999px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 12px 28px rgba(48, 39, 34, 0.18);
  font-size: 0.98rem;
  font-weight: 800;
  white-space: nowrap;
  transition: transform 160ms ease, color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.header-contact:hover {
  border-color: var(--accent);
  color: var(--ink);
  background: var(--gold-light);
  transform: translateY(-1px);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  right: -12px;
  left: -12px;
  height: 12px;
}

.nav-dropdown button {
  position: relative;
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
  font: inherit;
  white-space: nowrap;
}

.nav-dropdown button::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.nav-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  z-index: 20;
  display: grid;
  min-width: 210px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -6px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav-dropdown:hover .nav-menu,
.nav-dropdown:focus-within .nav-menu,
.nav-dropdown[data-open="true"] .nav-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-menu a {
  border-radius: 6px;
  padding: 10px 11px;
}

.nav-menu a:hover {
  color: var(--evergreen-dark);
  background: var(--evergreen-soft);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.menu-button span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  overflow: hidden;
  padding: 112px 0 46px;
  background:
    radial-gradient(circle at 16% 18%, rgba(207, 197, 187, 0.22), transparent 30%),
    linear-gradient(180deg, #efebe6 0%, var(--white) 82%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 72px 0 auto;
  height: min(560px, 44vw);
  background:
    linear-gradient(90deg, rgba(239, 235, 230, 0.95), transparent 20%, transparent 82%, rgba(239, 235, 230, 0.58)),
    linear-gradient(180deg, rgba(239, 235, 230, 0.18), transparent 58%, rgba(255, 255, 255, 0.96));
  pointer-events: none;
}

.hero-banner {
  position: relative;
  z-index: 1;
  width: min(1400px, calc(100% - 40px));
  margin: 0 auto;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: var(--soft);
  box-shadow: 0 20px 70px rgba(48, 39, 34, 0.09);
}

.hero-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(239, 235, 230, 0.95), rgba(239, 235, 230, 0.52) 26%, transparent 58%, rgba(239, 235, 230, 0.08)),
    linear-gradient(180deg, rgba(239, 235, 230, 0.08), transparent 48%, rgba(255, 255, 255, 0.94));
  pointer-events: none;
}

.hero-banner img {
  display: block;
  width: 100%;
  height: clamp(250px, 31vw, 440px);
  object-fit: cover;
  object-position: center;
  opacity: 1;
}

.hero-banner-copy {
  position: absolute;
  z-index: 2;
  left: max(28px, calc((100vw - 1180px) / 2));
  bottom: clamp(44px, 7vw, 96px);
  width: min(470px, calc(100% - 56px));
  color: var(--ink);
}

.hero-banner-copy h1 {
  margin: 0 0 10px;
  font-size: clamp(1.85rem, 3.6vw, 3.65rem);
  font-weight: 800;
  line-height: 0.98;
}

.hero-banner-copy span {
  display: block;
  max-width: 440px;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.2vw, 1.12rem);
  font-weight: 650;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(980px, calc(100% - 32px));
  margin: -32px auto 0;
  text-align: center;
}

.hero-content h1 {
  margin-left: auto;
  margin-right: auto;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--evergreen);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 620px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 7vw, 5.6rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4.4vw, 4.4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.18rem;
  line-height: 1.18;
}

.hero-content > p {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  color: var(--muted);
  font-size: 1.25rem;
}

.hero-search {
  display: grid;
  grid-template-columns: minmax(280px, 1.7fr) minmax(150px, 0.7fr) minmax(170px, 0.8fr) auto;
  gap: 8px;
  max-width: 1040px;
  margin: 0 auto;
  padding: 10px;
  border: 1px solid rgba(185, 170, 157, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 70px rgba(48, 39, 34, 0.14);
  backdrop-filter: blur(20px);
}

.hero-location {
  min-width: 260px;
}

.brand-strip {
  display: none;
  align-items: center;
  gap: 22px;
  margin-top: 24px;
}

.brand-strip img {
  display: block;
  width: auto;
  max-width: 210px;
  max-height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 10px 22px rgba(255, 255, 255, 0.5));
}

.brand-strip img:first-child {
  max-width: 150px;
  max-height: 84px;
}

.hero-search label,
.filter-row label,
.filter-grid label,
.lead-form label,
.dialog-card label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 650;
}

.lead-form label:has(> [required]):not(.consent-row),
.dialog-card label:has(> [required]) {
  grid-template-columns: max-content max-content 1fr;
  column-gap: 3px;
}

.lead-form label:has(> [required]):not(.consent-row)::after,
.dialog-card label:has(> [required])::after {
  content: "*";
  grid-row: 1;
  grid-column: 2;
  color: #b42318;
  font-weight: 800;
}

.lead-form label:has(> [required]):not(.consent-row) > input,
.lead-form label:has(> [required]):not(.consent-row) > select,
.lead-form label:has(> [required]):not(.consent-row) > textarea,
.dialog-card label:has(> [required]) > input,
.dialog-card label:has(> [required]) > select,
.dialog-card label:has(> [required]) > textarea {
  grid-row: 2;
  grid-column: 1 / -1;
}

.hero-search input,
.hero-search select,
.filters input,
.filters select,
.lead-form input,
.lead-form select,
.lead-form textarea,
.dialog-card input,
.results-bar select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 13px;
  color: var(--ink);
  background: var(--white);
  outline: none;
}

.hero-search input {
  border-color: transparent;
  background: #efebe6;
  font-size: 1.04rem;
}

.hero-search select {
  min-height: 48px;
  border-color: transparent;
  background-color: #efebe6;
  font-size: 0.95rem;
  font-weight: 750;
}

.hero-search .primary-button {
  align-self: end;
  min-height: 48px;
  padding-inline: 24px;
  font-size: 1rem;
}

.lead-form textarea {
  min-height: 112px;
  padding-top: 12px;
  resize: vertical;
}

.primary-button,
.secondary-button,
.popular-card button {
  min-height: 46px;
  border: 0;
  border-radius: var(--radius);
  padding: 0 20px;
  cursor: pointer;
  font-weight: 700;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.primary-button {
  border: 1px solid var(--ink);
  color: var(--white);
  background: var(--ink);
}

.primary-button:hover {
  border-color: var(--accent);
  color: var(--ink);
  background: var(--gold-light);
  transform: translateY(-1px);
}

.secondary-button,
.popular-card button {
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--white);
}

.secondary-button:hover,
.popular-card button:hover {
  border-color: var(--accent);
  color: var(--white);
  background: var(--evergreen);
  transform: translateY(-1px);
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(155, 121, 77, 0.38);
  outline-offset: 3px;
}

section:not(.hero) {
  padding: 92px 28px;
}

main > section:first-child:not(.hero) {
  padding-top: 158px;
}

.section-heading,
.search-shell,
.popular-grid,
.neighbourhood-grid,
.tools-section,
.map-search-panel,
.split-section,
.guide-grid,
.testimonial-grid,
.form-section,
.site-footer {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.section-heading {
  margin-bottom: 34px;
}

.section-heading p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.08rem;
}

.search-section {
  background: var(--white);
}

.search-shell {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 22px;
  align-items: start;
}

.filters,
.results-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 50px rgba(48, 39, 34, 0.1);
}

.filters {
  position: sticky;
  top: 84px;
  display: grid;
  gap: 18px;
  padding: 20px;
}

.filter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

fieldset {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

legend {
  padding: 0 6px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.check {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 500;
}

.results-panel {
  min-width: 0;
  padding: 18px;
}

.interior-parallax {
  position: relative;
  display: grid;
  align-items: end;
  min-height: clamp(460px, 62vw, 720px);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(48, 39, 34, 0.08), rgba(48, 39, 34, 0.58)),
    url("parallax-interior.png") center / cover fixed;
}

.interior-parallax::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(48, 39, 34, 0.5), rgba(48, 39, 34, 0.08) 58%);
  pointer-events: none;
}

.parallax-copy {
  position: relative;
  z-index: 1;
  width: min(660px, 100%);
  padding: clamp(42px, 7vw, 86px);
  color: #fff;
}

.parallax-copy .eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

.parallax-copy h2 {
  margin-bottom: 14px;
  color: #fff;
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 0.92;
}

.parallax-copy p:not(.eyebrow) {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.12rem;
  line-height: 1.65;
}

.results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--muted);
  font-weight: 700;
}

.results-bar select {
  max-width: 210px;
}

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

.listing-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.listing-image {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--soft);
  overflow: hidden;
}

.listing-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
}

.listing-card:hover img {
  transform: scale(1.035);
}

.listing-tag {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 6px 9px;
  border-radius: 7px;
  color: #fff;
  background: rgba(23, 23, 23, 0.76);
  font-size: 0.75rem;
  font-weight: 700;
}

.listing-body {
  padding: 15px;
}

.price {
  margin-bottom: 5px;
  font-size: 1.38rem;
  font-weight: 800;
  letter-spacing: 0;
}

.address {
  margin-bottom: 12px;
  color: var(--ink);
  font-weight: 650;
}

.listing-agent {
  margin: -6px 0 12px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.88rem;
}

.meta span {
  padding: 5px 8px;
  border-radius: 7px;
  background: var(--soft);
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.card-actions button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
  font-weight: 700;
}

.card-actions button:first-child {
  color: #fff;
  border-color: var(--ink);
  background: var(--ink);
}

.popular-section,
.neighbourhood-section,
.guide-band,
.form-section {
  background: var(--soft);
}

.calculator-section,
.map-page-section {
  background: var(--white);
}

.popular-grid,
.guide-grid,
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.popular-card,
.guide-grid article,
.testimonial-grid blockquote {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--white);
}

.popular-card span,
.guide-grid span {
  display: inline-block;
  margin-bottom: 42px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
}

.popular-card p,
.guide-grid p,
.testimonial-grid blockquote {
  color: var(--muted);
}

.popular-card button {
  width: 100%;
  margin-top: 22px;
}

.popular-visual-grid,
.popular-info-grid {
  width: min(1180px, 100%);
  margin: 26px auto 0;
  display: grid;
  gap: 18px;
}

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

.popular-visual-grid figure {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  margin: 0;
  border-radius: var(--radius);
  background: var(--ink);
}

.popular-visual-grid img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  opacity: 0.82;
}

.popular-visual-grid figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 22px;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.68));
}

.popular-visual-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.popular-visual-grid strong {
  display: block;
  max-width: 18rem;
  font-size: clamp(1.1rem, 1.4vw, 1.5rem);
  line-height: 1.12;
}

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

.popular-info-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--white);
}

.popular-info-grid h2 {
  margin: 0 0 12px;
  font-size: clamp(1.55rem, 2.4vw, 2.4rem);
}

.popular-info-grid p:not(.eyebrow) {
  color: var(--muted);
}

.popular-info-grid .secondary-button {
  margin-top: 18px;
}

body:has(.home-links) .hero {
  padding-bottom: 34px;
}

section.home-links {
  padding-top: 36px;
  padding-bottom: 12px;
}

.home-links .popular-card {
  text-align: center;
}

.home-links .popular-card h3 {
  font-size: clamp(1.22rem, 1.45vw, 1.48rem);
}

.home-links .popular-card p {
  font-size: clamp(1.02rem, 1.18vw, 1.16rem);
}

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

.neighbourhood-grid a {
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.neighbourhood-grid a:hover {
  border-color: rgba(155, 121, 77, 0.32);
  box-shadow: 0 12px 26px rgba(48, 39, 34, 0.12);
  transform: translateY(-1px);
}

.neighbourhood-card {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 150px;
}

.neighbourhood-card span {
  font-size: clamp(1.08rem, 1.35vw, 1.35rem);
  font-weight: 850;
}

.neighbourhood-card small {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.55;
}

.neighbourhood-index .neighbourhood-photo-card {
  position: relative;
  overflow: hidden;
  min-height: 180px;
  padding: 0;
  background: var(--ink);
}

.neighbourhood-index .neighbourhood-photo-card figure {
  position: relative;
  min-height: 180px;
  margin: 0;
  overflow: hidden;
}

.neighbourhood-index .neighbourhood-photo-card figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(48, 39, 34, 0.1), rgba(48, 39, 34, 0.72));
}

.neighbourhood-index .neighbourhood-photo-card img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 220ms ease;
}

.neighbourhood-index .neighbourhood-photo-card:hover img {
  transform: scale(1.04);
}

.neighbourhood-index .neighbourhood-photo-card span {
  position: absolute;
  z-index: 1;
  left: 16px;
  right: 16px;
  bottom: 16px;
  color: #fff;
  text-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
}

.neighbourhood-index .island-neighbourhood-heading {
  margin-top: clamp(56px, 7vw, 96px);
}

section.home-neighbourhoods {
  background: var(--soft);
  padding-top: 12px;
  padding-bottom: 36px;
}

.home-neighbourhood-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.home-neighbourhood-grid .compact-neighbourhood-card {
  min-height: 86px;
  align-content: center;
  padding: 18px 20px;
}

.home-neighbourhood-grid .compact-neighbourhood-card span {
  font-size: clamp(1.02rem, 1.08vw, 1.18rem);
}

.neighbourhood-hero {
  background: var(--soft);
}

.neighbourhood-hero-grid,
.neighbourhood-story-grid,
.neighbourhood-photo-grid,
.neighbourhood-fit-card {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.neighbourhood-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 28px;
  align-items: center;
}

.neighbourhood-hero-grid .section-heading {
  margin: 0;
}

.neighbourhood-hero-photo,
.neighbourhood-photo-grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 24px 70px rgba(48, 39, 34, 0.12);
}

.neighbourhood-hero-photo img {
  display: block;
  width: 100%;
  height: clamp(320px, 34vw, 480px);
  object-fit: cover;
}

.neighbourhood-story-section,
.neighbourhood-fit-section {
  background: var(--white);
}

.neighbourhood-story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.neighbourhood-story-grid article,
.neighbourhood-fit-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 42px);
  background: linear-gradient(145deg, #ffffff 0%, #efebe6 100%);
}

.neighbourhood-story-grid h2,
.neighbourhood-fit-card h2 {
  font-size: clamp(1.7rem, 3vw, 3rem);
}

.neighbourhood-story-grid p:not(.eyebrow),
.neighbourhood-fit-card p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.7;
}

.neighbourhood-detail-section,
.neighbourhood-listings-cta {
  background: var(--white);
}

.neighbourhood-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.neighbourhood-detail-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background: linear-gradient(145deg, #ffffff 0%, #efebe6 100%);
}

.neighbourhood-detail-grid h2 {
  margin: 0 0 18px;
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.neighbourhood-detail-grid ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.neighbourhood-detail-grid li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
}

.neighbourhood-detail-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--accent);
}

.neighbourhood-photo-section {
  background: var(--soft);
}

.neighbourhood-photo-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr 0.9fr;
  gap: 18px;
}

.neighbourhood-photo-grid img {
  display: block;
  width: 100%;
  height: clamp(260px, 28vw, 420px);
  object-fit: cover;
}

.neighbourhood-photo-grid figure:first-child img {
  height: clamp(320px, 34vw, 500px);
}

.neighbourhood-photo-grid figcaption {
  padding: 14px 16px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.neighbourhood-fit-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 26px;
  align-items: start;
}

.neighbourhood-fit-card ul {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.neighbourhood-fit-card li {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
}

.neighbourhood-fit-card aside {
  border-left: 3px solid var(--accent);
  padding-left: 20px;
}

body.neighbourhood-layout-coastal .neighbourhood-hero-grid {
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1.14fr);
}

body.neighbourhood-layout-coastal .neighbourhood-photo-grid {
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
}

body.neighbourhood-layout-urban .neighbourhood-hero-grid {
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
}

body.neighbourhood-layout-urban .neighbourhood-story-grid {
  grid-template-columns: 0.72fr 1.28fr;
}

body.neighbourhood-layout-urban .neighbourhood-detail-grid article:first-child {
  grid-column: span 2;
}

body.neighbourhood-layout-creative .neighbourhood-hero-photo,
body.neighbourhood-layout-waterfront .neighbourhood-hero-photo,
body.neighbourhood-layout-community .neighbourhood-hero-photo,
body.neighbourhood-layout-view .neighbourhood-hero-photo {
  order: -1;
}

body.neighbourhood-layout-creative .neighbourhood-detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.neighbourhood-layout-creative .neighbourhood-detail-grid article:last-child {
  grid-column: span 2;
}

body.neighbourhood-layout-waterfront .neighbourhood-hero-grid {
  grid-template-columns: minmax(420px, 1.12fr) minmax(0, 0.88fr);
}

body.neighbourhood-layout-waterfront .neighbourhood-fit-card {
  grid-template-columns: minmax(300px, 0.46fr) minmax(0, 1fr);
}

body.neighbourhood-layout-waterfront .neighbourhood-fit-card aside {
  order: -1;
}

body.neighbourhood-layout-park .neighbourhood-story-grid {
  grid-template-columns: 0.8fr 1.2fr;
}

body.neighbourhood-layout-park .neighbourhood-detail-grid {
  grid-template-columns: 1fr 1fr;
}

body.neighbourhood-layout-park .neighbourhood-detail-grid article:first-child {
  grid-row: span 2;
}

body.neighbourhood-layout-heritage .neighbourhood-detail-grid article:first-child {
  grid-column: span 2;
}

body.neighbourhood-layout-heritage .neighbourhood-photo-grid {
  grid-template-columns: 0.82fr 1.36fr 0.82fr;
}

body.neighbourhood-layout-community .neighbourhood-detail-grid {
  grid-template-columns: 0.85fr 1.3fr 0.85fr;
}

body.neighbourhood-layout-community .neighbourhood-story-grid {
  grid-template-columns: 1.24fr 0.76fr;
}

body.neighbourhood-layout-modern .neighbourhood-hero-grid {
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
}

body.neighbourhood-layout-modern .neighbourhood-story-grid article:first-child {
  order: 2;
}

body.neighbourhood-layout-central .neighbourhood-photo-grid {
  grid-template-columns: 0.9fr 0.9fr 1.25fr;
}

body.neighbourhood-layout-central .neighbourhood-photo-grid figure:first-child {
  order: 3;
}

body.neighbourhood-layout-classic .neighbourhood-story-grid {
  grid-template-columns: 0.7fr 1.3fr;
}

body.neighbourhood-layout-classic .neighbourhood-fit-card {
  grid-template-columns: minmax(300px, 0.45fr) minmax(0, 1fr);
}

body.neighbourhood-layout-classic .neighbourhood-fit-card aside {
  order: -1;
}

body.neighbourhood-layout-view .neighbourhood-photo-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.neighbourhood-layout-view .neighbourhood-photo-grid figure:first-child img {
  height: clamp(260px, 28vw, 420px);
}

body.neighbourhood-layout-downtown .neighbourhood-hero-grid {
  grid-template-columns: minmax(0, 0.78fr) minmax(420px, 1.22fr);
}

body.neighbourhood-layout-downtown .neighbourhood-detail-grid article:last-child {
  grid-column: span 2;
}

.neighbourhood-resource-section,
.authority-resource-section {
  background: var(--soft);
}

.neighbourhood-resource-card,
.authority-resource-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.neighbourhood-resource-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 42px);
  background: var(--white);
  box-shadow: 0 18px 54px rgba(48, 39, 34, 0.09);
}

.neighbourhood-resource-card h2 {
  font-size: clamp(1.7rem, 3vw, 3rem);
}

.neighbourhood-resource-card p:not(.eyebrow) {
  width: min(760px, 100%);
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.7;
}

.resource-link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.resource-link-grid a {
  display: grid;
  gap: 8px;
  min-height: 154px;
  align-content: start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  color: var(--ink);
  background: linear-gradient(145deg, #ffffff 0%, #efebe6 100%);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.resource-link-grid a span {
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.resource-link-grid a strong {
  color: var(--ink);
  font-size: 1.04rem;
  line-height: 1.22;
}

.resource-link-grid a small {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.48;
}

.resource-link-grid a:hover,
.authority-resource-card:hover {
  border-color: rgba(155, 121, 77, 0.52);
  box-shadow: 0 14px 34px rgba(48, 39, 34, 0.13);
  transform: translateY(-1px);
}

.authority-resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.authority-resource-card {
  display: grid;
  gap: 12px;
  min-height: 320px;
  align-content: start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 18px 54px rgba(48, 39, 34, 0.08);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.authority-resource-card figure {
  position: relative;
  margin: -26px -26px 10px;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--ink);
}

.authority-resource-card figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(48, 39, 34, 0.05), rgba(48, 39, 34, 0.48));
}

.authority-resource-card img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.authority-logo {
  position: absolute;
  z-index: 1;
  left: 18px;
  bottom: 18px;
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  border: 1px solid rgba(155, 121, 77, 0.38);
  border-radius: 999px;
  color: var(--accent);
  background: rgba(255, 255, 255, 0.94);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.authority-logo img {
  display: block;
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.authority-resource-card strong {
  font-size: 1.22rem;
  line-height: 1.2;
}

.authority-resource-card small {
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 650;
  line-height: 1.55;
}

.tools-section {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 20px;
  background: var(--white);
}

.tools-section.single-tool {
  grid-template-columns: 1fr;
}

.map-search-panel,
.mortgage-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--white);
  box-shadow: 0 14px 50px rgba(48, 39, 34, 0.1);
}

.map-search-panel {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  gap: 22px;
  align-items: stretch;
}

.inline-map {
  width: 100%;
  margin-bottom: 22px;
}

.map-search-hero {
  margin-bottom: 22px;
}

.map-search-hero .map-preview {
  min-height: 430px;
}

.large-map {
  min-height: 430px;
}

.map-search-panel p,
.mortgage-card p {
  color: var(--muted);
}

.map-search-panel .primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 10px;
  border-radius: var(--radius);
}

.map-preview {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.48) 1px, transparent 1px) 0 0 / 72px 72px,
    linear-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px) 0 0 / 72px 72px,
    radial-gradient(circle at 72% 18%, rgba(155, 121, 77, 0.26), transparent 28%),
    radial-gradient(circle at 30% 70%, rgba(137, 88, 62, 0.28), transparent 34%),
    #e8e0d8;
}

.map-preview::before {
  content: "";
  position: absolute;
  inset: 18% -8% auto;
  height: 58px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  transform: rotate(-18deg);
}

.map-preview::after {
  content: "";
  position: absolute;
  inset: auto -12% 20% 22%;
  height: 42px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  transform: rotate(22deg);
}

.map-pin {
  position: absolute;
  z-index: 1;
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
  font-size: 0.82rem;
  font-weight: 850;
}

button.map-pin {
  cursor: pointer;
}

.pin-one {
  left: 16%;
  top: 26%;
}

.pin-two {
  right: 19%;
  top: 35%;
}

.pin-three {
  left: 34%;
  bottom: 23%;
}

.pin-four {
  right: 13%;
  bottom: 18%;
}

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

.mortgage-grid label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.mortgage-grid input,
.mortgage-grid select {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 12px;
  background: var(--soft);
  outline: none;
}

.mortgage-result {
  margin-top: 16px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.mortgage-result span {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.mortgage-result strong {
  display: block;
  margin-top: 4px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.buyer-calculator {
  width: min(860px, 100%);
  margin: 0 auto;
}

.rent-own-calculator {
  margin-top: 28px;
}

.rent-own-breakdown {
  display: grid;
  gap: 16px;
}

.rent-own-group {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  background: rgba(255, 255, 255, 0.54);
}

.rent-own-group h3 {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.split-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: start;
}

.about-section {
  grid-template-columns: 380px 1fr;
  gap: 34px 56px;
  align-items: start;
}

.about-photo {
  grid-row: span 2;
}

.about-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  object-fit: cover;
  object-position: center top;
  box-shadow: var(--shadow);
}

.credential-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.credential-row span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink);
  background: var(--soft);
  font-size: 0.86rem;
  font-weight: 700;
}

.about-copy {
  grid-column: 2;
}

.signature-mark {
  display: block;
  width: min(280px, 82%);
  height: auto;
  margin: 8px 0 22px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.social-links a,
.team-note a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink);
  background: var(--white);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.social-links svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.social-links a:first-child svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.social-links a:last-child svg {
  fill: currentColor;
}

.social-links a:hover,
.team-note a:hover {
  border-color: rgba(155, 121, 77, 0.5);
  box-shadow: 0 12px 26px rgba(48, 39, 34, 0.12);
  transform: translateY(-1px);
}

.team-note {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  align-items: center;
  margin-top: 24px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.team-feature {
  grid-template-columns: 210px 1fr;
  gap: 26px;
  margin-top: 34px;
  padding: 28px;
  border-color: rgba(155, 121, 77, 0.24);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(239, 235, 230, 0.9)),
    var(--soft);
  box-shadow: var(--shadow);
}

.team-note img {
  display: block;
  width: 100%;
  max-height: 86px;
  object-fit: contain;
}

.team-feature img {
  align-self: center;
  max-height: 118px;
}

.team-note h3 {
  margin: 0 0 8px;
  font-size: 1.18rem;
  letter-spacing: 0;
}

.team-feature h3 {
  font-size: 1.65rem;
}

.team-note p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 1rem;
}

.team-note p:last-of-type {
  margin-bottom: 16px;
}

.team-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 8px 0 18px;
}

.team-points span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 calc(33.333% - 10px);
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(155, 121, 77, 0.32);
  border-radius: 14px;
  color: var(--ink);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(155, 121, 77, 0.08));
  box-shadow: 0 10px 24px rgba(48, 39, 34, 0.06);
  font-size: 0.86rem;
  font-weight: 800;
  text-align: center;
}

.about-elite-panel {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(155, 121, 77, 0.28);
  background: transparent;
}

.about-elite-logo {
  display: grid;
  min-height: 86px;
  justify-items: start;
  align-items: start;
}

.about-elite-logo img {
  display: block;
  width: min(118px, 100%);
  height: auto;
}

.about-elite-panel h3 {
  margin-bottom: 10px;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  letter-spacing: 0;
}

.about-elite-panel p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.62;
}

.about-elite-panel a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(155, 121, 77, 0.3);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 850;
  text-decoration: none;
}

.about-social-panel {
  align-items: center;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(155, 121, 77, 0.22);
}

.about-social-panel > span {
  margin-right: 4px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.about-social-panel a {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
}

.about-resource-logo-section {
  background: var(--white);
}

.about-resource-logo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.about-resource-logo-card {
  display: grid;
  min-height: 190px;
  place-items: center;
  align-content: center;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  color: var(--ink);
  background: var(--white);
  text-align: center;
  text-decoration: none;
  box-shadow: 0 18px 54px rgba(48, 39, 34, 0.08);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.about-resource-logo-card:hover {
  border-color: rgba(155, 121, 77, 0.5);
  box-shadow: 0 18px 54px rgba(48, 39, 34, 0.14);
  transform: translateY(-2px);
}

.about-resource-logo-card img {
  display: block;
  width: min(240px, 94%);
  height: 92px;
  object-fit: contain;
}

.about-logo-mark {
  display: grid;
  width: min(190px, 92%);
  height: 76px;
  place-items: center;
  border: 1px solid rgba(155, 121, 77, 0.3);
  border-radius: 8px;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(239, 235, 230, 0.9));
  font-size: clamp(1.3rem, 2.2vw, 1.9rem);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.about-resource-logo-card strong {
  max-width: 220px;
  font-size: 1rem;
  line-height: 1.25;
}

.meet-team-section {
  background: var(--white);
}

.meet-team-section > .section-heading h1,
.meet-team-section > .section-heading > p:not(.eyebrow) {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.meet-team-section > .section-heading h1 {
  white-space: nowrap;
  font-size: clamp(2rem, 7.2vw, 4.8rem);
}

.team-support-summary {
  margin-top: 18px;
}

.meet-team-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin: 22px auto 0;
  min-width: 190px;
  min-height: 40px;
  padding: 0 16px;
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  box-shadow: 0 16px 34px rgba(155, 121, 77, 0.18);
}

.elite-texture {
  background: linear-gradient(105deg, #765735 0%, #d2bea6 18%, #9b794d 34%, #e0d0bd 48%, #9b794d 64%, #b58c61 82%, #765735 100%);
  background-size: 180% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: var(--gold);
  -webkit-text-fill-color: transparent;
}

.meet-elite-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 34px;
  align-items: center;
  width: min(1180px, 100%);
  margin: 28px auto 0;
  border-top: 1px solid rgba(155, 121, 77, 0.24);
  border-bottom: 1px solid rgba(155, 121, 77, 0.24);
  padding: 34px 0;
  text-align: center;
}

.meet-elite-line img {
  display: block;
  width: min(240px, 100%);
  height: auto;
  margin: 12px auto 18px;
}

.meet-elite-line h2 {
  max-width: 780px;
  margin: 0 auto 12px;
  font-size: clamp(1.35rem, 3vw, 2.2rem);
  text-align: center;
}

.meet-elite-line p:not(.eyebrow) {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
  text-align: center;
}

.meet-elite-line .secondary-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 220px;
  margin: 22px auto 0;
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  box-shadow: 0 16px 34px rgba(155, 121, 77, 0.18);
}

.team-member-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.team-member-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--white);
  box-shadow: 0 18px 54px rgba(48, 39, 34, 0.08);
}

.team-member-grid h2 {
  margin-bottom: 12px;
  font-size: clamp(1.4rem, 2vw, 2rem);
}

.team-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: calc(var(--radius) - 6px);
  margin-bottom: 18px;
}

.team-designation {
  margin: -6px 0 12px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.team-member-grid p:not(.eyebrow):not(.team-designation) {
  color: var(--muted);
  line-height: 1.62;
}

.prose {
  color: var(--muted);
  font-size: 1.12rem;
}

.guide-intro {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: min(1180px, 100%);
  margin: 0 auto 18px;
}

.guide-intro article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--white);
}

.guide-intro p {
  color: var(--muted);
}

.guide-photo-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.82fr 0.82fr;
  gap: 16px;
  width: min(1180px, 100%);
  margin: 0 auto 20px;
}

.guide-image-section {
  background: var(--white);
}

body:has(#buyers) .guide-feature-section,
body:has(#sellers) .guide-feature-section {
  padding-top: 42px;
  padding-bottom: 42px;
}

body:has(#sellers) #sellers {
  padding-bottom: 42px;
}

body:has(#sellers) #sellers > .guide-image-split {
  margin-bottom: 44px;
}

body:has(#buyers) .guide-image-section:not(.compact),
body:has(#sellers) .guide-image-section:not(.compact) {
  padding-top: 42px;
  padding-bottom: 42px;
}

body:has(#buyers) .checklist-section,
body:has(#sellers) .checklist-section {
  padding-top: 42px;
}

body:has(#sellers) .checklist-section {
  padding-bottom: 42px;
}

body:has(#sellers) .seller-marketing-section {
  padding-top: 42px;
}

.guide-image-section.compact {
  padding-top: 46px;
}

.guide-image-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 30px;
  align-items: center;
  width: min(1180px, 100%);
  margin: 0 auto 26px;
}

.guide-image-split .guide-photo-card,
.guide-image-split .guide-photo-card.large {
  aspect-ratio: 4 / 3;
  min-height: 0;
}

.guide-image-split .guide-photo-card img {
  height: 100%;
  min-height: 0;
}

.guide-image-section .guide-image-split {
  margin-bottom: 0;
}

.guide-image-split.reverse {
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
}

.guide-image-copy {
  max-width: 620px;
}

.guide-image-copy h2,
.guide-image-copy h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: clamp(2rem, 3.3vw, 3.6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.guide-image-copy p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.72;
}

.guide-photo-card {
  position: relative;
  min-height: 270px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--soft);
  box-shadow: var(--shadow);
}

.guide-photo-card.large {
  min-height: 420px;
}

.guide-photo-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center;
  transition: transform 260ms ease;
}

.guide-art-card {
  background: #ddd3ca;
}

.guide-art-card img {
  padding: 18px;
  object-fit: contain;
}

.guide-photo-card:nth-child(2) img {
  object-position: center top;
}

.guide-photo-card:hover img {
  transform: scale(1.035);
}

.guide-photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 28%, rgba(18, 18, 18, 0.62));
}

.guide-photo-card figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 1;
  color: #fff;
}

.guide-photo-card figcaption span {
  display: block;
  margin-bottom: 7px;
  color: #d2bea6;
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.guide-photo-card figcaption strong {
  display: block;
  font-size: clamp(1.05rem, 1.7vw, 1.45rem);
  line-height: 1.08;
}

.guide-grid.detailed {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.guide-grid.detailed article {
  min-height: 270px;
}

.guide-grid.detailed span {
  margin-bottom: 26px;
}

.guide-roadmap {
  gap: 22px;
  counter-reset: buyer-step;
}

.guide-grid.detailed.guide-roadmap article {
  position: relative;
  overflow: hidden;
  min-height: 310px;
  padding: 28px;
  border-color: rgba(185, 170, 157, 0.28);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(239, 235, 230, 0.86)),
    var(--white);
  box-shadow: 0 18px 48px rgba(48, 39, 34, 0.09);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.guide-grid.detailed.guide-roadmap article:hover {
  transform: translateY(-4px);
  border-color: rgba(155, 121, 77, 0.42);
  box-shadow: 0 24px 62px rgba(48, 39, 34, 0.14);
}

.guide-grid.detailed.guide-roadmap article::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--accent), rgba(155, 121, 77, 0.18));
}

.guide-grid.detailed.guide-roadmap article::after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -42px;
  width: 132px;
  height: 132px;
  border: 1px solid rgba(155, 121, 77, 0.18);
  border-radius: 50%;
  background: rgba(155, 121, 77, 0.05);
}

.guide-grid.detailed.guide-roadmap span {
  position: relative;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 24px;
  border: 1px solid rgba(155, 121, 77, 0.28);
  border-radius: 50%;
  color: var(--accent-dark);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 28px rgba(48, 39, 34, 0.1);
  font-size: 0.9rem;
  font-weight: 900;
}

.guide-grid.detailed.guide-roadmap h3,
.guide-grid.detailed.guide-roadmap p {
  position: relative;
  z-index: 1;
}

.guide-grid.detailed.guide-roadmap h3 {
  max-width: 95%;
  margin-bottom: 12px;
  font-size: clamp(1.18rem, 1.45vw, 1.45rem);
}

.guide-grid.detailed.guide-roadmap p {
  margin-bottom: 0;
  font-size: 0.98rem;
  line-height: 1.62;
}

body:has(#buyers) .guide-feature {
  grid-template-columns: 1fr;
}

body:has(#buyers) .guide-grid.detailed.guide-roadmap {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

body:has(#buyers) .guide-grid.detailed.guide-roadmap article {
  min-height: 0;
  padding: 24px;
}

body:has(#buyers) .guide-grid.detailed.guide-roadmap span {
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
}

body:has(#sellers) .seller-feature {
  grid-template-columns: 1fr;
}

body:has(#sellers) .sellers-grid.guide-roadmap {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px;
}

body:has(#sellers) .sellers-grid.guide-roadmap article {
  min-height: 0;
  padding: 24px;
}

body:has(#sellers) .sellers-grid.guide-roadmap span {
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
}

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

.sellers-grid.guide-roadmap {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.guide-feature-section,
.checklist-section,
.seller-rule-section,
.seller-marketing-section,
.guide-cta-section {
  background: var(--white);
}

.guide-feature,
.checklist-grid,
.seller-rule-card,
.marketing-grid,
.guide-cta-section {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.guide-feature {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background:
    radial-gradient(circle at 92% 8%, rgba(155, 121, 77, 0.14), transparent 28%),
    var(--soft);
  box-shadow: var(--shadow);
}

.seller-feature {
  grid-template-columns: 0.82fr 1.18fr;
  align-items: center;
  gap: 34px;
  padding: clamp(26px, 4vw, 42px);
  background:
    radial-gradient(circle at 12% 12%, rgba(155, 121, 77, 0.16), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(239, 235, 230, 0.9)),
    var(--soft);
}

.seller-feature h2 {
  max-width: 720px;
}

.seller-feature .feature-stat-grid article {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  padding: 24px;
  border-color: rgba(185, 170, 157, 0.28);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 40px rgba(48, 39, 34, 0.08);
}

.seller-feature .feature-stat-grid article::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -34px;
  width: 104px;
  height: 104px;
  border: 1px solid rgba(155, 121, 77, 0.18);
  border-radius: 50%;
}

.seller-feature .feature-stat-grid strong {
  margin-bottom: 18px;
  font-size: 1.35rem;
  line-height: 1;
}

.seller-feature .feature-stat-grid h3 {
  position: relative;
  z-index: 1;
  margin-bottom: 10px;
  font-size: clamp(1.12rem, 1.4vw, 1.35rem);
}

.seller-feature .feature-stat-grid span {
  position: relative;
  z-index: 1;
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.55;
}

.seller-rule-section {
  padding-top: 42px !important;
  padding-bottom: 42px !important;
  background: var(--white);
}

.seller-rule-card {
  display: grid;
  gap: 30px;
  border: 1px solid rgba(185, 170, 157, 0.28);
  border-radius: var(--radius);
  padding: clamp(26px, 4vw, 42px);
  background:
    radial-gradient(circle at 88% 18%, rgba(155, 121, 77, 0.14), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(239, 235, 230, 0.9));
  box-shadow: var(--shadow);
}

.seller-rule-card p:not(.eyebrow) {
  max-width: 900px;
  margin-bottom: 4px;
  border-left: 3px solid rgba(155, 121, 77, 0.38);
  padding-left: 18px;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.25vw, 1.16rem);
  line-height: 1.55;
}

.seller-rule-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(185, 170, 157, 0.26);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
}

.seller-rule-flow article {
  position: relative;
  min-height: 210px;
  padding: 28px;
  background: transparent;
}

.seller-rule-flow article + article {
  border-left: 1px solid rgba(185, 170, 157, 0.2);
}

.seller-rule-flow article::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 28px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(155, 121, 77, 0.24);
  border-radius: 50%;
}

.seller-rule-flow strong {
  display: block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 0.95;
}

.seller-rule-flow span {
  position: relative;
  z-index: 1;
  display: block;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  line-height: 1.55;
  text-transform: uppercase;
}

.seller-rule-flow p {
  position: relative;
  z-index: 1;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.guide-feature p,
.checklist-grid p,
.marketing-grid p,
.guide-cta-section p {
  color: var(--muted);
}

.feature-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature-stat-grid article,
.checklist-grid article,
.marketing-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  background: var(--white);
}

.feature-stat-grid strong {
  display: block;
  margin-bottom: 28px;
  color: var(--accent);
  font-size: 1.35rem;
}

.feature-stat-grid span {
  display: block;
  color: var(--ink);
  font-weight: 750;
}

.checklist-grid,
.marketing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.checklist-grid ul {
  display: grid;
  gap: 11px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.checklist-grid li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
  font-weight: 650;
}

.checklist-grid li::before {
  content: "";
  position: absolute;
  top: 0.52em;
  left: 0;
  width: 12px;
  height: 7px;
  border-bottom: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.marketing-grid article span {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

body:has(#sellers) .seller-marketing-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 24px;
  align-items: stretch;
  width: min(1180px, calc(100% - 56px));
  margin-right: auto;
  margin-left: auto;
  padding-right: 0;
  padding-left: 0;
}

body:has(#sellers) .seller-marketing-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(185, 170, 157, 0.28);
  border-radius: var(--radius);
  padding: 28px;
  background:
    radial-gradient(circle at 88% 18%, rgba(155, 121, 77, 0.12), transparent 32%),
    rgba(255, 255, 255, 0.84);
}

body:has(#sellers) .seller-marketing-copy h2 {
  margin-bottom: 0;
}

body:has(#sellers) .seller-marketing-grid {
  width: 100%;
  margin: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body:has(#sellers) .seller-marketing-grid article {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  justify-content: center;
  padding: 26px;
}

.guide-cta-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

body:has(#buyers) .guide-cta-section,
body:has(#sellers) .guide-cta-section {
  padding-top: 54px;
}

body:has(#buyers) .guide-cta-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

body:has(#sellers) .seller-cta-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.guide-cta-copy {
  max-width: 720px;
}

.guide-cta-copy h2 {
  margin-bottom: 12px;
}

.guide-cta-section > div:first-child {
  max-width: 680px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.cta-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

body:has(#buyers) .guide-cta-section .cta-actions,
body:has(#sellers) .guide-cta-section .cta-actions {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: 12px;
  align-items: center;
}

body:has(#sellers) .seller-cta-section .cta-actions {
  grid-template-columns: repeat(2, max-content);
}

body:has(#buyers) .guide-cta-section .cta-actions a,
body:has(#sellers) .guide-cta-section .cta-actions a {
  min-width: 0;
  min-height: 48px;
  border-radius: 999px;
  padding: 0 22px;
  box-shadow: 0 14px 30px rgba(48, 39, 34, 0.08);
  white-space: nowrap;
}

body:has(#buyers) .guide-cta-section .cta-actions .secondary-button,
body:has(#sellers) .guide-cta-section .cta-actions .secondary-button {
  background: rgba(255, 255, 255, 0.72);
}

.subtle {
  background: var(--white);
}

.testimonial-grid blockquote {
  color: var(--ink);
  font-size: 1.08rem;
}

.testimonial-grid cite {
  display: block;
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.9rem;
  font-style: normal;
  font-weight: 700;
}

.form-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 44px;
  align-items: start;
}

.form-copy {
  position: sticky;
  top: 92px;
}

.form-copy p {
  color: var(--muted);
  font-size: 1.08rem;
}

.contact-details {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.contact-details a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
}

.contact-details svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--accent);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

section.home-connect-section {
  padding-top: 40px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(239, 235, 230, 0.92)),
    var(--soft);
}

.home-connect-heading {
  width: min(1180px, 100%);
  margin: 0 auto 34px;
  text-align: center;
}

.home-connect-heading h2 {
  margin-bottom: 12px;
  font-size: clamp(3.2rem, 7vw, 6.8rem);
  line-height: 0.9;
}

.home-connect-heading > p:not(.eyebrow) {
  width: min(620px, 100%);
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.12rem;
}

.home-social {
  justify-content: center;
  margin-top: 24px;
}

.home-connect-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.home-lead-form {
  width: min(780px, 100%);
  margin: 0 auto;
  align-content: start;
}

.home-lead-form label:has(textarea),
.home-lead-form .consent-row,
.home-lead-form button,
.home-lead-form .form-status {
  grid-column: 1 / -1;
}

.consent-row {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: flex-start;
  gap: 10px !important;
  color: var(--muted);
  font-size: 0.9rem !important;
  font-weight: 700;
}

.consent-row input {
  width: 18px !important;
  min-height: 18px !important;
  height: 18px;
  margin-top: 2px;
  flex: 0 0 auto;
  accent-color: var(--accent);
}

.consent-row:has(> [required])::after {
  content: "*";
  color: #b42318;
  font-weight: 800;
}

.home-profile-panel {
  display: grid;
  grid-template-areas:
    "photo brand"
    "photo contact";
  grid-template-columns: minmax(300px, 0.92fr) minmax(380px, 1.08fr);
  gap: clamp(20px, 3vw, 40px) clamp(28px, 4vw, 56px);
  align-items: start;
  overflow: hidden;
  width: 100%;
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid rgba(155, 121, 77, 0.18);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 88% 16%, rgba(137, 88, 62, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(239, 235, 230, 0.98) 52%, rgba(255, 255, 255, 0.98) 100%);
  box-shadow: var(--shadow);
}

.home-profile-photo {
  grid-area: photo;
  display: block;
  width: 100%;
  height: min(46vw, 480px);
  min-height: 380px;
  border-radius: var(--radius);
  object-fit: cover;
  object-position: center top;
}

.home-brand-card {
  grid-area: brand;
  display: grid;
  justify-items: start;
  align-content: start;
  gap: 16px;
  min-height: 100%;
  text-align: left;
}

.home-logo-field {
  display: grid;
  place-items: center start;
  width: min(940px, 100%);
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.home-profile-logo {
  display: block;
  width: 100%;
  max-height: 250px;
  object-fit: contain;
  object-position: left center;
}

.home-cb-logo {
  display: block;
  width: min(240px, 100%);
  max-height: 128px;
  margin: 4px 0 0;
  object-fit: contain;
  object-position: left center;
}

.home-brand-card p {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.2rem, 1.8vw, 1.75rem);
  font-weight: 750;
  line-height: 1.55;
}

.home-brand-card > p:first-of-type {
  justify-self: stretch;
  text-align: left;
}

.home-brand-card .experience-note {
  width: min(520px, 100%);
  border-top: 1px solid var(--line);
  padding-top: 18px;
  color: var(--evergreen);
  font-size: clamp(0.98rem, 1.2vw, 1.15rem);
  font-weight: 850;
  letter-spacing: 0.02em;
}

.home-footer-contact {
  grid-area: contact;
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 18px;
  border: 1px solid rgba(155, 121, 77, 0.16);
  border-radius: var(--radius);
  padding: 24px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  text-align: left;
}

.home-footer-contact h3 {
  margin: 0 0 20px;
  color: var(--ink);
  font-size: clamp(1.35rem, 1.8vw, 1.75rem);
  font-weight: 900;
  text-align: left;
  letter-spacing: 0;
}

.home-footer-contact a,
.home-footer-contact address {
  color: var(--ink);
  font-size: clamp(1.18rem, 1.6vw, 1.55rem);
  font-style: normal;
  font-weight: 650;
  line-height: 1.55;
}

.home-footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.home-footer-contact svg {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--evergreen);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.home-office-card {
  margin-top: 22px;
}

.home-footer-contact strong {
  display: block;
  margin-bottom: 0;
  color: var(--ink);
  font-size: clamp(0.82rem, 0.95vw, 1rem);
  font-weight: 800;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.home-office-card strong + br {
  display: none;
}

.home-footer-social {
  display: grid;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.home-footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  min-height: 30px;
  color: var(--ink);
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  font-weight: 750;
}

.home-footer-social svg {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  stroke: currentColor;
}

.home-footer-social path {
  fill: currentColor;
  stroke: none;
}

.home-contact-feature {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(520px, 1.22fr);
  align-items: stretch;
  overflow: hidden;
  width: 100%;
  border: 1px solid rgba(155, 121, 77, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(239, 235, 230, 0.98) 100%);
  box-shadow: var(--shadow);
}

.home-contact-portrait {
  position: relative;
  min-height: 620px;
  margin: 0;
  background: var(--evergreen);
}

.home-contact-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.home-contact-content {
  display: grid;
  align-content: center;
  gap: 28px;
  padding: clamp(30px, 5vw, 68px);
}

.home-contact-brand {
  display: grid;
  gap: 16px;
  max-width: 760px;
}

.home-contact-logo {
  display: block;
  width: min(620px, 100%);
  max-height: 190px;
  object-fit: contain;
  object-position: left center;
}

.home-contact-brand p {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.18rem, 1.8vw, 1.65rem);
  font-weight: 800;
  line-height: 1.48;
}

.home-contact-note {
  width: min(560px, 100%);
  border-top: 1px solid var(--line);
  padding-top: 16px;
  color: var(--evergreen) !important;
  font-size: clamp(0.98rem, 1.15vw, 1.12rem) !important;
  letter-spacing: 0.02em;
}

.home-contact-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.15fr) minmax(220px, 0.85fr);
  gap: 16px;
}

.home-contact-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
  border: 1px solid rgba(155, 121, 77, 0.16);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
}

.home-contact-card h3,
.home-contact-card strong {
  margin: 0;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-contact-card a,
.home-contact-card span {
  color: var(--ink);
  font-size: clamp(0.98rem, 1.15vw, 1.12rem);
  font-style: normal;
  font-weight: 750;
  line-height: 1.45;
}

.home-contact-card a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.home-contact-card svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--evergreen);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.home-contact-card a span {
  overflow-wrap: anywhere;
}

.home-contact-card:first-child {
  grid-row: span 2;
}

.home-contact-social svg path,
.home-contact-social a svg path {
  fill: currentColor;
  stroke: none;
}

.home-contact-brokerage {
  display: block;
  width: min(260px, 100%);
  max-height: 118px;
  justify-self: center;
  object-fit: contain;
  object-position: center;
}

.home-brokerage-card {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 18px;
  align-items: center;
  margin-top: 28px;
  padding: 16px;
  border: 1px solid rgba(185, 170, 157, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 42px rgba(48, 39, 34, 0.1);
}

.brokerage-headshot {
  display: block;
  width: 118px;
  aspect-ratio: 1;
  border-radius: 8px;
  object-fit: cover;
  object-position: center top;
}

.brokerage-details {
  min-width: 0;
}

.brokerage-logo {
  display: block;
  width: min(260px, 100%);
  max-height: 78px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 12px;
}

.brokerage-name {
  margin: 0 0 6px;
  color: var(--ink) !important;
  font-size: 0.96rem !important;
  font-weight: 900;
}

.brokerage-details address {
  margin: 0;
  color: var(--muted);
  font-style: normal;
  font-weight: 700;
  line-height: 1.5;
}

.chat-widget {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  display: grid;
  justify-items: end;
  gap: 12px;
  pointer-events: none;
}

.chat-toggle,
.chat-panel {
  pointer-events: auto;
}

.chat-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  border: 0;
  border-radius: 999px;
  padding: 0 20px;
  color: #fff;
  background: var(--accent);
  box-shadow: 0 18px 42px rgba(48, 39, 34, 0.24);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 900;
}

.chat-toggle svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.chat-panel {
  position: relative;
  display: none;
  width: min(340px, calc(100vw - 32px));
  border: 1px solid rgba(185, 170, 157, 0.28);
  border-radius: var(--radius);
  padding: 22px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 70px rgba(48, 39, 34, 0.18);
}

.chat-widget[data-open="true"] .chat-panel {
  display: grid;
  gap: 12px;
}

.chat-panel h2 {
  margin: 0;
  font-size: 1.55rem;
}

.chat-panel p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.chat-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
  font-size: 1.2rem;
}

.chat-actions {
  display: grid;
  gap: 8px;
  margin-top: 4px;
}

.chat-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  font-weight: 850;
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.lead-form label:nth-last-of-type(1),
.lead-form .wide-field,
.lead-form button,
.form-status {
  grid-column: 1 / -1;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--success);
  font-weight: 700;
}

.owner-tools-section {
  background:
    linear-gradient(180deg, rgba(239, 235, 230, 0.86), rgba(255, 255, 255, 0.96)),
    var(--white);
}

.owner-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: 22px;
  align-items: start;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.owner-listing-form {
  position: sticky;
  top: 136px;
}

.owner-panel {
  display: grid;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.owner-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.owner-panel-header h2 {
  margin: 4px 0 0;
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  letter-spacing: 0;
}

.owner-preview-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  white-space: nowrap;
}

.manual-listings {
  display: grid;
  gap: 12px;
}

.manual-empty {
  border: 1px dashed rgba(155, 121, 77, 0.42);
  border-radius: var(--radius);
  padding: 22px;
  background: var(--soft);
}

.manual-empty h3,
.manual-empty p {
  margin: 0;
}

.manual-empty p {
  margin-top: 6px;
  color: var(--muted);
}

.manual-listing-row {
  display: grid;
  grid-template-columns: 118px 1fr auto;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  background: var(--white);
}

.manual-listing-row img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 7px;
  object-fit: cover;
  background: var(--soft);
}

.manual-listing-row span {
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.manual-listing-row h3 {
  margin: 3px 0 5px;
  font-size: 1rem;
  letter-spacing: 0;
}

.manual-listing-row p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.manual-listing-row .manual-agent {
  margin-top: 4px;
  color: var(--accent);
  font-weight: 800;
}

.manual-listing-row button {
  min-height: 38px;
  border: 1px solid rgba(145, 51, 51, 0.24);
  border-radius: var(--radius);
  padding: 0 12px;
  color: #913333;
  background: rgba(145, 51, 51, 0.06);
  cursor: pointer;
  font-weight: 800;
}

.owner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.danger-button {
  color: #913333;
  border-color: rgba(145, 51, 51, 0.24);
  background: rgba(145, 51, 51, 0.06);
}

.manual-export {
  width: 100%;
  min-height: 150px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  color: var(--muted);
  background: var(--soft);
  resize: vertical;
}

.lead-dialog {
  width: min(520px, calc(100% - 28px));
  border: 0;
  border-radius: var(--radius);
  padding: 0;
  box-shadow: 0 25px 90px rgba(48, 39, 34, 0.18);
}

.lead-dialog::backdrop,
.property-dialog::backdrop {
  background: rgba(48, 39, 34, 0.38);
  backdrop-filter: blur(8px);
}

.property-dialog {
  width: min(680px, calc(100% - 28px));
  border: 0;
  border-radius: var(--radius);
  padding: 0;
  box-shadow: 0 25px 90px rgba(48, 39, 34, 0.18);
}

.dialog-card {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 28px;
}

.dialog-card h2 {
  font-size: 2rem;
}

.property-detail > img {
  display: block;
  width: calc(100% + 56px);
  max-width: none;
  height: 320px;
  margin: -28px -28px 22px;
  border-radius: var(--radius) var(--radius) 0 0;
  object-fit: cover;
}

.property-detail .meta {
  margin-bottom: 4px;
}

.close-button {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
  font-size: 1.35rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 28px;
  color: var(--muted);
  font-size: 0.86rem;
}

.site-footer p {
  margin: 0;
}

section.home-island-search {
  padding-top: 36px;
  padding-bottom: 36px;
  background:
    linear-gradient(135deg, rgba(137, 88, 62, 0.08), rgba(255, 255, 255, 0.92)),
    var(--white);
}

.home-island-callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  width: min(1180px, 100%);
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(28px, 5vw, 58px);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.home-island-callout h2 {
  margin: 0;
  max-width: 760px;
}

.home-island-callout p:not(.eyebrow) {
  max-width: 760px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.home-island-callout .cta-actions {
  display: grid;
  min-width: 280px;
}

.home-island-callout .cta-actions a {
  min-height: 48px;
  padding: 0 22px;
}

.island-home-button {
  display: inline-flex;
  align-items: center;
  margin-top: 10px;
}

.island-index {
  background:
    radial-gradient(circle at 16% 20%, rgba(137, 88, 62, 0.1), transparent 34%),
    linear-gradient(180deg, var(--white), var(--evergreen-soft));
}

body:has(.island-index) .island-index {
  padding-bottom: 48px;
}

body:has(.island-index) .island-area-section {
  padding-top: 48px;
  padding-bottom: 48px;
}

body:has(.island-index) .island-final-cta {
  padding-top: 48px;
}

.island-guide-section {
  background:
    radial-gradient(circle at 84% 12%, rgba(137, 88, 62, 0.1), transparent 32%),
    var(--evergreen-soft);
}

.island-guide-heading {
  display: grid;
  justify-items: start;
}

.island-guide-heading h2 {
  max-width: 820px;
}

.island-heading h1 {
  margin: 0;
  max-width: 860px;
}

.island-community-grid,
.island-area-card,
.island-final-cta {
  width: min(1180px, 100%);
  margin-right: auto;
  margin-left: auto;
}

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

.island-community-card {
  position: relative;
  display: grid;
  gap: 8px;
  min-height: 138px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 40px rgba(48, 39, 34, 0.08);
}

:is(.island-index, #island-communities) .island-community-card {
  align-content: end;
  min-height: 180px;
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--white);
  background-position: center;
  background-size: cover;
  box-shadow: inset 0 -110px 90px rgba(48, 39, 34, 0.68), 0 16px 40px rgba(48, 39, 34, 0.08);
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.35);
}

:is(.island-index, #island-communities) .island-community-card:nth-child(1) {
  background-image: url("https://commons.wikimedia.org/wiki/Special:FilePath/Victoria%2C%20Vancouver%20Island%2C%20British%20Columbia%2C%20Canada.jpg?width=1400");
}

:is(.island-index, #island-communities) .island-community-card:nth-child(2) {
  background-image: url("https://commons.wikimedia.org/wiki/Special:FilePath/Cowichan%20Bay%20from%20Cowichan%20Bay%201.jpg?width=1400");
}

:is(.island-index, #island-communities) .island-community-card:nth-child(3) {
  background-image: url("https://commons.wikimedia.org/wiki/Special:FilePath/Ketch%20at%20Day's%20End%2C%20Ladysmith%20Harbour.jpg?width=1400");
}

:is(.island-index, #island-communities) .island-community-card:nth-child(4) {
  background-image: url("https://commons.wikimedia.org/wiki/Special:FilePath/Nanaimo%20Harbour%2C%20north%20view%20from%20fishing%20pier%2020240828%201.jpg?width=1400");
}

:is(.island-index, #island-communities) .island-community-card:nth-child(5) {
  background-image: url("https://commons.wikimedia.org/wiki/Special:FilePath/Notch%20Hill%20(51297123490).jpg?width=1400");
}

:is(.island-index, #island-communities) .island-community-card:nth-child(6) {
  background-image: url("https://commons.wikimedia.org/wiki/Special:FilePath/Beach%20Side%20Seawall%2C%20Parksville%2C%20Vancouver%20Island%20(36676401172).jpg?width=1400");
}

:is(.island-index, #island-communities) .island-community-card:nth-child(7) {
  background-image: url("https://commons.wikimedia.org/wiki/Special:FilePath/Comox%20Valley%20from%20Mt%20Washington.jpg?width=1400");
}

:is(.island-index, #island-communities) .island-community-card:nth-child(8) {
  background-image: url("https://commons.wikimedia.org/wiki/Special:FilePath/Campbell%20River.jpg?width=1400");
}

:is(.island-index, #island-communities) .island-community-card:nth-child(9) {
  background-image: url("https://commons.wikimedia.org/wiki/Special:FilePath/Sunset%20at%20Long%20beach%20-%20Tofino%20-%20Vancouver%20Island%20-%20Canada.jpg?width=1400");
}

.island-community-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--evergreen);
}

.island-community-card span {
  font-size: clamp(1.12rem, 1.45vw, 1.42rem);
  font-weight: 850;
}

.island-community-card small {
  color: var(--muted);
  font-weight: 650;
  line-height: 1.45;
}

:is(.island-index, #island-communities) .island-community-card small {
  color: rgba(255, 255, 255, 0.9);
}

.island-area-section {
  background: var(--white);
}

.island-area-section:nth-of-type(odd) {
  background:
    linear-gradient(135deg, rgba(137, 88, 62, 0.07), rgba(255, 255, 255, 0.9)),
    var(--soft);
}

.island-area-card {
  display: grid;
  gap: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(26px, 4vw, 46px);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 58px rgba(48, 39, 34, 0.08);
}

.island-area-card-alt {
  border-left: 6px solid var(--evergreen);
}

.island-area-card h2 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.02;
}

.island-area-card p:not(.eyebrow) {
  max-width: 920px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.55vw, 1.36rem);
}

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

.island-area-grid div {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  background: var(--white);
}

.island-area-grid strong {
  color: var(--accent-dark);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.island-area-grid span {
  color: var(--muted);
  font-weight: 650;
  line-height: 1.55;
}

.island-area-card .cta-actions,
.island-final-cta .cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.island-area-card .cta-actions a,
.island-final-cta .cta-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.island-final-cta {
  border-top: 1px solid var(--line);
}

.island-overview-banner,
.island-lifestyle-section,
.island-map-section {
  width: 100%;
}

.island-overview-banner {
  position: relative;
  display: grid;
  min-height: clamp(440px, 58vw, 720px);
  place-items: end start;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(48, 39, 34, 0.84), rgba(48, 39, 34, 0.18)),
    url("https://commons.wikimedia.org/wiki/Special:FilePath/Sunset%20at%20Long%20beach%20-%20Tofino%20-%20Vancouver%20Island%20-%20Canada.jpg?width=2000") center / cover;
}

.island-overview-banner-copy {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: clamp(34px, 7vw, 84px) clamp(22px, 5vw, 64px);
  color: var(--white);
}

.island-overview-banner-copy .eyebrow,
.island-overview-banner-copy p {
  color: rgba(253, 252, 251, 0.9);
}

.island-overview-banner-copy h2 {
  max-width: 820px;
  margin: 10px 0 18px;
  font-size: clamp(2.7rem, 6.5vw, 6.7rem);
  line-height: 0.94;
}

.island-overview-banner-copy p:last-child {
  max-width: 720px;
  margin: 0;
  font-size: clamp(1.05rem, 1.6vw, 1.4rem);
  line-height: 1.55;
}

.island-lifestyle-section {
  background: var(--white);
}

.island-lifestyle-grid {
  display: grid;
  width: min(1180px, 100%);
  margin: 0 auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.island-lifestyle-card {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 290px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 42px);
  background: linear-gradient(145deg, var(--white), var(--evergreen-soft));
  box-shadow: 0 18px 48px rgba(48, 39, 34, 0.08);
}

.island-lifestyle-number {
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.16em;
}

.island-lifestyle-card h3 {
  margin: 0;
  font-size: clamp(1.55rem, 2.8vw, 2.6rem);
  line-height: 1.05;
}

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

.island-lifestyle-card div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.island-lifestyle-card a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 13px;
  background: rgba(253, 252, 251, 0.8);
  font-size: 0.86rem;
  font-weight: 750;
}

.island-lifestyle-card a:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
}

.island-map-section {
  background:
    radial-gradient(circle at 18% 28%, rgba(137, 88, 62, 0.1), transparent 34%),
    var(--evergreen-soft);
}

.island-map-intro,
.island-map-layout {
  width: min(1180px, 100%);
  margin-right: auto;
  margin-left: auto;
}

.island-map-intro {
  margin-bottom: 30px;
}

.island-map-intro h2 {
  max-width: 800px;
}

.island-map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.8fr);
  gap: 20px;
  align-items: stretch;
}

.island-map-canvas,
.island-map-note {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(253, 252, 251, 0.9);
  box-shadow: 0 18px 52px rgba(48, 39, 34, 0.09);
}

.island-map-canvas {
  position: relative;
  min-height: 700px;
  overflow: hidden;
  z-index: 0;
}

.island-map-canvas .leaflet-control-zoom,
.island-map-canvas .island-map-reset-control {
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(48, 39, 34, 0.16);
}

.island-map-canvas .island-map-reset-control {
  display: grid;
  width: 32px;
  height: 32px;
  margin-top: 8px;
  border-radius: 4px;
  place-items: center;
  background: var(--white);
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 800;
  cursor: pointer;
}

.island-map-canvas .leaflet-tooltip.island-map-tooltip {
  border: 0;
  border-radius: 4px;
  padding: 4px 7px;
  background: rgba(253, 252, 251, 0.94);
  box-shadow: 0 3px 12px rgba(48, 39, 34, 0.14);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 800;
}

.island-map-canvas .leaflet-tooltip-left::before {
  border-left-color: rgba(253, 252, 251, 0.94);
}

.island-map-canvas .leaflet-tooltip-right::before {
  border-right-color: rgba(253, 252, 251, 0.94);
}

.island-map-canvas .leaflet-control-attribution {
  font-size: 0.62rem;
}

.island-map-stage {
  position: absolute;
  inset: 0;
  transform-origin: center;
  transition: transform 180ms ease;
  will-change: transform;
}

.island-map-canvas.is-zoomed {
  cursor: grab;
  touch-action: none;
}

.island-map-canvas.is-dragging {
  cursor: grabbing;
}

.island-map-canvas.is-dragging .island-map-stage {
  transition: none;
}

.island-map-base {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: fill;
  pointer-events: none;
}

.island-map-marker {
  position: absolute;
  z-index: 2;
  display: block;
  width: 14px;
  height: 14px;
  font-size: clamp(0.7rem, 1.15vw, 0.9rem);
  font-weight: 800;
}

.island-map-marker span {
  display: block;
  width: 14px;
  height: 14px;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: var(--evergreen);
  box-shadow: 0 3px 12px rgba(48, 39, 34, 0.3);
  transform: scale(var(--map-point-scale, 1));
  transform-origin: center;
}

.island-map-marker b {
  position: absolute;
  top: 50%;
  right: var(--map-label-gap, 22px);
  display: block;
  border-radius: 4px;
  padding: 4px 7px;
  background: rgba(253, 252, 251, 0.92);
  box-shadow: 0 3px 12px rgba(48, 39, 34, 0.12);
  line-height: 1.1;
  white-space: nowrap;
  transform: translateY(-50%) scale(var(--map-label-scale, 1));
  transform-origin: right center;
}

.marker-tofino b {
  right: auto;
  left: var(--map-label-gap, 22px);
  transform-origin: left center;
}

.island-map-marker:hover {
  color: var(--accent-dark);
  transform: translateY(-2px);
}

.marker-campbell { top: 37%; left: 59%; }
.marker-comox { top: 48%; left: 65%; }
.marker-tofino { top: 64%; left: 47%; }
.marker-parksville { top: 59%; left: 75%; }
.marker-nanoose { top: 61%; left: 77%; }
.marker-nanaimo { top: 64%; left: 82%; }
.marker-ladysmith { top: 69%; left: 84%; }
.marker-duncan { top: 76%; left: 86%; }
.marker-victoria { top: 84.5%; left: 87.5%; }

.island-map-controls {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 4;
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(48, 39, 34, 0.16);
}

.island-map-controls button {
  width: 38px;
  height: 38px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-size: 1.3rem;
  font-weight: 800;
  cursor: pointer;
}

.island-map-controls button:last-child {
  border-bottom: 0;
}

.island-map-controls button:hover:not(:disabled) {
  background: var(--evergreen-soft);
}

.island-map-controls button:disabled {
  opacity: 0.38;
  cursor: default;
}

.island-map-attribution {
  position: absolute;
  right: 8px;
  bottom: 7px;
  z-index: 2;
  border-radius: 3px;
  padding: 3px 6px;
  background: rgba(253, 252, 251, 0.9);
  font-size: 0.62rem;
  font-weight: 650;
}

.island-map-note {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: clamp(26px, 4vw, 46px);
}

.island-map-note h3 {
  margin: 0;
  font-size: clamp(1.8rem, 3.5vw, 3.5rem);
  line-height: 1;
}

.island-map-note p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.island-map-note .secondary-button {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  justify-self: start;
  margin-top: 8px;
  padding: 0 22px;
}

@media (max-width: 860px) {
  .home-island-callout {
    grid-template-columns: 1fr;
  }

  .home-island-callout .cta-actions {
    min-width: 0;
  }

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

  .island-lifestyle-grid,
  .island-map-layout {
    grid-template-columns: 1fr;
  }

  .island-map-canvas {
    min-height: 420px;
  }

  .island-area-card .cta-actions,
  .island-final-cta .cta-actions {
    display: grid;
  }
}

@media (max-width: 1180px) {
  .main-nav {
    position: fixed;
    top: 88px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 8px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
  }

  .main-nav[data-open="true"] {
    display: flex;
  }

  .main-nav a {
    padding: 13px 12px;
  }

  .main-nav .mobile-consultation {
    display: block;
    margin-top: 6px;
    border-radius: calc(var(--radius) - 2px);
    color: var(--white);
    background: var(--ink);
    text-align: center;
  }

  .nav-dropdown button {
    width: 100%;
    padding: 13px 12px;
    text-align: left;
  }

  .nav-menu {
    position: static;
    display: none;
    min-width: 0;
    margin: 0 0 8px;
    border: 0;
    padding: 4px 0 4px 12px;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-dropdown[data-open="true"] .nav-menu,
  .nav-dropdown:focus-within .nav-menu {
    display: grid;
    transform: none;
  }

  .nav-dropdown:hover .nav-menu {
    transform: none;
  }

  .nav-menu a {
    padding: 10px 12px;
    color: var(--muted);
  }

  .menu-button {
    display: block;
  }

  .header-contact {
    margin-left: auto;
  }

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

  .hero-location {
    grid-column: 1 / -1;
  }

  .hero-search .primary-button {
    grid-column: 1 / -1;
  }

  .search-shell,
  .split-section,
  .form-section,
  .tools-section,
  .map-search-panel,
  .owner-layout,
  .guide-feature,
  .seller-rule-card {
    grid-template-columns: 1fr;
  }

  .filters,
  .form-copy,
  .owner-listing-form {
    position: static;
  }

  .listing-grid,
  .popular-grid,
  .popular-visual-grid,
  .popular-info-grid,
  .guide-grid,
  .guide-photo-grid,
  .guide-image-split,
  .testimonial-grid,
  .neighbourhood-grid,
  .neighbourhood-hero-grid,
  .neighbourhood-story-grid,
  .neighbourhood-detail-grid,
  .neighbourhood-photo-grid,
  .neighbourhood-fit-card,
  .resource-link-grid,
  .authority-resource-grid,
  .about-elite-panel,
  .about-resource-logo-grid,
  .meet-elite-line,
  .team-member-grid,
  .feature-stat-grid,
  .seller-rule-flow,
  .checklist-grid,
  body:has(#sellers) .seller-marketing-section,
  .marketing-grid {
    grid-template-columns: 1fr;
  }

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

  body.neighbourhood-guide-tight .neighbourhood-hero-photo,
  body.neighbourhood-guide-tight .neighbourhood-story-grid article:first-child,
  body.neighbourhood-guide-tight .neighbourhood-photo-grid figure:first-child,
  body.neighbourhood-guide-tight .neighbourhood-fit-card aside {
    order: initial;
  }

  body.neighbourhood-guide-tight .neighbourhood-detail-grid article:first-child,
  body.neighbourhood-guide-tight .neighbourhood-detail-grid article:last-child {
    grid-column: auto;
    grid-row: auto;
  }

  .guide-cta-section {
    display: grid;
  }

  body:has(#buyers) .guide-feature-section,
  body:has(#sellers) .guide-feature-section {
    padding-top: 34px;
    padding-bottom: 34px;
  }

  body:has(#sellers) #sellers {
    padding-bottom: 34px;
  }

  body:has(#sellers) #sellers > .guide-image-split {
    margin-bottom: 34px;
  }

  .seller-feature {
    gap: 24px;
  }

  .seller-feature .feature-stat-grid article {
    min-height: auto;
  }

  .seller-rule-section {
    padding-top: 34px !important;
    padding-bottom: 34px !important;
  }

  .seller-rule-flow article {
    min-height: auto;
  }

  .seller-rule-flow article + article {
    border-top: 1px solid rgba(185, 170, 157, 0.2);
    border-left: 0;
  }

  body:has(#buyers) .guide-image-section:not(.compact),
  body:has(#sellers) .guide-image-section:not(.compact) {
    padding-top: 34px;
    padding-bottom: 34px;
  }

  body:has(#buyers) .buyers-closing-support .guide-image-copy {
    order: -1;
  }

  body:has(#buyers) .checklist-section,
  body:has(#sellers) .checklist-section {
    padding-top: 34px;
  }

  body:has(#buyers) .guide-cta-section,
  body:has(#sellers) .guide-cta-section {
    padding-top: 42px;
  }

  body:has(#buyers) .guide-cta-section .cta-actions,
  body:has(#sellers) .guide-cta-section .cta-actions {
    grid-template-columns: 1fr;
    justify-content: stretch;
  }

  body:has(#buyers) .guide-cta-section .cta-actions a,
  body:has(#sellers) .guide-cta-section .cta-actions a {
    width: 100%;
    white-space: normal;
  }

  .guide-photo-card,
  .guide-photo-card.large {
    min-height: 320px;
  }

  .cta-actions {
    justify-content: flex-start;
  }

  .brand-complete {
    width: min(430px, 52vw);
    max-height: 82px;
  }

  .hero-banner {
    margin-top: 0;
  }

  .about-section,
  .about-copy {
    grid-column: auto;
  }

  .guide-intro,
  .guide-grid.detailed,
  .sellers-grid {
    grid-template-columns: 1fr !important;
  }

  body:has(#buyers) .guide-grid.detailed.guide-roadmap,
  body:has(#buyers) .guide-cta-section {
    grid-template-columns: 1fr;
  }

  body:has(#sellers) .seller-cta-section {
    grid-template-columns: 1fr;
  }

  body:has(#sellers) .sellers-grid.guide-roadmap {
    grid-template-columns: 1fr !important;
  }

  .guide-grid.detailed.guide-roadmap article {
    min-height: auto;
  }

  .brand-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .team-note {
    grid-template-columns: 1fr;
  }

  .team-note img {
    max-width: 180px;
  }

  .team-feature {
    grid-template-columns: 1fr;
  }

  .home-connect-layout,
  .home-profile-panel {
    grid-template-columns: 1fr;
  }

  .home-profile-panel {
    grid-template-areas:
      "photo"
      "brand"
      "contact";
    gap: 28px;
  }

  .home-profile-photo {
    height: min(72vw, 460px);
    min-height: 360px;
  }

  .home-contact-feature {
    grid-template-columns: 1fr;
  }

  .home-contact-portrait {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .home-contact-grid {
    grid-template-columns: 1fr;
  }

  .home-contact-card:first-child {
    grid-row: auto;
  }

  .home-profile-logo {
    width: 100%;
    max-height: 220px;
  }

  .home-cb-logo {
    width: min(320px, 100%);
    max-height: 132px;
  }
}

@media (max-width: 640px) {
  .island-map-canvas {
    min-height: 360px;
  }

  .island-map-marker b {
    font-size: 0.6rem;
  }

  body:has(.island-index) .island-lifestyle-section {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  body:has(.island-index) .island-map-section {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  body:has(.island-index) .island-final-cta {
    padding-top: 28px;
  }

  body:has(#island-communities) #island-communities {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  body:has(#island-communities) .authority-resource-section {
    padding-top: 28px;
  }

  .site-header {
    min-height: 78px;
    padding: 0 14px;
    gap: 8px;
  }

  .brand-complete {
    width: min(220px, 48vw);
    max-height: 54px;
  }

  .header-contact {
    display: none;
  }

  .hero,
  section:not(.hero) {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero {
    padding-top: 86px;
  }

  main > section:first-child:not(.hero) {
    padding-top: 112px;
  }

  body:has(.home-links) .hero {
    padding-bottom: 20px;
  }

  section.home-links {
    padding-top: 20px;
  }

  section.home-neighbourhoods {
    padding-bottom: 20px;
  }

  section.home-island-search {
    padding-top: 20px;
  }

  .hero-banner img {
    height: clamp(210px, 62vw, 320px);
  }

  .hero-banner-copy {
    left: 18px;
    bottom: 74px;
    width: calc(100% - 36px);
  }

  .hero-content {
    width: 100%;
    margin-top: -22px;
  }

  h1 {
    font-size: 2.9rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  .hero-search,
  .lead-form,
  .filter-grid,
  .mortgage-grid,
  .card-actions,
  .cta-actions,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .owner-panel {
    padding: 18px;
  }

  .owner-panel-header,
  .owner-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .manual-listing-row {
    grid-template-columns: 1fr;
  }

  .manual-listing-row img {
    aspect-ratio: 16 / 9;
  }

  .cta-actions {
    display: grid;
  }

  .hero-location,
  .hero-search .primary-button {
    grid-column: auto;
  }

  .home-neighbourhood-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    display: grid;
  }

  .home-brokerage-card {
    grid-template-columns: 86px 1fr;
    gap: 14px;
  }

  .brokerage-headshot {
    width: 86px;
  }

  .brokerage-logo {
    max-height: 58px;
  }

  .home-connect-heading {
    text-align: left;
  }

  .home-social {
    justify-content: flex-start;
  }

  .guide-grid.detailed.guide-roadmap article {
    padding: 24px;
  }

  .guide-grid.detailed.guide-roadmap span {
    width: 50px;
    height: 50px;
    margin-bottom: 18px;
  }

  .home-profile-photo {
    height: min(82vw, 390px);
    min-height: 320px;
  }

  .home-contact-content {
    padding: 20px;
  }

  .home-contact-portrait {
    aspect-ratio: 1 / 1;
  }

  .home-contact-logo {
    max-height: 140px;
  }

  .home-contact-brand p {
    font-size: 1.08rem;
  }

  .home-contact-card {
    padding: 16px;
  }

  .home-contact-brokerage {
    max-height: 92px;
  }

  .home-profile-logo {
    max-height: 155px;
  }

  .home-cb-logo {
    max-height: 104px;
  }

  .home-profile-panel {
    padding: 18px;
  }

  .home-logo-field {
    padding: 0;
  }

  .home-footer-contact {
    gap: 14px;
  }

  .home-footer-contact h3 {
    margin-bottom: 10px;
  }

  .home-footer-social {
    gap: 14px;
  }

  .interior-parallax {
    min-height: 520px;
    background-attachment: scroll;
    background-position: center;
  }

  .parallax-copy {
    padding: 34px 18px;
  }

  .chat-widget {
    right: 14px;
    bottom: 14px;
  }

  .chat-toggle {
    min-height: 48px;
    padding: 0 16px;
    font-size: 0.92rem;
  }
}
