:root {
  --ink: #08110e;
  --green: #101c18;
  --green-soft: #dff4e5;
  --muted: #65706b;
  --paper: #f4f1ea;
  --surface: #ffffff;
  --line: #ded8cd;
  --gold: #18c943;
  --gold-deep: #009b6b;
  --clay: #009b6b;
  --white: #ffffff;
  --shadow: 0 26px 75px rgba(16, 39, 32, .13);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--surface); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.55; }
main, header, footer, section, article, form, nav, div { min-width: 0; }
h1, h2, h3, p, a, span { overflow-wrap: break-word; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, .button { cursor: pointer; }

.site-header { position: sticky; top: 0; z-index: 30; min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 11px clamp(18px, 5vw, 78px); background: rgba(255,253,248,.94); border-bottom: 1px solid rgba(16,39,32,.1); backdrop-filter: blur(18px); }
.brand img { width: auto; height: 45px; }
.main-nav { display: flex; align-items: center; gap: clamp(17px, 2.1vw, 32px); color: #3d504a; font-size: 14px; font-weight: 750; }
.main-nav > a:not(.nav-cta) { position: relative; padding: 12px 0; }
.main-nav > a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 6px; height: 2px; background: var(--clay); transition: right .2s ease; }
.main-nav > a:hover::after { right: 0; }
.nav-cta, .button, button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 13px 21px; color: white; background: var(--ink); border: 1px solid var(--ink); border-radius: 3px; font-weight: 850; }
.nav-cta { color: white !important; padding-inline: 24px; }
.button.secondary, button.secondary { color: var(--ink); background: var(--gold); border-color: var(--gold); }
.button.ghost { color: var(--ink); background: transparent; }
.nav-toggle { display: none; }

.site-breadcrumbs { padding: 13px clamp(18px, 5vw, 78px); background: var(--surface); border-bottom: 1px solid var(--line); }
.site-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
.site-breadcrumbs li { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 12px; font-weight: 750; }
.site-breadcrumbs li:not(:last-child)::after { content: "/"; color: #a5afa9; }
.site-breadcrumbs a { color: var(--clay); }
.site-breadcrumbs a:hover { text-decoration: underline; }
.site-breadcrumbs [aria-current="page"] { display: block; max-width: min(560px, 62vw); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.hero { min-height: calc(100vh - 78px); display: grid; grid-template-columns: 1.06fr .94fr; align-items: stretch; background: linear-gradient(112deg, var(--paper) 0%, var(--paper) 62%, #e4ebe7 62%); overflow: hidden; }
.hero-copy { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; padding: clamp(54px, 7vw, 108px) clamp(18px, 5vw, 78px); padding-right: clamp(24px, 4vw, 58px); }
.hero h1, .page-hero h1, .property-hero h1 { margin: 0; max-width: 850px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(56px, 7vw, 108px); line-height: .9; letter-spacing: -.045em; font-weight: 400; }
.hero h1 em { color: var(--clay); }
.hero-lead, .page-hero > p:not(.eyebrow) { max-width: 650px; margin: 24px 0 0; color: var(--muted); font-size: clamp(17px, 1.5vw, 20px); }
.eyebrow { margin: 0 0 15px; color: var(--clay); text-transform: uppercase; font-size: 11px !important; letter-spacing: .18em; font-weight: 900; }
.eyebrow.light { color: var(--gold); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-visual { position: relative; min-height: 650px; margin: 34px 34px 34px 0; overflow: hidden; background: var(--green-soft); box-shadow: var(--shadow); }
.hero-visual > a { display: block; height: 100%; }
.hero-visual img { width: 100%; height: 100%; min-height: 650px; object-fit: cover; }
.hero-visual::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(16,39,32,.38), transparent 56%); }
.market-card { position: absolute; z-index: 1; left: 24px; right: 24px; bottom: 24px; display: grid; gap: 3px; max-width: 360px; padding: 18px 20px; background: rgba(255,253,248,.96); box-shadow: 0 18px 45px rgba(0,0,0,.16); }
.market-card span { color: var(--clay); text-transform: uppercase; font-size: 10px; letter-spacing: .14em; font-weight: 900; }
.market-card strong { color: var(--ink); font-family: Georgia, serif; font-size: 20px; line-height: 1.15; }
.market-card b { color: var(--green); font-size: 14px; }

.home-search { position: relative; z-index: 2; padding: 34px clamp(18px, 5vw, 78px) 42px; background: var(--paper); border-top: 1px solid var(--line); }
.home-search-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 20px; }
.home-search-heading h2 { margin: 0; font-size: clamp(32px, 3.5vw, 48px); }
.home-search-heading > p { max-width: 470px; margin: 0; color: var(--muted); }
.home-search .search-panel { width: 100%; margin-top: 0; }

.search-panel { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr .7fr auto; align-items: end; gap: 1px; width: min(1100px, calc(100vw - 36px)); margin-top: 34px; padding: 8px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 18px 60px rgba(16,39,32,.12); }
.search-panel label { padding: 2px 10px; border-right: 1px solid var(--line); }
label { display: grid; gap: 6px; color: var(--muted); font-size: 12px; font-weight: 800; }
input, select, textarea { width: 100%; min-height: 46px; padding: 11px 12px; color: var(--ink); background: white; border: 1px solid var(--line); border-radius: 3px; }
.search-panel input, .search-panel select { padding: 4px 0; border: 0; outline: 0; font-size: 13px; }
textarea { min-height: 120px; resize: vertical; }

.trust-strip { display: grid; grid-template-columns: repeat(3, 1fr); padding: 0 clamp(18px, 5vw, 78px); color: white; background: var(--ink); }
.trust-strip div { display: flex; align-items: center; gap: 16px; min-height: 100px; padding: 22px clamp(14px, 2.2vw, 34px); border-right: 1px solid rgba(255,255,255,.16); }
.trust-strip div:last-child { border-right: 0; }
.trust-strip strong { color: var(--gold); font-family: Georgia, serif; font-size: 25px; font-weight: 400; }
.trust-strip span { color: rgba(255,255,255,.78); font-size: 14px; font-weight: 700; }

.section { padding: clamp(68px, 8vw, 120px) clamp(18px, 5vw, 78px); }
.section-head, .results-bar { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 42px; }
.section-intro { max-width: 520px; color: var(--muted); font-size: 18px; }
h2 { margin: 0 0 18px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(40px, 5vw, 72px); line-height: .96; letter-spacing: -.035em; font-weight: 400; }
h3 { margin: 0; font-size: 20px; line-height: 1.25; }
.text-link { padding-bottom: 6px; color: var(--ink); border-bottom: 2px solid var(--clay); font-size: 14px; font-weight: 900; }

.featured-section { background: var(--surface); }
.listing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.2vw, 30px); }
.listing-card { min-width: 0; overflow: hidden; background: white; border: 1px solid var(--line); transition: transform .25s ease, box-shadow .25s ease; }
.listing-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.listing-media { position: relative; display: block; aspect-ratio: 1.32; overflow: hidden; background: #e6e0d5; }
.listing-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.listing-card:hover .listing-media img { transform: scale(1.04); }
.listing-media > span { position: absolute; top: 14px; left: 14px; padding: 7px 10px; color: var(--ink); background: var(--gold); text-transform: uppercase; font-size: 10px; letter-spacing: .12em; font-weight: 900; }
.listing-media > .status-sold { color: white; background: var(--ink); }
.listing-media > .status-under-offer { color: var(--ink); background: #f4c95d; }
.listing-media > .status-on-show { color: white; background: var(--gold-deep); }
.listing-body { padding: 21px; }
.listing-body .eyebrow { margin-bottom: 10px; }
.price { margin: 14px 0; color: var(--green); font-family: Georgia, serif; font-size: 25px; font-weight: 700; }
.price.big { font-size: clamp(34px, 4vw, 52px); }
.specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 17px 0 0; padding-top: 15px; border-top: 1px solid var(--line); }
.specs.large { grid-template-columns: repeat(4, 1fr); max-width: 700px; }
.specs div { padding-right: 8px; border-right: 1px solid var(--line); }
.specs div:last-child { border-right: 0; }
dt { color: var(--muted); text-transform: uppercase; font-size: 10px; letter-spacing: .08em; font-weight: 900; }
dd { margin: 3px 0 0; color: var(--ink); font-size: 16px; font-weight: 900; }
.card-link { display: inline-block; margin-top: 18px; color: var(--clay); text-transform: uppercase; font-size: 11px; letter-spacing: .08em; font-weight: 900; }
.listing-card-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; }
.listing-card-actions .card-link { margin-top: 0; }
.property-share-link { min-height: 36px; padding: 7px 9px; color: var(--ink); background: transparent; border: 1px solid var(--line); font-size: 11px; }
.property-share-link:hover { border-color: var(--clay); }

.journey-section { color: white; background: var(--green); }
.journey-intro { max-width: 900px; margin-bottom: 54px; }
.journey-intro h2 { color: white; }
.journey-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.22); border-bottom: 1px solid rgba(255,255,255,.22); }
.journey-grid.selling-grid { grid-template-columns: repeat(4, 1fr); }
.journey-grid a, .journey-grid article { display: grid; align-content: start; min-height: 280px; padding: 30px; border-right: 1px solid rgba(255,255,255,.22); transition: background .2s ease; }
.journey-grid a:last-child, .journey-grid article:last-child { border-right: 0; }
.journey-grid a:hover { background: rgba(255,255,255,.07); }
.journey-grid span { color: var(--gold); font-family: Georgia, serif; font-size: 26px; }
.journey-grid h3 { margin-top: 42px; color: white; font-family: Georgia, serif; font-size: 32px; font-weight: 400; }
.journey-grid p { color: rgba(255,255,255,.68); }
.journey-grid b { align-self: end; margin-top: auto; color: var(--gold); text-transform: uppercase; font-size: 11px; letter-spacing: .1em; }

.area-section { background: var(--paper); }
.area-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.area-grid a { min-height: 220px; display: flex; flex-direction: column; padding: 27px; background: rgba(255,255,255,.38); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .2s ease; }
.area-grid a:hover { background: var(--surface); }
.area-grid span { color: var(--ink); font-family: Georgia, serif; font-size: 29px; }
.area-grid p { color: var(--muted); font-size: 14px; }
.area-grid b { margin-top: auto; color: var(--clay); text-transform: uppercase; font-size: 10px; letter-spacing: .09em; }
.area-strip { background: var(--paper); }
.area-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.area-links a { padding: 11px 14px; background: white; border: 1px solid var(--line); font-weight: 850; }

.agents-preview { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(38px, 8vw, 120px); align-items: center; }
.agents-copy > p:not(.eyebrow) { max-width: 620px; color: var(--muted); font-size: 18px; }
.agents-copy .button { margin-top: 16px; }
.agent-stack, .agent-grid { display: grid; gap: 14px; }
.agent-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.agent-stack article, .agent-card { display: flex; align-items: center; gap: 16px; padding: 18px; background: var(--paper); border: 1px solid var(--line); }
.agent-stack article div:last-child { display: grid; gap: 3px; }
.agent-stack span, .agent-card p { color: var(--muted); }
.avatar { flex: 0 0 auto; display: grid; place-items: center; width: 58px; height: 58px; overflow: hidden; border-radius: 50%; color: var(--gold); background: var(--ink); font-weight: 900; }
.avatar.photo { width: 92px; height: 92px; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.agent-card { display: grid; align-items: start; padding: 25px; border-top: 4px solid var(--green); }
.agent-card h2 { font-size: 34px; }
.agent-card .agent-title { margin: -8px 0 0; color: var(--clay); font-size: 13px; font-weight: 900; }
.agent-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.agent-actions a, .agent-actions button, .pagination a { min-height: 40px; padding: 9px 12px; color: var(--ink); background: white; border: 1px solid var(--line); border-radius: 3px; font-size: 13px; font-weight: 850; }
.agent-actions .agent-enquiry-trigger { color: white; background: var(--ink); border-color: var(--ink); }
.agent-actions .profile-link { border-color: var(--clay); }

.modal[hidden] { display: none; }
.modal { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 18px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(3, 12, 9, .72); backdrop-filter: blur(5px); }
.modal-panel { position: relative; z-index: 1; width: min(650px, 100%); max-height: calc(100vh - 36px); overflow-y: auto; padding: clamp(25px, 4vw, 46px); background: var(--surface); box-shadow: 0 30px 100px rgba(0,0,0,.35); }
.modal-panel h2 { padding-right: 36px; font-size: clamp(38px, 5vw, 58px); }
.modal-intro { margin: -5px 0 22px; color: var(--muted); }
.modal-close { position: absolute; top: 14px; right: 14px; width: 42px; min-height: 42px; padding: 0; color: var(--ink); background: transparent; border: 1px solid var(--line); font-size: 28px; line-height: 1; }
.agent-modal-form { padding: 0; box-shadow: none; }
.modal-open { overflow: hidden; }

.agent-profile-hero { grid-template-columns: minmax(220px, .55fr) 1.45fr; }
.agent-profile-hero .agent-profile-photo { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 50%; box-shadow: var(--shadow); }
.agent-profile-details { display: grid; gap: 24px; }
.agent-profile-details .agent-actions { margin-top: 4px; }
.agent-listings-section { background: var(--paper); }

.faq-section { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(40px, 8vw, 120px); background: #efe8dc; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 23px 42px 23px 0; list-style: none; color: var(--ink); font-size: 18px; font-weight: 850; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 20px; color: var(--clay); font-family: Georgia, serif; font-size: 28px; font-weight: 400; }
.faq-list details[open] summary::after { content: "-"; }
.faq-list details p { max-width: 760px; margin: -4px 0 22px; color: var(--muted); }

.contact-section { display: grid; grid-template-columns: .88fr 1.12fr; gap: clamp(44px, 8vw, 120px); color: white; background: var(--ink); }
.contact-section h2 { color: white; }
.contact-copy > p:not(.eyebrow) { max-width: 620px; color: rgba(255,255,255,.7); font-size: 18px; }
.contact-form { display: grid; gap: 14px; padding: clamp(22px, 3vw, 38px); color: var(--ink); background: var(--surface); box-shadow: 0 24px 70px rgba(0,0,0,.2); }
.form-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form button { justify-self: start; }
.check { grid-template-columns: auto 1fr; align-items: start; }
.check input { width: 18px; min-height: 18px; margin-top: 2px; }
.form-status { min-height: 22px; margin: 0; color: var(--green); font-weight: 800; }

.page-hero { min-height: 470px; display: grid; align-content: center; padding: clamp(60px, 8vw, 118px) clamp(18px, 5vw, 78px); background: linear-gradient(125deg, var(--paper), var(--green-soft)); }
.page-hero.compact h1 { max-width: 1050px; font-size: clamp(48px, 7vw, 90px); }
.page-hero .search-panel { margin-top: 36px; }
.property-hero { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 5vw, 72px); align-items: center; padding: clamp(50px, 7vw, 98px) clamp(18px, 5vw, 78px); background: var(--paper); }
.property-hero h1 { font-size: clamp(44px, 6vw, 82px); }
.property-hero > img { width: 100%; aspect-ratio: 1.25; object-fit: cover; box-shadow: var(--shadow); }
.property-share-actions, .property-media-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0; }
.show-house-notice { display: flex; flex-wrap: wrap; gap: 8px 16px; width: fit-content; margin: 0 0 20px; padding: 12px 15px; color: white; background: var(--gold-deep); border-radius: 3px; }
.show-house-notice strong { text-transform: uppercase; letter-spacing: .08em; }
.gallery-preview { position: relative; display: block; width: 100%; height: clamp(360px, 38vw, 560px); min-height: 0; padding: 0; overflow: hidden; background: var(--green-soft); border: 0; box-shadow: var(--shadow); }
.gallery-preview::after { content: ""; position: absolute; inset: 55% 0 0; pointer-events: none; background: linear-gradient(to top, rgba(8,17,14,.38), transparent); }
.gallery-preview img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery-preview:hover img { transform: scale(1.015); }
.gallery-preview span { position: absolute; z-index: 1; right: 16px; bottom: 16px; padding: 10px 14px; color: var(--ink); background: var(--gold); border: 1px solid rgba(8,17,14,.14); font-size: 12px; font-weight: 900; }
.gallery-modal[hidden] { display: none; }
.gallery-modal { position: fixed; z-index: 110; inset: 0; display: grid; place-items: center; padding: 16px; }
.gallery-backdrop { position: absolute; inset: 0; background: rgba(2,8,6,.94); backdrop-filter: blur(7px); }
.gallery-dialog { position: relative; z-index: 1; display: grid; grid-template-rows: auto minmax(0, 1fr); width: min(1440px, 100%); height: calc(100dvh - 32px); padding: 14px; color: white; background: #07100d; }
.gallery-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 48px; padding: 0 4px 10px 10px; }
.gallery-heading strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gallery-close { width: 42px; min-height: 42px; padding: 0; color: white; background: transparent; border-color: rgba(255,255,255,.35); font-size: 28px; line-height: 1; }
.property-carousel { display: grid; grid-template-rows: minmax(0, 1fr) auto; min-width: 0; min-height: 0; outline: none; }
.property-carousel:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.carousel-stage { position: relative; min-height: 0; overflow: hidden; background: #020705; }
.carousel-stage img { width: 100%; height: 100%; object-fit: contain; }
.carousel-stage img[hidden] { display: none; }
.carousel-control { position: absolute; top: 50%; width: 48px; min-height: 48px; padding: 0; transform: translateY(-50%); color: white; background: rgba(8,17,14,.78); border-color: rgba(255,255,255,.35); border-radius: 50%; font-size: 34px; line-height: 1; }
.carousel-control.previous { left: 14px; }
.carousel-control.next { right: 14px; }
.carousel-counter { position: absolute; right: 14px; bottom: 14px; padding: 7px 10px; color: white; background: rgba(8,17,14,.8); font-size: 12px; font-weight: 800; }
.carousel-thumbnails { display: flex; gap: 8px; margin-top: 10px; padding: 2px 2px 4px; overflow-x: auto; scroll-snap-type: x proximity; }
.carousel-thumbnails button { flex: 0 0 82px; min-height: 60px; padding: 2px; overflow: hidden; background: white; border: 2px solid transparent; border-radius: 0; scroll-snap-align: center; }
.carousel-thumbnails button[aria-current="true"] { border-color: var(--clay); }
.carousel-thumbnails img { width: 100%; height: 54px; object-fit: cover; }
.property-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(310px, 420px); gap: clamp(34px, 6vw, 90px); align-items: start; }
.property-copy, .editorial { color: #40534d; font-size: 18px; }
.property-copy h2, .editorial h2 { margin-top: 44px; font-size: 44px; }
.property-copy h2:first-child, .editorial h2:first-child { margin-top: 0; }
.feature-list { display: flex; flex-wrap: wrap; gap: 9px; padding: 0; list-style: none; }
.feature-list li { padding: 10px 13px; color: var(--ink); background: var(--green-soft); font-size: 13px; font-weight: 800; }
.property-details-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; padding: 1px; background: var(--line); }
.property-details-grid div { min-width: 0; padding: 16px; background: white; }
.property-details-grid dd { overflow-wrap: anywhere; }
.property-agents { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.property-agents a { display: grid; gap: 3px; padding: 16px; color: var(--ink); background: var(--paper); border-left: 3px solid var(--clay); }
.property-agents span { color: var(--muted); font-size: 13px; }
.enquiry-panel { position: sticky; top: 98px; display: grid; gap: 18px; padding: 24px; background: white; border: 1px solid var(--line); box-shadow: var(--shadow); }
.enquiry-panel h2 { font-size: 38px; }
.enquiry-panel form { display: grid; gap: 12px; }
.viewing-form { margin-top: 6px; padding-top: 20px; border-top: 1px solid var(--line); }
.editorial { max-width: 960px; }
.results-bar { margin-bottom: 24px; }
.empty-state { grid-column: 1 / -1; padding: 32px; background: var(--paper); border: 1px dashed #bdae9b; }
.pagination { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 30px; }
.pagination a.active { color: white; background: var(--ink); }

.site-footer { color: white; background: #091c17; }
.footer-cta { display: flex; align-items: end; justify-content: space-between; gap: 34px; padding: clamp(56px, 7vw, 100px) clamp(18px, 5vw, 78px); border-bottom: 1px solid rgba(255,255,255,.15); }
.footer-cta h2 { max-width: 850px; margin-bottom: 0; color: white; }
.footer-actions { display: flex; flex-wrap: wrap; gap: 10px; flex: 0 0 auto; }
.footer-button { color: white; background: transparent; border-color: rgba(255,255,255,.38); }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: clamp(30px, 5vw, 78px); padding: 58px clamp(18px, 5vw, 78px); }
.footer-main > div, .footer-main nav { display: grid; gap: 10px; align-content: start; }
.footer-brand img { width: 220px; padding: 7px; background: var(--surface); }
.footer-brand p { max-width: 360px; }
.footer-main strong { margin-bottom: 8px; color: var(--gold); text-transform: uppercase; font-size: 10px; letter-spacing: .14em; }
.footer-main p, .footer-main a { color: rgba(255,255,255,.68); font-size: 14px; }
.footer-main a:hover { color: white; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px clamp(18px, 5vw, 78px); color: rgba(255,255,255,.48); border-top: 1px solid rgba(255,255,255,.12); font-size: 12px; }
.footer-bottom div { display: flex; gap: 20px; }
.footer-bottom .powered-by { color: rgba(255,255,255,.7); }
.footer-bottom .powered-by strong { color: var(--gold); }

@media (max-width: 1040px) {
  .hero, .property-hero, .agent-profile-hero, .property-layout, .agents-preview, .faq-section, .contact-section { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { min-height: 500px; margin: 0 22px 34px; }
  .hero-visual img { min-height: 500px; }
  .hero-copy { padding-bottom: 40px; }
  .search-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .search-panel button { grid-column: 1 / -1; }
  .listing-grid, .agent-grid, .area-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-main { grid-template-columns: repeat(2, 1fr); }
  .enquiry-panel { position: static; }
}

@media (max-width: 740px) {
  input:not([type="checkbox"]):not([type="radio"]), select, textarea,
  .search-panel input, .search-panel select { font-size: 16px; }
  .site-header { min-height: 70px; padding-block: 8px; }
  .brand img { height: 40px; }
  .nav-toggle { display: inline-flex; min-height: 42px; padding: 10px 14px; }
  .main-nav { display: none; position: absolute; left: 14px; right: 14px; top: 70px; padding: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
  .main-nav.open { display: grid; }
  .site-breadcrumbs { padding-block: 10px; }
  .site-breadcrumbs [aria-current="page"] { max-width: 52vw; }
  .hero { min-height: auto; background: var(--paper); }
  .hero-copy { padding-top: 48px; }
  .hero h1 { font-size: clamp(47px, 14vw, 68px); }
  .page-hero { min-height: 360px; }
  .page-hero.compact h1, .property-hero h1 { font-size: clamp(42px, 12vw, 61px); }
  .hero-actions .button { flex: 1 1 150px; }
  .hero-visual { min-height: 350px; margin: 0 14px 20px; }
  .hero-visual img { min-height: 350px; }
  .market-card { left: 14px; right: 14px; bottom: 14px; }
  .search-panel, .listing-grid, .agent-grid, .area-grid, .trust-strip, .journey-grid, .journey-grid.selling-grid, .footer-main { grid-template-columns: minmax(0, 1fr); }
  .search-panel label { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-strip div { min-height: 72px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.16); }
  .journey-intro { margin-bottom: 34px; }
  .journey-grid a, .journey-grid article { min-height: 0; padding: 25px 20px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.2); }
  .journey-grid a:last-child, .journey-grid article:last-child { border-bottom: 0; }
  .journey-grid h3 { margin-top: 22px; font-size: 28px; }
  .journey-grid b { margin-top: 20px; }
  .section-head, .results-bar, .home-search-heading, .footer-cta, .footer-bottom { align-items: start; flex-direction: column; }
  .form-pair { grid-template-columns: 1fr; }
  .specs.large { grid-template-columns: repeat(2, 1fr); }
  .agent-card { padding: 20px; }
  .agent-card h2 { font-size: 30px; }
  .agent-actions { display: grid; grid-template-columns: 1fr; }
  .agent-actions a, .agent-actions button { width: 100%; text-align: center; }
  .agent-profile-hero .agent-profile-photo { width: min(260px, 75vw); margin-inline: auto; }
  .modal { padding: 0; align-items: end; }
  .modal-panel { width: 100%; max-height: calc(100dvh - 12px); padding: 28px 18px 20px; }
  .modal-panel h2 { font-size: 38px; }
  .contact-form { padding: 20px 16px; }
  .enquiry-panel { padding: 18px 14px; }
  .listing-card-actions { align-items: stretch; flex-direction: column; }
  .listing-card-actions .property-share-link { width: 100%; }
  .property-share-actions .button { width: 100%; }
  .property-details-grid, .property-agents { grid-template-columns: 1fr; }
  .carousel-control { width: 42px; min-height: 42px; }
  .carousel-thumbnails button { flex-basis: 70px; }
  .gallery-modal { padding: 0; }
  .gallery-dialog { width: 100%; height: 100dvh; padding: 8px; }
  .gallery-heading { padding-left: 6px; }
  .gallery-preview { height: 280px; }
  .gallery-preview span { right: 10px; bottom: 10px; }
  .footer-main { padding-block: 42px; }
  .footer-brand img { width: min(220px, 100%); }
  .footer-actions .button { width: 100%; }
}

@media (max-width: 380px) {
  .section, .property-hero, .page-hero { padding-left: 14px; padding-right: 14px; }
  .hero-copy { padding-left: 14px; padding-right: 14px; }
  .specs, .specs.large { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom div { flex-direction: column; gap: 8px; }
  .gallery-preview { height: 245px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
