
/* ==========================================
   GLOBE BUILDERS — BUY PROPERTY
   Ivory / Gold / Charcoal editorial system
========================================== */

.buy-page {
  --buy-gold: var(--gold, #b58a43);
  --buy-ink: var(--ink, #25231f);
  --buy-muted: var(--muted, #77736c);
  --buy-line: var(--line, #ded8cc);
  --buy-paper: var(--paper, #f7f5ef);

  overflow: clip;
  background: var(--buy-paper);
  color: var(--buy-ink);
}

.buy-container {
  width: min(1280px, calc(100% - 80px));
  margin-inline: auto;
}

.buy-page img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.buy-page h1,
.buy-page h2,
.buy-page h3 {
  font-family: var(--serif, "Playfair Display", Georgia, serif);
  font-weight: 400;
  letter-spacing: -.055em;
}

.buy-page h1 em,
.buy-page h2 em {
  color: var(--buy-gold);
  font-weight: 400;
}

.buy-page .section-kicker {
  margin: 0 0 22px;
  color: var(--buy-gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  line-height: 1.7;
  text-transform: uppercase;
}


/* HERO */

.buy-hero {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  min-height: 590px;
  padding-left: max(40px, calc((100vw - 1280px) / 2));
  background: var(--buy-paper);
}

.buy-hero-copy {
  align-self: center;
  padding: 65px 42px 45px 0;
}

.buy-hero-copy h1 {
  margin: 0 0 25px;
  font-size: clamp(47px, 5.4vw, 77px);
  line-height: 1.015;
}

.buy-hero-copy h1 em {
  display: block;
  margin-top: 5px;
}

.buy-hero-description {
  max-width: 470px;
  margin: 0 0 28px;
  color: var(--buy-muted);
  font-size: 14px;
  line-height: 1.9;
}

.buy-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}

.buy-page .gb-btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 17px;
  padding: 0 23px;
  border: 1px solid var(--buy-gold);
  background: var(--buy-gold);
  color: #211d17;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .09em;
  text-decoration: none;
  transition:
    background .25s ease,
    color .25s ease,
    border-color .25s ease,
    transform .25s ease;
}

.buy-page .gb-btn:hover {
  transform: translateY(-2px);
  border-color: var(--buy-ink);
  background: var(--buy-ink);
  color: #fff;
}

.buy-text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--buy-gold);
  color: var(--buy-ink);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
}

.buy-text-link span {
  color: var(--buy-gold);
  transition: transform .25s ease;
}

.buy-text-link:hover span {
  transform: translate(3px, -3px);
}

.buy-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 36px;
  color: var(--buy-muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .1em;
}

.buy-hero-meta span + span {
  padding-left: 20px;
  border-left: 1px solid var(--buy-line);
}

.buy-hero-visual {
  position: relative;
  min-width: 0;
  min-height: 590px;
  overflow: hidden;
  background: #d7cdbd;
}

.buy-hero-visual img {
  object-position: center;
  animation: buyImageEnter 1.2s cubic-bezier(.2,.65,.3,1) both;
  transition: transform 1.2s cubic-bezier(.2,.65,.3,1);
}

.buy-hero-visual:hover img {
  transform: scale(1.035);
}

.buy-hero-image-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(20,19,16,.03) 35%,
    rgba(20,19,16,.47) 100%
  );
  pointer-events: none;
}

.buy-hero-image-caption {
  position: absolute;
  right: 25px;
  bottom: 26px;
  left: 25px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.6);
  color: #fff;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .12em;
}

.buy-hero-index {
  position: absolute;
  top: 25px;
  right: 25px;
  display: grid;
  gap: 7px;
  padding: 15px 18px;
  background: rgba(247,245,239,.94);
  color: var(--buy-ink);
}

.buy-hero-index span {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .13em;
}

.buy-hero-index strong {
  font-family: var(--serif, "Playfair Display", Georgia, serif);
  font-size: 24px;
  font-weight: 400;
}

.buy-hero-index i {
  color: var(--buy-gold);
  font-size: 14px;
  font-style: normal;
}


/* INTRO */

.buy-intro {
  display: grid;
  grid-template-columns: .32fr 1fr;
  gap: 50px;
  padding-top: 100px;
  padding-bottom: 105px;
  border-bottom: 1px solid var(--buy-line);
}

.buy-intro-label {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding-top: 8px;
  color: var(--buy-muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
}

.buy-section-number {
  color: var(--buy-gold);
}

.buy-intro-content h2 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(39px, 5vw, 68px);
  line-height: 1.06;
}

.buy-intro-content h2 em {
  display: block;
}

.buy-intro-bottom {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-top: 28px;
}

.buy-intro-bottom > p {
  max-width: 490px;
  margin: 0;
  color: var(--buy-muted);
  font-size: 13px;
  line-height: 1.9;
}


/* LISTINGS */

.buy-listings {
  padding: 100px 0 95px;
}

.buy-listings-heading {
  display: grid;
  grid-template-columns: 1fr .62fr;
  align-items: end;
  gap: 50px;
  margin-bottom: 40px;
}

.buy-listings-heading h2 {
  margin: 0;
  font-size: clamp(42px, 5vw, 65px);
  line-height: 1.04;
}

.buy-listings-heading h2 em {
  display: block;
}

.buy-listings-heading > p {
  max-width: 430px;
  margin: 0 0 5px;
  color: var(--buy-muted);
  font-size: 13px;
  line-height: 1.9;
}


/* FILTERS */

.buy-category-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 33px;
  padding-bottom: 17px;
  border-bottom: 1px solid var(--buy-line);
}

.buy-filter {
  min-height: 37px;
  padding: 0 16px;
  border: 1px solid var(--buy-line);
  border-radius: 0;
  background: transparent;
  color: var(--buy-muted);
  font-family: inherit;
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
  transition:
    background .2s ease,
    border-color .2s ease,
    color .2s ease;
}

.buy-filter:hover,
.buy-filter.is-active {
  border-color: var(--buy-ink);
  background: var(--buy-ink);
  color: white;
}


/* PROPERTY CARDS */

.buy-property-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 32px;
  row-gap: 48px;
}

.buy-property-card {
  min-width: 0;
}

.buy-property-card[hidden] {
  display: none !important;
}

.buy-property-image {
  position: relative;
  display: block;
  height: clamp(260px, 31vw, 420px);
  overflow: hidden;
  background: #e0d9cd;
  color: white;
  text-decoration: none;
}

.buy-property-image img {
  transition: transform .8s cubic-bezier(.2,.65,.3,1);
}

.buy-property-card:hover .buy-property-image img {
  transform: scale(1.045);
}

.buy-property-type {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 11px 13px;
  background: var(--buy-paper);
  color: var(--buy-ink);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .12em;
}

.buy-image-arrow {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  background: var(--buy-gold);
  color: #211d17;
  font-size: 20px;
  transition:
    background .25s ease,
    transform .25s ease;
}

.buy-property-card:hover .buy-image-arrow {
  transform: translate(2px, -2px);
  background: white;
}

.buy-property-info {
  padding-top: 19px;
}

.buy-property-overline {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--buy-muted);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .12em;
}

.buy-property-info h3 {
  margin: 13px 0 9px;
  font-size: clamp(25px, 3vw, 35px);
  line-height: 1.15;
}

.buy-property-info > p {
  max-width: 490px;
  min-height: 44px;
  margin: 0;
  color: var(--buy-muted);
  font-size: 12px;
  line-height: 1.8;
}

.buy-property-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 19px;
  padding-top: 15px;
  border-top: 1px solid var(--buy-line);
}

.buy-property-footer > span {
  font-size: 11px;
  font-weight: 600;
}

.buy-property-footer > a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--buy-ink);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
  text-decoration: none;
}

.buy-property-footer > a span {
  color: var(--buy-gold);
  font-size: 16px;
}

.buy-listings-note {
  max-width: 760px;
  margin: 35px 0 0;
  color: var(--buy-muted);
  font-size: 11px;
  line-height: 1.8;
}

.buy-property-card.filter-enter {
  animation: buyFilterEnter .35s ease both;
}

@keyframes buyFilterEnter {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* PROCESS */

.buy-process {
  padding: 95px 0 105px;
  background: #eeece5;
}

.buy-process-heading {
  max-width: 800px;
  margin-bottom: 42px;
}

.buy-process-heading h2 {
  margin: 0;
  font-size: clamp(40px, 5vw, 65px);
  line-height: 1.06;
}

.buy-process-heading h2 em {
  display: block;
}

.buy-process-layout {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: clamp(35px, 6vw, 80px);
  align-items: start;
}

.buy-process-image {
  position: sticky;
  top: 30px;
  height: clamp(350px, 42vw, 520px);
  overflow: hidden;
  background: #dcd4c7;
}

.buy-process-image img {
  transition: transform .9s ease;
}

.buy-process-image:hover img {
  transform: scale(1.025);
}

.buy-process-image > span {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 16px 19px;
  background: var(--buy-paper);
  color: var(--buy-ink);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
}

.buy-process-list {
  border-top: 1px solid #d4cec2;
}

.buy-process-item {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid #d4cec2;
}

.buy-process-item > span {
  padding-top: 5px;
  color: var(--buy-gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
}

.buy-process-item h3 {
  margin: 0 0 9px;
  font-size: 25px;
  letter-spacing: -.03em;
}

.buy-process-item p {
  max-width: 440px;
  margin: 0;
  color: var(--buy-muted);
  font-size: 12px;
  line-height: 1.9;
}


/* REQUIREMENT CTA */

.buy-requirements {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: clamp(40px, 7vw, 95px);
  padding-top: 105px;
  padding-bottom: 110px;
}

.buy-requirements-copy h2 {
  margin: 0 0 22px;
  font-size: clamp(39px, 4.5vw, 60px);
  line-height: 1.07;
}

.buy-requirements-copy h2 em {
  display: block;
}

.buy-requirements-copy > p:not(.section-kicker) {
  margin: 0 0 26px;
  color: var(--buy-muted);
  font-size: 13px;
  line-height: 1.9;
}

.buy-requirements-image {
  height: clamp(300px, 38vw, 470px);
  overflow: hidden;
  background: #ded7ca;
}

.buy-requirements-image img {
  transition: transform .9s ease;
}

.buy-requirements-image:hover img {
  transform: scale(1.025);
}


/* FINAL CTA */

.buy-page .buy-final-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 75px 24px 62px;
  background-color: #191916;
  background-image:
    linear-gradient(rgba(20,19,16,.78), rgba(20,19,16,.78)),
    url("../images/general/contact-architecture.jpg");
  background-position: center 55%;
  background-size: cover;
  background-repeat: no-repeat;
  text-align: center;
}

.buy-page .buy-final-cta .section-kicker {
  margin-bottom: 18px;
}

.buy-page .buy-final-cta h2 {
  margin: 0 auto 20px;
  color: white;
  font-size: clamp(42px, 5.3vw, 68px);
  line-height: 1.04;
}

.buy-page .buy-final-cta h2 em {
  color: var(--buy-gold);
}

.buy-page .buy-final-cta .gb-lead {
  max-width: 590px;
  margin: 0 auto 26px;
  color: rgba(255,255,255,.87);
  font-size: 13px;
  line-height: 1.9;
}

.buy-page .gb-contact-details {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 28px;
  margin-top: 30px;
}

.buy-page .gb-contact-details a {
  color: #f0e0c4;
  font-size: 11px;
  text-decoration: none;
}

.buy-final-address {
  max-width: 850px;
  margin: 24px auto 0;
  color: #c8c0b2;
  font-size: 12px;
  line-height: 1.8;
}


/* SCROLL MOTION */

.buy-page .buy-reveal {
  opacity: 1;
  transform: none;
}

.buy-page.motion-ready .buy-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity .75s ease,
    transform .75s cubic-bezier(.2,.65,.3,1);
  transition-delay: var(--gb-reveal-delay, 0ms);
}

.buy-page.motion-ready .buy-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.buy-page .buy-hero-copy > * {
  animation: buyHeroEnter .8s both;
}

.buy-page .buy-hero-copy > *:nth-child(2) {
  animation-delay: .1s;
}

.buy-page .buy-hero-copy > *:nth-child(3) {
  animation-delay: .2s;
}

.buy-page .buy-hero-copy > *:nth-child(4) {
  animation-delay: .3s;
}

@keyframes buyHeroEnter {
  from {
    opacity: 0;
    transform: translateY(23px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes buyImageEnter {
  from {
    opacity: .5;
    transform: scale(1.045);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}


/* RESPONSIVE */

@media (max-width: 950px) {
  .buy-container {
    width: calc(100% - 50px);
  }

  .buy-hero {
    padding-left: 25px;
  }

  .buy-hero-copy {
    padding-right: 25px;
  }

  .buy-hero-copy h1 {
    font-size: clamp(42px, 5.2vw, 60px);
  }

  .buy-hero-visual {
    min-height: 510px;
  }

  .buy-intro {
    gap: 30px;
  }

  .buy-property-grid {
    column-gap: 23px;
  }

  .buy-process-layout {
    gap: 30px;
  }
}

@media (max-width: 700px) {
  .buy-container {
    width: calc(100% - 40px);
  }

  .buy-hero {
    grid-template-columns: 1fr;
    padding: 52px 20px 0;
  }

  .buy-hero-copy {
    padding: 0 0 30px;
  }

  .buy-hero-copy h1 {
    font-size: clamp(43px, 10vw, 62px);
  }

  .buy-hero-description {
    font-size: 13px;
  }

  .buy-hero-visual {
    min-height: 0;
    height: 360px;
    margin: 0 -20px;
  }

  .buy-hero-image-caption {
    right: 16px;
    left: 16px;
    font-size: 8px;
  }

  .buy-hero-index {
    top: 15px;
    right: 15px;
  }

  .buy-hero-meta {
    gap: 10px;
    margin-top: 27px;
    font-size: 8px;
  }

  .buy-hero-meta span + span {
    padding-left: 10px;
  }

  .buy-intro {
    grid-template-columns: 1fr;
    gap: 23px;
    padding-top: 70px;
    padding-bottom: 75px;
  }

  .buy-intro-content h2,
  .buy-listings-heading h2,
  .buy-process-heading h2,
  .buy-requirements-copy h2 {
    font-size: clamp(37px, 8.5vw, 51px);
  }

  .buy-intro-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }

  .buy-listings {
    padding: 75px 0;
  }

  .buy-listings-heading {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 28px;
  }

  .buy-category-bar {
    gap: 7px;
    margin-bottom: 25px;
  }

  .buy-filter {
    min-height: 35px;
    padding: 0 11px;
    font-size: 9px;
  }

  .buy-property-grid {
    grid-template-columns: 1fr;
    row-gap: 36px;
  }

  .buy-property-image {
    height: clamp(250px, 70vw, 390px);
  }

  .buy-property-info > p {
    min-height: 0;
  }

  .buy-process {
    padding: 75px 0 80px;
  }

  .buy-process-heading {
    margin-bottom: 28px;
  }

  .buy-process-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .buy-process-image {
    position: relative;
    top: auto;
    height: 300px;
  }

  .buy-process-item {
    padding: 22px 0;
  }

  .buy-requirements {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 75px;
    padding-bottom: 80px;
  }

  .buy-requirements-image {
    height: 300px;
  }

  .buy-page .buy-final-cta {
    padding: 58px 20px 50px;
  }

  .buy-page .buy-final-cta h2 {
    font-size: clamp(38px, 9vw, 51px);
  }

  .buy-page .gb-contact-details {
    flex-direction: column;
    gap: 14px;
  }

  .buy-final-address {
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .buy-page *,
  .buy-page *::before,
  .buy-page *::after {
    animation: none !important;
    transition: none !important;
  }

  .buy-page .buy-reveal,
  .buy-page.motion-ready .buy-reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
