:root {
  color-scheme: dark;
  --night: #071725;
  --night-soft: #102536;
  --night-deep: #04111c;
  --paper: #e7e9e9;
  --paper-soft: #dfe3e5;
  --ink: #f4f6f7;
  --ink-dark: #13202a;
  --muted: #d6dcdf;
  --muted-dark: #3d474e;
  --type-small: 14px;
  --type-body: 16px;
  --type-lead: 20px;
  --type-heading: 40px;
  --type-display: 72px;
  --gold: #d7a552;
  --gold-light: #ecc274;
  --display: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
  --gutter: clamp(1.25rem, 6vw, 6rem);
  --section-space: clamp(3.5rem, 6.5vw, 6rem);
  font-family: var(--sans);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: clip;
  background: var(--night);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
}

body,
button,
input,
select,
textarea {
  font-family: var(--sans);
}

img {
  display: block;
  max-width: 100%;
}

figure,
p,
h1,
h2,
h3,
dl,
dd {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  color: inherit;
}

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 4px;
}

::selection {
  background: var(--gold);
  color: var(--night-deep);
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  transform: translateY(-160%);
  background: var(--gold);
  color: var(--night-deep);
  padding: 0.75rem 1rem;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 20;
  background: linear-gradient(180deg, #030d16 0%, var(--night-deep) 100%);
}

.site-header::after {
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(215, 165, 82, 0.55) 20%, rgba(236, 194, 116, 0.8) 50%, rgba(215, 165, 82, 0.55) 80%, transparent);
  content: "";
}

.site-header__inner {
  min-height: 118px;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.75rem;
}

.brand__logo {
  width: clamp(180px, 18vw, 270px);
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(1.5rem, 3vw, 3rem);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.site-nav a,
.footer-links a,
.footer-socials a {
  transition: color 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.footer-links a:hover,
.footer-socials a:hover {
  color: var(--gold-light);
}

.site-nav a {
  position: relative;
  padding: 0.6rem 0;
  color: var(--gold);
}

.site-nav a + a::before {
  position: absolute;
  top: 50%;
  left: calc(clamp(1.5rem, 3vw, 3rem) / -2);
  width: 4px;
  height: 4px;
  background: rgba(215, 165, 82, 0.55);
  content: "";
  transform: translate(-50%, -50%) rotate(45deg);
}

.site-nav a::after {
  position: absolute;
  left: 0;
  bottom: 0;
  width: calc(100% - 0.22em);
  height: 1px;
  background: var(--gold-light);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 240ms ease;
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 0.7rem;
  border: 0;
  background: transparent;
  padding: 0.75rem 0;
  cursor: pointer;
  font-size: 14px;
}

.menu-toggle__lines,
.menu-toggle__lines::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  content: "";
  transition: transform 180ms ease;
}

.menu-toggle__lines::after {
  transform: translateY(6px);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__lines {
  transform: translateY(4px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__lines::after {
  transform: rotate(-90deg);
}

.hero {
  position: relative;
  min-height: min(860px, calc(100svh - 118px));
  padding: 0 0 0 var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: stretch;
  gap: clamp(2rem, 4vw, 4rem);
  background: var(--night);
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 41rem;
  padding: clamp(3rem, 6vw, 6rem) 0;
  align-self: center;
}

.hero h1,
.property-hero h1,
.section-heading h2,
.about h2,
.location h2,
.contact h2,
.property-story h2,
.property-offer h2,
.property-cta h2,
.missing-property h1 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.96;
  text-wrap: balance;
}

.hero h1 {
  max-width: 16ch;
  color: var(--gold);
  font-size: clamp(48px, 5.6vw, 88px);
}

.hero-copy > p {
  max-width: 42ch;
  margin-top: 1.8rem;
  color: var(--muted);
  font-size: var(--type-lead);
  line-height: 1.6;
}

.hero-actions {
  margin-top: 2.4rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.button {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 0.9rem 1.8rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.25;
  text-align: center;
  transition: background-color 220ms ease, color 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button__arrow {
  display: inline-flex;
  transition: transform 220ms ease;
}

.button:hover .button__arrow {
  transform: translateX(4px);
}

.button--gold {
  background: var(--gold);
  color: var(--night-deep);
}

.button--gold:hover {
  background: var(--gold-light);
}

.button--outline {
  border-color: var(--gold);
  color: var(--gold-light);
}

.button--outline:hover {
  background: var(--gold);
  color: var(--night-deep);
}

.button--quiet {
  color: var(--ink);
}

.button--quiet:hover {
  color: var(--gold-light);
}

.hero-print {
  position: relative;
  margin: 0;
  min-height: 100%;
  overflow: hidden;
}

.hero-print::before {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 1;
  width: clamp(60px, 9vw, 140px);
  background: linear-gradient(90deg, var(--night), transparent);
  content: "";
  pointer-events: none;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
  content: "";
  pointer-events: none;
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.section-pad {
  padding: var(--section-space) var(--gutter);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--gold-light);
  font-size: var(--type-body);
  transition: gap 180ms ease, color 180ms ease;
}

.text-link:hover {
  gap: 1rem;
  color: var(--ink);
}

.inventory {
  background: var(--paper);
  color: var(--ink-dark);
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 3rem;
  margin-bottom: clamp(1.75rem, 3.5vw, 3rem);
}

.section-heading h2,
.about h2,
.location h2,
.contact h2,
.property-story h2,
.property-offer h2,
.property-cta h2 {
  max-width: 14ch;
  font-size: var(--type-heading);
}

.section-heading > p {
  max-width: 42ch;
  color: var(--muted-dark);
  font-size: 16px;
}

.inventory .section-heading,
.process .section-heading {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  text-align: center;
}

.inventory .section-heading::before,
.process .section-heading::before {
  width: 64px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  content: "";
}

.inventory .section-heading h2,
.process .section-heading h2 {
  max-width: none;
  font-size: clamp(36px, 4.2vw, 56px);
}

.inventory .section-heading > p,
.process .section-heading > p {
  max-width: 62ch;
  font-size: 17px;
  line-height: 1.7;
}

.property-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(1rem, 2.2vw, 2rem);
  row-gap: 0;
}

.property-card {
  min-width: 0;
  color: var(--ink-dark);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.property-card {
  grid-column: span 6;
  display: flex;
  flex-direction: column;
}

.property-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.property-card__bottom {
  margin-top: 1.5rem;
}

.property-card__image {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--paper-soft);
  aspect-ratio: 4 / 3;
}

.property-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 800ms cubic-bezier(0.2, 0.65, 0.3, 1);
}

.property-card__image:hover img {
  transform: scale(1.035);
}

.property-card__body {
  padding-top: 1.4rem;
}

.property-card__location {
  color: var(--muted-dark);
  font-size: var(--type-body);
}

.property-card h3 {
  max-width: 30ch;
  margin-top: 0.45rem;
  font-family: var(--display);
  font-size: clamp(24px, 2.1vw, 30px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.property-card h3 a {
  transition: color 180ms ease;
}

.property-card h3 a:hover {
  color: #80602d;
}

.property-card__summary {
  max-width: 56ch;
  margin-top: 0.85rem;
  color: #34434c;
  font-size: 16px;
}

.property-card__metrics {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
}

.property-card__metric {
  display: grid;
  gap: 0.15rem;
}

.property-card__metric strong {
  font-size: 16px;
  font-weight: 600;
}

.property-card__metric span {
  color: var(--muted-dark);
  font-size: 14px;
}

.property-card__bottom {
  margin-top: 1.5rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.property-card__bottom p {
  display: grid;
  gap: 0.2rem;
}

.property-card__bottom p span {
  color: var(--muted-dark);
  font-size: 14px;
}

.property-card__bottom p strong {
  font-size: var(--type-lead);
  white-space: nowrap;
}

.property-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 48px;
  padding: 0.7rem 1.3rem;
  border: 1.5px solid #b98a3c;
  border-radius: 999px;
  color: #6b4d18;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 220ms ease, color 220ms ease, transform 220ms ease;
}

.property-card__cta svg {
  transition: transform 220ms ease;
}

.property-card__cta:hover,
.property-card__cta:focus-visible {
  background: var(--night);
  border-color: var(--night);
  color: var(--gold-light);
  transform: translateY(-2px);
}

.property-card__cta:hover svg {
  transform: translateX(4px);
}

.property-card__actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.property-card__whatsapp {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  transition: background-color 220ms ease, color 220ms ease, transform 220ms ease;
}

.property-card__whatsapp svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.property-card__whatsapp:hover,
.property-card__whatsapp:focus-visible {
  background: var(--gold);
  color: #0a0a0a;
  transform: translateY(-2px);
}

.property-grid--related .property-card__whatsapp {
  border-color: #b98a3c;
  color: #8a6420;
}

.property-grid--related .property-card__whatsapp:hover,
.property-grid--related .property-card__whatsapp:focus-visible {
  background: #b98a3c;
  color: #fff;
}

/* Teste: seção de imóveis em preto e dourado */
.inventory {
  background: #0a0a0a;
  color: var(--ink);
}

.inventory .section-heading h2 {
  color: var(--gold);
}

.inventory .section-heading > p {
  color: #d8d3c8;
}

.inventory .property-card {
  color: var(--ink);
}

.inventory .property-card__image {
  background: #151515;
  outline: 1px solid rgba(215, 165, 82, 0.35);
  outline-offset: -1px;
}

.inventory .property-card__location {
  color: var(--gold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 13px;
}

.inventory .property-card h3 a:hover {
  color: var(--gold-light);
}

.inventory .property-card h3 {
  color: var(--ink);
}

.inventory .property-card__summary {
  color: #cfcac0;
}

.inventory .property-card__metric strong {
  color: var(--gold-light);
}

.inventory .property-card__metric span,
.inventory .property-card__bottom p span {
  color: #a9a496;
}

.inventory .property-card__bottom {
  padding-top: 1.2rem;
  border-top: 1px solid rgba(215, 165, 82, 0.3);
}

.inventory .property-card__bottom p strong {
  color: var(--gold-light);
}

.inventory .property-card__cta {
  border-color: var(--gold);
  color: var(--gold-light);
}

.inventory .property-card__cta:hover,
.inventory .property-card__cta:focus-visible {
  background: var(--gold);
  border-color: var(--gold);
  color: #0a0a0a;
}

/* Linhas compartilhadas: título, local, resumo, medidas e preço alinham entre cards vizinhos */
.property-grid:not(.property-grid--related) > .property-card {
  grid-row: span 6;
  display: grid;
  grid-template-rows: subgrid;
  row-gap: 0;
}

.property-grid:not(.property-grid--related) > .property-card .property-card__body {
  display: contents;
}

.property-grid:not(.property-grid--related) > .property-card h3 {
  margin-top: 1.4rem;
}

.property-grid--related {
  row-gap: 3.5rem;
}

.property-grid--related .property-card {
  padding-bottom: 0;
}

.process {
  background: var(--night-soft);
}

.section-heading--light > p {
  color: var(--muted);
}

.process-list {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 5rem);
  list-style: none;
}

.process-list li {
  max-width: 28rem;
}

.process-list h3 {
  font-family: var(--display);
  font-size: var(--type-lead);
  font-weight: 500;
  line-height: 1;
}

.process-list p {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 16px;
}

.about {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: center;
  column-gap: clamp(2rem, 7vw, 7rem);
  background: #0a0a0a;
  color: var(--ink);
}

.about h2 {
  color: var(--gold);
}

.about-portrait {
  position: relative;
  grid-column: 1 / 6;
  max-width: 100%;
}

.about-portrait::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(215, 165, 82, 0.45);
  content: "";
  pointer-events: none;
  transform: translate(14px, 14px);
}

.about-portrait img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 0.72;
  object-fit: cover;
}

.about-portrait figcaption {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: var(--type-body);
}

.about-copy {
  grid-column: 7 / 13;
  padding-block: 2rem;
}

.about-copy > div {
  margin-top: 2rem;
}

.about-copy > div p {
  max-width: 58ch;
  margin-top: 1rem;
  color: #d8d3c8;
  font-size: 16px;
}

.about-note {
  margin-top: 1.6rem;
  color: #d8d3c8;
  font-size: 16px;
}

.about-emphasis {
  margin-top: 0.8rem;
  padding-left: 1.2rem;
  border-left: 2px solid var(--gold);
  color: var(--gold-light);
  font-family: var(--display);
  font-size: var(--type-lead);
  line-height: 1.18;
}
.location {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 7rem);
  background: var(--night);
}

.location-copy > p {
  max-width: 45ch;
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 16px;
}

.location-address {
  display: grid;
  gap: 0.2rem;
  color: var(--gold-light) !important;
  font-weight: 600;
}

.location-address span {
  color: var(--muted);
  font-weight: 400;
}

.gold-text {
  color: var(--gold);
  font-weight: inherit;
}

.location-copy strong.gold-text {
  font-weight: 600;
}

.location-copy .location-cta {
  margin-top: 1.6rem;
  min-height: 52px;
  padding: 0.8rem 1.6rem;
  border-color: var(--gold);
  background: var(--gold);
  color: var(--night-deep);
}

.location-copy .location-cta:hover,
.location-copy .location-cta:focus-visible {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold-light);
}

.location-map {
  min-width: 0;
  background: var(--night-soft);
}

.location-map iframe {
  width: 100%;
  height: clamp(340px, 43vw, 560px);
  display: block;
  border: 0;
  filter: grayscale(1) contrast(0.95);
}

.location-map p {
  padding: 1rem 1.2rem;
  color: var(--muted);
  font-size: var(--type-body);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(3rem, 8vw, 8rem);
  background: #0a0a0a;
  color: var(--ink);
  border-top: 1px solid rgba(215, 165, 82, 0.35);
}

.contact h2 {
  color: var(--ink);
}

.contact-copy > p {
  max-width: 45ch;
  margin-top: 1.5rem;
  color: #d8d3c8;
  font-size: 16px;
}

.contact-copy::before {
  display: block;
  width: 64px;
  height: 2px;
  margin-bottom: 1.4rem;
  background: linear-gradient(90deg, var(--gold), transparent);
  content: "";
}

.contact-number {
  display: inline-grid;
  gap: 0.2rem;
  margin-top: 2rem;
  padding-left: 1.2rem;
  border-left: 2px solid var(--gold);
}

.contact-number span,
.social-links > span {
  color: #a9a496;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-number strong {
  color: var(--gold-light);
  font-family: var(--display);
  font-size: clamp(28px, 2.6vw, 36px);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.social-links {
  margin-top: 2.2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.6rem;
}

.social-links a {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.social-links a:hover {
  color: var(--gold-light);
}

.contact-form {
  display: grid;
  gap: 0.7rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid rgba(215, 165, 82, 0.35);
  background: #111;
}

.contact-form label {
  margin-top: 0.6rem;
  color: var(--gold);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-bottom: 1px solid rgba(215, 165, 82, 0.45);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  padding: 0.9rem 0.2rem;
  font-size: 16px;
  transition: border-color 200ms ease;
}

.contact-form select option {
  background: #111;
  color: var(--ink);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-bottom-color: var(--gold-light);
  outline: none;
}

.contact-form textarea {
  min-height: 124px;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #8d8879;
  opacity: 1;
}

.contact-form .button {
  margin-top: 1.2rem;
  justify-self: start;
}

.contact-form > p {
  color: #a9a496;
  font-size: 14px;
}

.site-footer {
  background: var(--night-deep);
  color: var(--ink);
  padding: 4.5rem var(--gutter) 1.5rem;
}

.site-footer__main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 3rem 6rem;
  padding-bottom: 4rem;
}

.footer-brand img {
  width: 170px;
}

.site-footer__main > p {
  max-width: 43ch;
  color: var(--muted);
}

.footer-links {
  grid-column: 2;
  grid-row: 1 / 3;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.footer-links > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
}

.footer-links h2 {
  margin-bottom: 0.4rem;
  font-size: 16px;
  font-weight: 600;
}

.footer-links a,
.footer-links span,
.footer-socials a {
  color: var(--muted);
  font-size: var(--type-body);
}

.footer-socials {
  margin-top: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.site-footer__legal {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumbs {
  padding: 1.2rem var(--gutter);
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumbs a {
  color: var(--gold-light);
}

.property-hero {
  min-height: 660px;
  padding: 2.5rem var(--gutter) 4rem;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
}

.property-hero__copy {
  max-width: 38rem;
}

.property-location {
  color: var(--muted);
  font-size: var(--type-body);
}

.property-hero h1 {
  max-width: 14ch;
  margin-top: 1.2rem;
  font-size: var(--type-display);
}

.property-hero__tag {
  margin-top: 1rem;
  color: var(--gold-light);
  font-size: 16px;
}

.property-hero__price {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.15rem;
}

.property-hero__price span {
  color: var(--muted);
  font-size: var(--type-body);
}

.property-hero__price strong {
  font-size: var(--type-lead);
}

.property-hero .button {
  margin-top: 1.4rem;
}

.property-hero__image {
  position: relative;
  width: 100%;
  height: clamp(460px, 61vw, 700px);
  overflow: hidden;
}

.property-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-hero__image figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 0.8rem 1rem;
  background: var(--night);
  color: var(--ink);
  font-size: 14px;
}

.property-facts {
  background: var(--night-soft);
}

.property-facts dl {
  max-width: 1450px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
}

.property-facts dl > div {
  display: grid;
  gap: 0.35rem;
}

.property-facts dt {
  color: var(--muted);
  font-size: var(--type-body);
}

.property-facts dd {
  font-family: var(--display);
  font-size: var(--type-heading);
  line-height: 1;
}

.property-story {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(2rem, 7vw, 7rem);
}

.property-story__heading p {
  max-width: 36ch;
  margin-top: 1.3rem;
  color: var(--muted);
  font-size: 16px;
}

.property-story__content > p {
  max-width: 63ch;
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: var(--type-body);
}

.property-story__content h3 {
  margin-top: 2rem;
  font-family: var(--display);
  font-size: var(--type-lead);
  font-weight: 500;
}

.feature-list {
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 2rem;
  color: var(--ink);
  list-style: none;
}

.feature-list li {
  min-width: 0;
  padding: 0.45rem 0;
}

.property-offer {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(2rem, 7vw, 7rem);
  background: var(--paper);
  color: var(--ink-dark);
}

.property-offer__copy > p {
  margin-top: 1.2rem;
  color: var(--muted-dark);
}

.property-offer ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
  list-style: none;
}

.property-offer li {
  font-size: var(--type-body);
  font-weight: 600;
}

.property-offer__note {
  max-width: 65ch;
  margin-top: 1.5rem;
  color: var(--muted-dark);
  font-size: var(--type-body);
}

.property-gallery {
  background: var(--night);
}

.property-gallery .section-heading > p {
  color: var(--muted);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(0.5rem, 1.4vw, 1.25rem);
}

.gallery-image {
  min-width: 0;
  min-height: 220px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: var(--night-soft);
  cursor: zoom-in;
}

.gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.65, 0.3, 1);
}

.gallery-image:hover img {
  transform: scale(1.035);
}

.gallery-image--1,
.gallery-image--6 {
  grid-column: span 7;
  aspect-ratio: 1.25;
}

.gallery-image--2,
.gallery-image--5 {
  grid-column: span 5;
  aspect-ratio: 0.9;
}

.gallery-image--3,
.gallery-image--8 {
  grid-column: span 4;
  aspect-ratio: 1.05;
}

.gallery-image--4,
.gallery-image--7,
.gallery-image--9 {
  grid-column: span 4;
  aspect-ratio: 1.1;
}

.property-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  background: var(--night-soft);
}

.property-cta h2 {
  max-width: 14ch;
}

.property-cta p {
  max-width: 50ch;
  margin-top: 1.2rem;
  color: var(--muted);
}

.related {
  background: var(--paper);
  color: var(--ink-dark);
}

.related .section-heading > .text-link {
  color: #705222;
}

.property-grid--related .property-card {
  grid-column: span 4;
  margin-top: 0;
  display: flex;
  flex-direction: column;
}

.property-grid--related .property-card__image {
  aspect-ratio: 4 / 3;
  min-height: 0;
}

.property-grid--related .property-card__image img {
  position: static;
}

.property-grid--related .property-card .property-card__body {
  padding-top: 1.4rem;
  justify-content: flex-start;
}

.property-grid--related .property-card__image {
  aspect-ratio: 4 / 3;
}

.property-grid--related .property-card h3 {
  font-size: var(--type-lead);
}

.lightbox {
  width: min(1100px, calc(100vw - 2rem));
  max-width: none;
  max-height: min(90vh, 900px);
  padding: 3.5rem 4rem 2rem;
  border: 0;
  border-radius: 0;
  background: var(--night-deep);
  color: var(--ink);
}

.lightbox::backdrop {
  background: rgb(0 0 0 / 86%);
}

.lightbox figure {
  width: 100%;
  height: min(72vh, 700px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.lightbox figure img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}

.lightbox figcaption {
  color: var(--muted);
  font-size: var(--type-body);
  text-align: center;
}

.lightbox__close,
.lightbox__arrow {
  position: absolute;
  display: inline-flex;
  min-width: 48px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0;
  background: var(--night-soft);
  color: var(--ink);
  cursor: pointer;
  font-size: var(--type-small);
  transition: background-color 180ms ease, color 180ms ease;
}

.lightbox__close:hover,
.lightbox__arrow:hover {
  background: var(--gold);
  color: var(--night-deep);
}

.lightbox__close {
  top: 1rem;
  right: 1rem;
  padding-inline: 1rem;
}

.lightbox__arrow {
  top: 50%;
  transform: translateY(-50%);
  font-size: var(--type-lead);
}

.lightbox__arrow--prev {
  left: 0.75rem;
}

.lightbox__arrow--next {
  right: 0.75rem;
}

.missing-property {
  min-height: 60vh;
  padding: var(--section-space) var(--gutter);
}

.missing-property p {
  margin-top: 1.5rem;
  color: var(--muted);
}

.missing-property .button {
  margin-top: 2rem;
}

.js-motion [data-reveal] {
  transform: translateY(12px);
  transition: transform 650ms cubic-bezier(0.2, 0.65, 0.3, 1);
}

.js-motion [data-reveal].is-visible {
  transform: translateY(0);
}

@media (min-width: 1500px) {
  .hero,
  .section-pad,
  .site-header__inner,
  .site-footer {
    padding-right: max(var(--gutter), calc((100vw - 1680px) / 2));
    padding-left: max(var(--gutter), calc((100vw - 1680px) / 2));
  }
}

@media (max-width: 900px) {
  :root {
    --gutter: clamp(1.25rem, 4.5vw, 2.5rem);
    --section-space: clamp(3.25rem, 8vw, 4.5rem);
  }

  .site-header__inner {
    min-height: 92px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 10;
    display: none;
    padding: 1.5rem var(--gutter) 2rem;
    flex-direction: column;
    align-items: flex-start;
    background: var(--night-deep);
    font-size: 16px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a + a::before {
    display: none;
  }

  .hero {
    min-height: auto;
    grid-template-columns: minmax(0, 1fr);
    padding: 0;
    gap: 0;
  }

  .hero-copy {
    padding: 4rem var(--gutter) 3rem;
    max-width: none;
  }

  .hero h1 {
    max-width: 14ch;
    font-size: clamp(44px, 8vw, 64px);
  }

  .hero-print {
    min-height: 0;
    height: 80vw;
    max-height: 620px;
  }

  .property-hero {
    min-height: 0;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

  .property-hero h1 {
    font-size: var(--type-heading);
  }

  .property-hero__image {
    height: 58vw;
  }
}

@media (max-width: 620px) {
  :root {
    --gutter: 1.25rem;
    --section-space: 3.5rem;
  }

  body {
    font-size: 16px;
  }

  .site-header__inner {
    min-height: 88px;
  }

  .brand__logo {
    width: 170px;
  }

  .hero {
    padding: 0;
    gap: 0;
  }

  .hero-copy {
    padding: 2.5rem var(--gutter) 2.25rem;
  }

  .hero h1 {
    max-width: 18ch;
    font-size: clamp(38px, 11vw, 46px);
  }

  .hero-copy > p {
    max-width: 34ch;
    margin-top: 1.1rem;
    font-size: 17px;
  }

  .hero-actions {
    margin-top: 1.6rem;
  }

  .hero-actions .button {
    min-height: 52px;
    padding-inline: 1.3rem;
  }

  .hero-print {
    height: 100vw;
    max-height: 520px;
  }

  .section-pad {
    padding-top: var(--section-space);
    padding-bottom: var(--section-space);
  }


  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: 1.75rem;
  }

  .section-heading h2,
  .about h2,
  .location h2,
  .contact h2,
  .property-story h2,
  .property-offer h2,
  .property-cta h2 {
    max-width: 14ch;
    font-size: var(--type-heading);
  }

  .property-grid {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 0;
  }

  .property-card {
    padding-bottom: 2.5rem;
  }

  .property-grid--related .property-card {
    padding-bottom: 0;
  }

  .property-card,
  .property-grid--related .property-card {
    grid-column: 1;
    margin-top: 0;
  }

  .property-card h3 {
    font-size: var(--type-lead);
  }

  .property-card__metrics {
    gap: 1rem 1.3rem;
  }

  .property-card__bottom {
    align-items: center;
    flex-wrap: wrap;
  }

  .process-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }

  .process-list li {
    max-width: 38rem;
  }

  .about {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }

  .about-portrait,
  .about-copy {
    grid-column: 1;
  }

  .about-portrait {
    width: min(100%, 480px);
  }

  .about-portrait img {
    aspect-ratio: 0.8;
  }

  .about-copy {
    padding: 0;
  }

  .location,
  .contact,
  .property-story,
  .property-offer {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }

  .location-map iframe {
    height: 340px;
  }

  .contact-form {
    gap: 0.6rem;
  }

  .site-footer {
    padding-top: 3.5rem;
  }

  .site-footer__main {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    padding-bottom: 2.5rem;
  }

  .footer-links {
    grid-column: 1;
    grid-row: auto;
    margin-top: 1.5rem;
    gap: 1.25rem;
  }

  .site-footer__legal {
    flex-direction: column;
    gap: 0.5rem;
  }

  .breadcrumbs {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .property-hero {
    padding-top: 1.5rem;
    padding-bottom: 3rem;
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .property-hero h1 {
    max-width: 14ch;
    margin-top: 0.8rem;
    font-size: var(--type-heading);
  }

  .property-hero__image {
    height: 108vw;
    max-height: 520px;
  }

  .property-facts dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 1.2rem;
  }

  .property-facts dd {
    font-size: var(--type-heading);
  }

  .property-story__content > p {
    font-size: 16px;
  }

  .feature-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.25rem;
  }

  .property-offer li {
    font-size: 16px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
  }

  .gallery-image,
  .gallery-image--1,
  .gallery-image--2,
  .gallery-image--3,
  .gallery-image--4,
  .gallery-image--5,
  .gallery-image--6,
  .gallery-image--7,
  .gallery-image--8,
  .gallery-image--9 {
    grid-column: span 1;
    min-height: 0;
    aspect-ratio: 0.9;
  }

  .gallery-image:nth-child(4n + 1) {
    aspect-ratio: 0.78;
  }

  .property-cta {
    align-items: flex-start;
    flex-direction: column;
    gap: 2rem;
  }

  .related .section-heading {
    margin-bottom: 2rem;
  }

  .lightbox {
    width: 100vw;
    height: 100dvh;
    max-height: none;
    padding: 4rem 0.75rem 1.5rem;
  }

  .lightbox figure {
    height: 78dvh;
  }

  .lightbox__arrow--prev {
    left: 0.5rem;
  }

  .lightbox__arrow--next {
    right: 0.5rem;
  }
}

@keyframes slow-drift {
  from { scale: 1; translate: 0 0; }
  to { scale: 1.08; translate: -1.2% -0.8%; }
}

.property-card__image img,
.property-hero__image img {
  animation: slow-drift 16s ease-in-out infinite alternate;
}

.property-card:nth-child(even) .property-card__image img {
  animation-duration: 20s;
  animation-direction: alternate-reverse;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js-motion [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .property-card__image img,
  .property-hero__image img {
    animation: none;
  }
}
