:root {
  --sand: #f6f2ea;
  --paper: #fffdf8;
  --ink: #13222c;
  --ink-soft: #52636d;
  --terracotta: #c8553d;
  --terracotta-dark: #a83f2e;
  --blue: #0f5274;
  --blue-light: #9fc3d7;
  --rule: rgba(19, 34, 44, 0.2);
  --rule-strong: rgba(19, 34, 44, 0.38);
  --on-dark: #f6f2ea;
  --on-dark-soft: #b9cfdb;
  --font-display: "DM Serif Display", Georgia, "Times New Roman", serif;
  --font-ui: "Manrope", "Segoe UI", Arial, sans-serif;
  --shell: 1440px;
  --gutter: clamp(1.25rem, 4vw, 4.5rem);
  --section-space: clamp(5rem, 9vw, 9rem);
  --transition: 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--sand);
  font-family: var(--font-ui);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.dialog-open {
  overflow: hidden;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
}

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

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1;
}

h2 {
  font-size: clamp(2.65rem, 5vw, 5.25rem);
}

h3 {
  font-size: clamp(1.75rem, 2.7vw, 3rem);
}

::selection {
  color: var(--paper);
  background: var(--terracotta);
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.shell {
  width: min(var(--shell), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-180%);
  transition: transform var(--transition);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--rule);
  background: var(--sand);
}

.header-inner {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto auto;
  align-items: center;
  gap: clamp(1.5rem, 3.5vw, 4.5rem);
  min-height: 6.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  width: fit-content;
  color: var(--ink);
  font-size: 0.93rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  line-height: 1.25;
}

.brand img {
  width: 4.25rem;
  height: 4.25rem;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3.5rem);
  height: 100%;
}

.desktop-nav a {
  position: relative;
  display: grid;
  place-items: center;
  height: 100%;
  font-size: 0.95rem;
  font-weight: 500;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 1.65rem;
  left: 0;
  height: 2px;
  background: var(--terracotta);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after,
.desktop-nav a.is-active::after {
  transform: scaleX(1);
}

.button {
  display: inline-flex;
  min-height: 3.85rem;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.9rem 1.6rem;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  transition:
    color var(--transition),
    background-color var(--transition),
    border-color var(--transition),
    transform var(--transition);
}

.button svg,
.icon-button svg,
.share-button svg,
.source-link svg,
.direct-contact svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button svg:last-child,
.source-link svg {
  transition: transform var(--transition);
}

.button:hover svg:last-child,
.source-link:hover svg {
  transform: translateX(0.3rem);
}

.button-primary {
  color: var(--paper);
  background: var(--terracotta);
}

.button-primary:hover {
  background: var(--terracotta-dark);
}

.button-outline {
  border-color: var(--blue);
  color: var(--blue);
  background: transparent;
}

.button-outline:hover {
  color: var(--paper);
  background: var(--blue);
}

.header-cta {
  min-width: 10.5rem;
}

.icon-button {
  display: inline-grid;
  width: 3.85rem;
  height: 3.85rem;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--rule-strong);
  border-radius: 2px;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  transition:
    color var(--transition),
    background-color var(--transition),
    border-color var(--transition);
}

.icon-button:hover {
  border-color: var(--ink);
  color: var(--paper);
  background: var(--ink);
}

.nav-toggle,
.mobile-nav {
  display: none;
}

.hero {
  display: grid;
  min-height: min(48rem, calc(100svh - 6.25rem));
  grid-template-columns: minmax(23rem, 0.87fr) minmax(36rem, 1.35fr);
  margin-inline: auto;
  max-width: 1680px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(3rem, 7vw, 7rem) clamp(2rem, 4vw, 5rem);
  padding-left: max(var(--gutter), calc((100vw - var(--shell)) / 2));
}

.hero-copy h1 {
  max-width: 12ch;
  margin-bottom: 2rem;
  font-size: clamp(4.75rem, 5.2vw, 5.6rem);
  line-height: 0.94;
}

.hero-copy p {
  max-width: 31rem;
  margin-bottom: 2.3rem;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.35vw, 1.3rem);
  line-height: 1.6;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero-media {
  position: relative;
  min-height: 38rem;
  margin: 0;
  overflow: hidden;
}

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

.hero-media figcaption {
  position: absolute;
  right: 0;
  bottom: 2.5rem;
  display: grid;
  grid-template-columns: 1fr auto;
  min-width: min(24rem, calc(100% - 2rem));
  padding: 1rem 0 1rem 1.5rem;
  border: 1px solid var(--rule);
  color: var(--ink);
  background: var(--paper);
}

.hero-media figcaption span,
.hero-media figcaption strong {
  grid-column: 1;
}

.hero-media figcaption span {
  font-size: 0.93rem;
}

.hero-media figcaption strong {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 400;
}

.hero-media figcaption button {
  display: grid;
  grid-row: 1 / 3;
  grid-column: 2;
  width: 4.75rem;
  place-items: center;
  margin-left: 1.5rem;
  border-left: 1px solid var(--rule);
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}

.hero-media figcaption button svg {
  width: 1.75rem;
  height: 1.75rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform var(--transition);
}

.hero-media figcaption button:hover svg {
  transform: translateX(0.35rem);
}

.location-intro {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 6vw, 7rem);
  align-items: end;
  padding-top: clamp(2.5rem, 4vw, 4rem);
  padding-bottom: clamp(4rem, 8vw, 8rem);
  border-bottom: 1px solid var(--rule);
}

.section-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.15rem;
  color: var(--blue);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.section-label::after {
  width: min(10rem, 30vw);
  height: 1px;
  background: currentColor;
  content: "";
  opacity: 0.5;
}

.location-intro h2 {
  max-width: 14ch;
  margin-bottom: 0;
  font-size: clamp(2.9rem, 4.6vw, 5rem);
}

.location-intro > p {
  max-width: 31rem;
  margin-bottom: 0.5rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--rule);
  color: var(--ink-soft);
  font-size: 1.1rem;
}

.properties-section {
  padding-block: var(--section-space);
}

.section-heading {
  margin-bottom: clamp(3rem, 5vw, 5.5rem);
}

.section-heading h2 {
  max-width: 18ch;
  margin-bottom: 1rem;
}

.section-heading p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 1.12rem;
}

.property-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.24fr) minmax(22rem, 0.76fr);
  gap: clamp(2.25rem, 5vw, 6rem);
  align-items: center;
  margin-bottom: clamp(4rem, 7vw, 7rem);
}

.property-image {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #ddd9d0;
  cursor: pointer;
}

.property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.property-image:hover img,
.property-image:focus-visible img {
  transform: scale(1.025);
}

.property-image-feature {
  aspect-ratio: 4 / 3;
}

.property-copy {
  min-width: 0;
}

.property-type {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.property-type::after {
  height: 1px;
  flex: 1;
  background: var(--rule);
  content: "";
}

.property-copy h3 {
  margin-bottom: 0.5rem;
}

.property-price {
  margin-bottom: 1.5rem;
  color: var(--terracotta);
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  line-height: 1;
}

.property-facts,
.dialog-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 0;
  margin: 0 0 2rem;
  padding: 1.3rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  list-style: none;
}

.property-facts li,
.dialog-facts li {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0 1.1rem;
  border-right: 1px solid var(--rule);
  color: var(--ink-soft);
  font-size: 0.87rem;
  white-space: nowrap;
}

.property-facts li:first-child,
.dialog-facts li:first-child {
  padding-left: 0;
}

.property-facts li:last-child,
.dialog-facts li:last-child {
  border-right: 0;
}

.property-facts svg,
.dialog-facts svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.property-actions {
  display: flex;
  align-items: stretch;
  gap: 0.75rem;
}

.property-actions .button {
  flex: 1;
}

.property-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 4.5rem);
  margin-bottom: clamp(4rem, 7vw, 7rem);
}

.property-standard:nth-child(2) {
  padding-left: clamp(0rem, 1vw, 1.5rem);
  border-left: 1px solid var(--rule);
}

.property-standard .property-image {
  aspect-ratio: 16 / 10;
  margin-bottom: 1.65rem;
}

.property-standard .property-copy h3 {
  font-size: clamp(2rem, 3vw, 3rem);
}

.property-standard .property-price {
  font-size: clamp(1.85rem, 2.8vw, 2.8rem);
}

.property-land {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(21rem, 0.9fr);
  gap: clamp(2.25rem, 5vw, 6rem);
  align-items: center;
  padding-block: clamp(2.5rem, 4vw, 4rem);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.property-land .property-image {
  aspect-ratio: 16 / 7;
}

.property-land .property-image img {
  object-position: center 44%;
}

.property-land h3 {
  font-size: clamp(2rem, 3.2vw, 3.4rem);
}

.section-action {
  display: flex;
  justify-content: center;
  margin-top: 3.5rem;
}

.advisor-section {
  padding-block: var(--section-space);
  border-top: 1px solid var(--rule);
}

.advisor-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(25rem, 0.88fr);
  gap: clamp(3rem, 6vw, 7rem);
  align-items: center;
}

.advisor-media,
.advisor-copy {
  min-width: 0;
}

.advisor-media {
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
}

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

.advisor-logo {
  width: 5.25rem;
  height: 5.25rem;
  margin-bottom: 1.5rem;
  object-fit: contain;
}

.advisor-copy h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(2.9rem, 4.7vw, 5.15rem);
}

.advisor-copy > p:not(.credential) {
  max-width: 43rem;
  margin-bottom: 2rem;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem 2rem;
  margin: 0 0 2.5rem;
  padding: 0;
  list-style: none;
}

.service-list li {
  padding-left: 1rem;
  border-left: 2px solid var(--terracotta);
  font-weight: 600;
}

.credential {
  margin: 1.5rem 0 0;
  color: var(--ink-soft);
  font-size: 0.89rem;
}

.process-section {
  padding-block: clamp(4.5rem, 7vw, 7rem) var(--section-space);
  border-top: 1px solid var(--rule);
}

.process-heading {
  display: grid;
  grid-template-columns: 1.45fr 0.55fr;
  gap: 3rem;
  align-items: end;
  margin-bottom: 4rem;
}

.process-heading h2 {
  max-width: 19ch;
  margin-bottom: 0;
  font-size: clamp(2.8rem, 4.5vw, 4.8rem);
}

.process-heading > p {
  margin-bottom: 0.5rem;
  color: var(--ink-soft);
  font-size: 1.04rem;
}

.process-rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 4rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-rail::before {
  position: absolute;
  top: 1.45rem;
  right: 2.5rem;
  left: 2.5rem;
  z-index: 0;
  height: 1px;
  background: var(--rule-strong);
  content: "";
}

.process-rail li {
  position: relative;
  z-index: 1;
}

.process-rail li > span {
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  margin-bottom: 1.5rem;
  border: 1px solid var(--blue);
  border-radius: 50%;
  color: var(--blue);
  background: var(--sand);
  font-size: 0.84rem;
  font-weight: 700;
}

.process-rail li:first-child > span {
  border-color: var(--terracotta);
  color: var(--paper);
  background: var(--terracotta);
}

.process-rail h3 {
  margin-bottom: 0.7rem;
  font-size: 1.55rem;
}

.process-rail p {
  max-width: 17rem;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.55;
}

.contact-section {
  padding-top: var(--section-space);
  color: var(--on-dark);
  background: var(--ink);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(21rem, 0.9fr) minmax(29rem, 1.1fr);
  gap: clamp(3rem, 7vw, 8rem);
  align-items: start;
  padding-bottom: clamp(4rem, 7vw, 7rem);
}

.contact-copy > img {
  width: 6.25rem;
  height: 6.25rem;
  margin-bottom: 1.5rem;
  object-fit: contain;
}

.contact-copy h2 {
  max-width: 10ch;
  margin-bottom: 1.5rem;
  font-size: clamp(3.3rem, 5.3vw, 6rem);
  line-height: 0.96;
}

.contact-copy > p {
  max-width: 34rem;
  margin-bottom: 2rem;
  color: var(--on-dark-soft);
  font-size: 1.12rem;
}

.direct-contact {
  padding-top: 1.6rem;
  border-top: 1px solid rgba(159, 195, 215, 0.65);
}

.direct-contact h3 {
  margin-bottom: 1rem;
  font-size: 1.75rem;
}

.direct-contact a {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.9rem;
  color: var(--on-dark-soft);
  font-size: 1rem;
  transition: color var(--transition);
}

.direct-contact a:first-of-type {
  color: var(--on-dark);
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.7vw, 2.8rem);
}

.direct-contact a:hover {
  color: var(--paper);
}

.contact-form {
  display: grid;
  gap: 1.3rem;
  padding-top: 5rem;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.contact-form label {
  display: grid;
  gap: 0.55rem;
}

.contact-form label > span:first-child {
  color: var(--on-dark);
  font-size: 0.86rem;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(246, 242, 234, 0.65);
  border-radius: 2px;
  color: var(--on-dark);
  background: transparent;
  outline: none;
  transition: border-color var(--transition), background-color var(--transition);
}

.contact-form input,
.contact-form select {
  height: 3.8rem;
  padding: 0 1rem;
}

.contact-form textarea {
  min-height: 8rem;
  padding: 1rem;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #83a6b9;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--paper);
  background: rgba(255, 255, 255, 0.035);
}

.select-wrap {
  position: relative;
  display: block;
}

.select-wrap select {
  appearance: none;
  padding-right: 3rem;
}

.select-wrap option {
  color: var(--ink);
  background: var(--paper);
}

.select-wrap > svg {
  position: absolute;
  top: 50%;
  right: 1rem;
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  pointer-events: none;
  transform: translateY(-50%);
}

.contact-submit {
  width: 100%;
  justify-content: space-between;
  font-size: 1.05rem;
}

.form-note {
  margin-bottom: 0;
  color: #83a6b9;
  font-size: 0.8rem;
}

.share-rail {
  display: grid;
  grid-template-columns: minmax(20rem, 0.75fr) minmax(35rem, 1.25fr);
  gap: 2.5rem;
  align-items: center;
  padding-block: 2.7rem;
  border-top: 1px solid rgba(159, 195, 215, 0.65);
  border-bottom: 1px solid rgba(159, 195, 215, 0.65);
}

.share-rail h3 {
  margin-bottom: 0.4rem;
  font-size: 1.8rem;
}

.share-rail p {
  margin-bottom: 0;
  color: var(--on-dark-soft);
  font-size: 0.84rem;
}

.share-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.share-button {
  display: inline-flex;
  min-height: 3.7rem;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem;
  border: 1px solid rgba(246, 242, 234, 0.75);
  border-radius: 2px;
  color: var(--on-dark);
  background: transparent;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
  transition: color var(--transition), background-color var(--transition);
}

.share-button:hover {
  color: var(--ink);
  background: var(--on-dark);
}

.facebook-letter {
  display: grid;
  width: 1.35rem;
  height: 1.35rem;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(21rem, 1fr) auto;
  gap: 2rem 4rem;
  align-items: center;
  padding-block: 2.75rem 3.25rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.footer-brand img {
  width: 5rem;
  height: 5rem;
  object-fit: contain;
}

.footer-brand strong,
.footer-brand span {
  display: block;
}

.footer-brand strong {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.3vw, 2.35rem);
  font-weight: 400;
}

.footer-brand span {
  color: var(--on-dark-soft);
  font-size: 0.9rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem 1.8rem;
}

.site-footer nav a,
.site-footer nav button {
  padding: 0;
  color: var(--on-dark);
  background: transparent;
  cursor: pointer;
  font-size: 0.83rem;
  transition: color var(--transition);
}

.site-footer nav a:hover,
.site-footer nav button:hover {
  color: var(--on-dark-soft);
}

.site-footer > p {
  grid-column: 2;
  margin: -1rem 0 0;
  color: #83a6b9;
  font-size: 0.74rem;
  text-align: right;
}

.property-dialog,
.privacy-dialog {
  padding: 0;
  border: 0;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 1.5rem 5rem rgba(3, 15, 23, 0.35);
}

.property-dialog {
  width: min(88rem, calc(100vw - 3rem));
  max-width: none;
  max-height: min(90dvh, 58rem);
}

.property-dialog::backdrop,
.privacy-dialog::backdrop {
  background: rgba(8, 20, 28, 0.72);
}

.dialog-close {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 3;
  border-color: rgba(19, 34, 44, 0.35);
  background: var(--paper);
}

.dialog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(25rem, 0.85fr);
  height: min(48rem, 85dvh);
}

.dialog-gallery {
  display: grid;
  min-width: 0;
  grid-template-rows: minmax(0, 1fr) auto;
  padding: 1.25rem;
  overflow: hidden;
  background: #ece8e0;
}

#property-dialog-image {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  background: #dcd8d0;
}

.dialog-thumbnails {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem;
  margin-top: 0.75rem;
}

.dialog-thumbnails button {
  aspect-ratio: 4 / 3;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  background: transparent;
  cursor: pointer;
}

.dialog-thumbnails button.is-active {
  border-color: var(--terracotta);
}

.dialog-thumbnails img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dialog-copy {
  overflow-y: auto;
  padding: clamp(3rem, 5vw, 5.25rem);
}

.dialog-copy h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(2.6rem, 4vw, 4.3rem);
}

.dialog-copy .property-price {
  font-size: clamp(2rem, 3vw, 3rem);
}

.dialog-facts {
  margin-bottom: 2rem;
}

.dialog-description {
  color: var(--ink-soft);
}

.dialog-description p {
  margin-bottom: 1rem;
}

.dialog-description ul {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1.75rem;
  padding-left: 1.25rem;
}

.availability-note {
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-block: 2rem 1.5rem;
}

.source-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 700;
}

.privacy-dialog {
  width: min(40rem, calc(100vw - 2.5rem));
  padding: clamp(2.5rem, 5vw, 4rem);
}

.privacy-dialog h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(2.4rem, 5vw, 4rem);
}

.privacy-dialog p {
  color: var(--ink-soft);
}

.privacy-dialog a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.privacy-dialog .dialog-close {
  position: absolute;
}

.toast {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 200;
  max-width: min(24rem, calc(100vw - 2.5rem));
  padding: 0.9rem 1.1rem;
  color: var(--paper);
  background: var(--ink);
  opacity: 0;
  pointer-events: none;
  transform: translateY(1rem);
  transition: opacity var(--transition), transform var(--transition);
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.noscript-note {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 300;
  padding: 1rem;
  color: var(--paper);
  background: var(--ink);
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition:
    opacity 500ms ease-out,
    transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1400px) and (min-width: 981px) {
  .hero {
    grid-template-columns: minmax(30rem, 0.88fr) minmax(34rem, 1.12fr);
  }

  .hero-copy {
    padding-top: 2.75rem;
    padding-right: 2.5rem;
    padding-bottom: 2.75rem;
  }

  .hero-copy h1 {
    max-width: 10.5ch;
    margin-bottom: 1.35rem;
    font-size: clamp(3.5rem, 4.8vw, 4.6rem);
  }

  .hero-copy p {
    margin-bottom: 1.55rem;
    font-size: 1rem;
    line-height: 1.55;
  }

  .hero-copy .button {
    min-height: 3.45rem;
    padding-inline: 1.2rem;
    font-size: 0.87rem;
  }
}

@media (max-width: 1180px) {
  .header-inner {
    gap: 1.5rem;
  }

  .desktop-nav {
    gap: 1.45rem;
  }

  .hero {
    grid-template-columns: minmax(21rem, 0.78fr) minmax(30rem, 1.22fr);
  }

  .hero-copy h1 {
    font-size: clamp(3.5rem, 5.8vw, 5.25rem);
  }

  .share-rail {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .header-inner {
    min-height: 5.5rem;
    grid-template-columns: 1fr auto;
  }

  .brand img {
    width: 3.75rem;
    height: 3.75rem;
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: inline-grid;
  }

  .nav-toggle svg {
    width: 1.5rem;
    height: 1.5rem;
  }

  .mobile-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 0 var(--gutter) 1rem;
    border-bottom: 1px solid var(--rule);
    background: var(--sand);
  }

  .mobile-nav[hidden] {
    display: none;
  }

  .mobile-nav a {
    padding: 1rem 0;
    border-bottom: 1px solid var(--rule);
    font-weight: 600;
  }

  .mobile-nav a:last-child {
    border-bottom: 0;
    color: var(--terracotta);
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: clamp(4rem, 9vw, 7rem) var(--gutter);
  }

  .hero-copy h1 {
    max-width: 10ch;
    font-size: clamp(4rem, 10.5vw, 6.25rem);
  }

  .hero-media {
    min-height: 32rem;
  }

  .location-intro,
  .property-feature,
  .property-land,
  .advisor-grid,
  .process-heading,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .location-intro {
    gap: 2.5rem;
  }

  .location-intro > p {
    max-width: 42rem;
  }

  .property-feature,
  .property-land {
    gap: 2.5rem;
  }

  .property-pair {
    grid-template-columns: 1fr;
  }

  .property-standard:nth-child(2) {
    padding-top: 3.5rem;
    padding-left: 0;
    border-top: 1px solid var(--rule);
    border-left: 0;
  }

  .property-land .property-image {
    aspect-ratio: 16 / 9;
  }

  .advisor-grid {
    gap: 3.5rem;
  }

  .advisor-copy {
    max-width: 50rem;
  }

  .process-heading {
    gap: 1.5rem;
  }

  .process-heading > p {
    max-width: 30rem;
  }

  .process-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem 2rem;
  }

  .process-rail::before {
    display: none;
  }

  .contact-form {
    padding-top: 0;
  }

  .contact-copy h2 {
    max-width: 12ch;
  }

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

  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer nav {
    justify-content: flex-start;
  }

  .site-footer > p {
    grid-column: 1;
    margin: 0;
    text-align: left;
  }

  .dialog-layout {
    grid-template-columns: 1fr;
    height: auto;
  }

  .property-dialog {
    width: calc(100vw - 2rem);
    max-height: calc(100dvh - 2rem);
  }

  .dialog-gallery {
    min-height: 38rem;
  }

  .dialog-copy {
    overflow: visible;
  }
}

@media (max-width: 640px) {
  :root {
    --gutter: 1.25rem;
  }

  .header-inner {
    min-height: 4.9rem;
  }

  .brand {
    gap: 0.6rem;
    font-size: 0.66rem;
    letter-spacing: 0.09em;
  }

  .brand img {
    width: 3.2rem;
    height: 3.2rem;
  }

  .nav-toggle {
    width: 3.25rem;
    height: 3.25rem;
  }

  .hero-copy {
    padding-block: 3.75rem;
  }

  .hero-copy h1 {
    margin-bottom: 1.5rem;
    font-size: clamp(3.25rem, 15vw, 4.8rem);
  }

  .hero-copy p {
    font-size: 1rem;
  }

  .button-row,
  .button-row .button {
    width: 100%;
  }

  .hero-media {
    min-height: 26rem;
  }

  .hero-media figcaption {
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    min-width: 0;
  }

  .hero-media figcaption strong {
    font-size: 1.3rem;
  }

  .location-intro h2,
  .section-heading h2,
  .advisor-copy h2,
  .process-heading h2,
  .contact-copy h2 {
    font-size: clamp(2.6rem, 13vw, 4rem);
  }

  .property-copy h3,
  .property-standard .property-copy h3,
  .property-land h3 {
    font-size: 2rem;
  }

  .property-price,
  .property-standard .property-price {
    font-size: 2.1rem;
  }

  .property-facts,
  .dialog-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .property-facts li,
  .dialog-facts li,
  .property-facts li:first-child,
  .dialog-facts li:first-child {
    padding: 0 0.75rem 0 0;
    border-right: 0;
  }

  .property-actions {
    display: grid;
    grid-template-columns: 1fr auto auto;
  }

  .property-actions .button {
    min-width: 0;
    padding-inline: 1rem;
  }

  .property-land .property-image {
    aspect-ratio: 4 / 3;
  }

  .service-list,
  .process-rail,
  .field-row,
  .share-actions {
    grid-template-columns: 1fr;
  }

  .process-rail {
    gap: 0;
    padding-left: 1.2rem;
    border-left: 1px solid var(--rule-strong);
  }

  .process-rail li {
    padding: 0 0 2.7rem 2rem;
  }

  .process-rail li:last-child {
    padding-bottom: 0;
  }

  .process-rail li > span {
    position: absolute;
    top: 0;
    left: -2.5rem;
  }

  .contact-copy > img {
    width: 5rem;
    height: 5rem;
  }

  .direct-contact a:first-of-type {
    font-size: 1.85rem;
  }

  .direct-contact a:last-of-type {
    font-size: 0.83rem;
  }

  .share-rail {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    align-items: flex-start;
  }

  .footer-brand img {
    width: 4rem;
    height: 4rem;
  }

  .site-footer nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .property-dialog {
    width: 100vw;
    height: 100dvh;
    max-height: none;
    margin: 0;
  }

  .dialog-gallery {
    min-height: auto;
    padding: 0.75rem;
  }

  #property-dialog-image {
    height: auto;
    min-height: 22rem;
  }

  .dialog-copy {
    padding: 2.5rem 1.25rem;
  }

  .dialog-copy h2 {
    font-size: 2.7rem;
  }

  .dialog-actions,
  .dialog-actions .button {
    width: 100%;
  }

  .privacy-dialog {
    width: calc(100vw - 1.5rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
