/*
Theme Name: InmoDigital
Theme URI: https://inmodigitalrealty.es
Author: Evan Simonenko
Description: Custom editorial theme for InmoDigital Realty — warm paper canvas, deep charcoal ink and a bronze-gold accent system, with Cormorant Garamond over Jost. Replaces RealHomes as the presentation layer while the Easy Real Estate plugin keeps owning the listings.
Version: 0.2.0
Requires at least: 6.5
Tested up to: 7.0
Requires PHP: 8.1
License: Proprietary — commissioned work for InmoDigital Realty
Text Domain: inmodigital
Tags: real-estate, editorial, custom-theme
*/

:root {
  
  --ink: #1b1d1f;           

  --charcoal: #1a2a3a;      
  --charcoal-deep: #142230; 
  --bone: #f6f3ee;          
  --cream: #faf8f4;         
  
  --stone: #5d584f;         
  --stone-light: #706a5f;   

  --gold: #b08a4f;          
  --gold-bright: #c9a86a;   
  --gold-soft: #ddc9a3;     
  --gold-deboss: #806534;   

  
  --font-serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --font-sans: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --shell: 80rem;           
  --ease-curtain: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-settle: cubic-bezier(0.16, 0.7, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--ink);
  line-height: 1.6;
  
  font-variant-numeric: lining-nums;
  
  background-color: var(--bone);
  background-image: var(--paper-grain, none);
  background-repeat: repeat;
  background-size: 300px 300px;
}

img,
video { max-width: 100%; height: auto; display: block; }

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

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.1;
  margin: 0 0 0.6em;
}

p { margin: 0 0 1.1em; }

button { font: inherit; color: inherit; background: none; border: 0; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.9rem 1.4rem;
  background: var(--ink);
  color: var(--cream);
  font-size: 0.8rem;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.tracked {
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: 1.5rem;
}
@media (min-width: 64rem) {
  .shell { padding-inline: 2.5rem; }
}

.screen-reader-text {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (prefers-reduced-motion: no-preference) {
  html.reveal-ready .reveal {
    opacity: 0;
    transform: translateY(26px);
    transition:
      opacity 0.9s var(--ease-settle),
      transform 0.9s var(--ease-settle);
    will-change: opacity, transform;
  }
  html.reveal-ready .reveal.is-in {
    opacity: 1;
    transform: none;
  }
  html.reveal-ready .reveal[data-d="1"] { transition-delay: 0.09s; }
  html.reveal-ready .reveal[data-d="2"] { transition-delay: 0.18s; }
  html.reveal-ready .reveal[data-d="3"] { transition-delay: 0.27s; }
  html.reveal-ready .reveal[data-d="4"] { transition-delay: 0.36s; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.site-header {
  position: relative;
  z-index: 40;
  padding-block: 0 0;
}

.site-header--overlay {
  position: absolute;
  inset: 0 0 auto 0;
  background: transparent;
}

.header-strip {
  border-bottom: 1px solid rgba(27, 29, 31, 0.08);
}
.site-header--overlay .header-strip { border-bottom-color: rgba(255, 255, 255, 0.16); }

.header-strip__inner {
  display: flex;
  align-items: center;
  
  justify-content: flex-start;
  
  gap: 1rem;
  min-height: 2.75rem;
  flex-wrap: wrap;
}

@media (max-width: 56.1875rem) {
  .header-strip__inner { padding-right: 8rem; }
}

@media (min-width: 48rem) {
  .header-strip__inner {
    justify-content: flex-end;
    gap: 1.75rem;
  }
}

@media (min-width: 48rem) and (max-width: 56.1875rem) {
  .header-strip__inner { padding-right: 12rem; }
}

.header-strip__label { display: none; }
@media (min-width: 30rem) {
  .header-strip__label { display: inline; }
}

.contact-marks a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
  transition: color 0.2s ease;
}
.contact-marks a:hover { color: var(--gold); }
.contact-marks svg { width: 13px; height: 13px; flex: none; }

@media (min-width: 48rem) {
  .contact-marks a { font-size: 0.75rem; }
  .contact-marks svg { width: 16px; height: 16px; }
}

.header-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  
  padding-block: clamp(1.125rem, 2.2vw, 1.75rem);
}
.header-brand__link { display: block; }

.header-brand__link::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  margin-top: clamp(0.6rem, 1.2vw, 0.95rem);
  background: rgba(176, 138, 79, 0.45);
}

.site-header--overlay .header-brand__link::after {
  background: rgba(199, 167, 114, 0.5);
}

.header-brand__logo {
  width: auto;
  
  height: clamp(3.16rem, 6.9vw, 4.9rem);
  object-fit: contain;
  
  mix-blend-mode: multiply;
}
.site-header--overlay .header-brand__logo {
  mix-blend-mode: normal;
  filter: brightness(0) invert(1);
}

.header-brand__text {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 5vw, 3rem);
  letter-spacing: 0.06em;
  color: var(--ink);
  line-height: 1;
}
.header-brand__text small {
  display: block;
  margin-top: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold-deboss);
}

.nav-launcher {
  position: fixed;
  top: 0;
  right: 1.25rem;
  height: calc(2.75rem + 1px);
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 0.625rem;
}
@media (min-width: 40rem) {
  .nav-launcher { right: 2rem; }
}

.nav-launcher__label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ink);
  mix-blend-mode: multiply;
}

.hamburger {
  position: relative;
  z-index: 61;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
  width: 1.75rem;
  height: 1.5rem;
  padding: 0;
  cursor: pointer;
}
.hamburger .menu-bar {
  display: block;
  width: 1.75rem;
  height: 1.5px;
  background: var(--ink);
}

.nav-launcher__label,
.hamburger .menu-bar {
  transition: color 0.35s ease, background-color 0.35s ease;
}
.nav-launcher.on-dark .nav-launcher__label {
  color: var(--cream);
  mix-blend-mode: normal;
  
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55);
}
.nav-launcher.on-dark .hamburger .menu-bar {
  background-color: var(--cream);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.lang-switch {
  position: relative;
  font-family: var(--font-sans);
}

.lang-switch__current {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.45rem 0.2rem 0.35rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
  list-style: none;               
  border: 1px solid transparent;
  border-radius: 2px;
  transition: color 0.35s ease, border-color 0.25s ease;
}
.lang-switch__current::-webkit-details-marker { display: none; }
.lang-switch__current:hover { color: var(--gold); border-color: rgba(176, 138, 79, 0.4); }
.lang-switch__current:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.lang-switch__current svg { width: 14px; height: 14px; flex: none; }

.nav-launcher.on-dark .lang-switch__current {
  color: var(--cream);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55);
}
.nav-launcher.on-dark .lang-switch__current:hover {
  color: var(--gold-soft);
  border-color: rgba(221, 201, 163, 0.5);
}

.lang-switch__list {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  z-index: 62;
  min-width: 9.5rem;
  margin: 0;
  padding: 0.35rem 0;
  list-style: none;
  background: var(--cream);
  border: 1px solid rgba(27, 29, 31, 0.1);
  box-shadow: 0 12px 32px rgba(27, 29, 31, 0.16);
}

.lang-switch__link {
  display: block;
  padding: 0.45rem 1rem;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.lang-switch__link:hover,
.lang-switch__link:focus-visible { background: rgba(176, 138, 79, 0.12); color: var(--gold-deboss); }
.lang-switch__link.is-current { color: var(--gold-deboss); font-weight: 500; }
.lang-switch__link.is-current::before { content: "· "; }

.lang-switch[open] .lang-switch__list { animation: lang-drop 0.28s var(--ease-settle) both; }
@keyframes lang-drop {
  from { opacity: 0; transform: translateY(-0.4rem); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .lang-switch[open] .lang-switch__list { animation: none; }
}

body.menu-active .lang-switch { opacity: 0; pointer-events: none; }

.site-overlay {
  position: fixed;
  inset: 0;
  z-index: 55;
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform 0.6s var(--ease-curtain), visibility 0s linear 0.6s;
  overflow: hidden;
  pointer-events: none;
}
.site-overlay.is-open {
  transform: translateY(0);
  visibility: visible;
  transition: transform 0.6s var(--ease-curtain), visibility 0s linear 0s;
  pointer-events: auto;
}

.site-overlay__panel {
  width: 37.5rem;
  max-width: 100%;
  margin-inline: auto;
  max-height: 100vh;
  overflow-y: auto;
  
  padding: 5.5rem 2rem 3.5rem;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  text-align: center;
}

.site-overlay__menu,
.site-overlay__menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-overlay__menu > li + li { margin-top: 1.15rem; }

.site-overlay__menu > li:has(.sub-menu) + li,
.site-overlay__menu > li + li:has(.sub-menu) { margin-top: 2rem; }

.site-link {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 3.5vw, 2rem);
  color: var(--ink);
  transition: color 0.2s ease, opacity 0.4s ease, transform 0.4s ease;
  opacity: 0;
  transform: translateY(20px);
}
.site-link:hover { color: var(--gold); }
.site-overlay.is-open .site-link {
  opacity: 1;
  transform: translateY(0);
}
.site-overlay.is-open .site-link { transition-delay: 0.16s; }
.site-overlay.is-open li:nth-child(2) > .site-link { transition-delay: 0.22s; }
.site-overlay.is-open li:nth-child(3) > .site-link { transition-delay: 0.28s; }
.site-overlay.is-open li:nth-child(4) > .site-link { transition-delay: 0.34s; }
.site-overlay.is-open li:nth-child(5) > .site-link { transition-delay: 0.40s; }
.site-overlay.is-open li:nth-child(6) > .site-link { transition-delay: 0.46s; }
.site-overlay.is-open li:nth-child(7) > .site-link { transition-delay: 0.52s; }
.site-overlay.is-open li:nth-child(n + 8) > .site-link { transition-delay: 0.58s; }

.site-overlay__menu .sub-menu {
  display: block;
  margin: 0.55rem 0 0;
  line-height: 1.95;
  text-align: center;
}
.site-overlay__menu .sub-menu li,
.site-overlay__menu .sub-menu ul { display: inline; }
.site-overlay__menu .sub-menu .site-link {
  
  display: inline;
  
  white-space: nowrap;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--stone);
}
.site-overlay__menu .sub-menu .site-link:hover { color: var(--gold); }

.site-overlay__menu .sub-menu li + li::before {
  content: "·\00a0";
  margin-left: 0.5em;
  color: rgba(176, 138, 79, 0.55);
}
.site-overlay__menu .sub-menu .sub-menu { margin-left: 0.9em; }

.site-link--inert {
  color: var(--stone);
  cursor: default;
}

.site-overlay__menu > li.wpml-ls-menu-item { margin-top: 2rem; }
.site-overlay__menu .wpml-ls-menu-item > .site-link {
  
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
}
.site-overlay__menu .wpml-ls-menu-item > .site-link:hover { color: var(--gold); }

.site-overlay__menu img.wpml-ls-flag {
  display: inline-block;
  width: 1em;
  height: auto;
  margin-right: 0.55em;
  vertical-align: baseline;
}

.site-overlay__rule {
  width: 3rem;
  height: 1px;
  margin: 2rem auto;
  background: rgba(176, 138, 79, 0.5);
}

.site-overlay__contact {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
}
.site-overlay__contact a { transition: color 0.2s ease; }
.site-overlay__contact a:hover { color: var(--gold); }

.site-overlay__staff {
  margin: 1.1rem 0 0;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.site-overlay__staff a {
  color: var(--stone);
  opacity: 0.72;
  transition: color 0.2s ease, opacity 0.2s ease;
}
.site-overlay__staff a:hover,
.site-overlay__staff a:focus-visible { color: var(--gold); opacity: 1; }

.site-overlay__address {
  margin-top: 1.1rem;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 0.75rem;
  line-height: 1.7;
  letter-spacing: 0.06em;
  color: var(--stone);
}
.site-overlay__address a {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.5rem;
  transition: color 0.2s ease;
}
.site-overlay__address a:hover { color: var(--gold); }

.site-overlay__address svg {
  flex: none;
  width: 15px;
  height: 15px;
  margin-top: 0.15em;
  color: var(--gold);
}

.hamburger .menu-bar {
  transition: transform 0.4s var(--ease-curtain), opacity 0.3s ease,
    background-color 0.35s ease;
}
.hamburger.is-open .menu-bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.is-open .menu-bar:nth-child(2) { opacity: 0; }
.hamburger.is-open .menu-bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

body.menu-active { overflow: hidden; }

body.menu-active .nav-launcher__label {
  color: var(--ink);
  mix-blend-mode: normal;
  text-shadow: none;
}
body.menu-active .hamburger .menu-bar {
  background-color: var(--ink);
  box-shadow: none;
}

@media (prefers-reduced-motion: reduce) {
  .site-overlay,
  .site-link,
  .hamburger .menu-bar { transition: none; }
  .site-link { opacity: 1; transform: none; }
}

.site-footer {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(176, 138, 79, 0.4);
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.8);
}

.footer-mark {
  position: absolute;
  right: -1.5rem;
  bottom: -2.5rem;
  pointer-events: none;
  user-select: none;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(8rem, 20vw, 20rem);
  line-height: 1;
  color: rgba(255, 255, 255, 0.035);
}

.footer-inner {
  position: relative;
  padding-block: clamp(4rem, 8vw, 7rem);
}
@media (min-width: 64rem) {
  .footer-inner { padding-block: 3.5rem; }
}

.footer-signoff {
  display: grid;
  gap: 3rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
@media (min-width: 64rem) {
  .footer-signoff {
    grid-template-columns: 1.2fr 1fr;
    align-items: end;
    padding-bottom: 2.5rem;
  }
}

.footer-logo {
  height: 3rem;
  width: auto;
  object-fit: contain;
  
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.footer-wordmark {
  font-family: var(--font-serif);
  font-size: 2rem;
  letter-spacing: 0.06em;
  color: #fff;
  line-height: 1;
}

.footer-claim {
  margin-top: 1.75rem;
  max-width: 28rem;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.7rem, 2.6vw, 2.4rem);
  line-height: 1.1;
  color: #fff;
}

.footer-hablemos { text-align: left; }
@media (min-width: 64rem) {
  .footer-hablemos { text-align: right; }
}
.footer-hablemos__eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--gold-soft);
}
.footer-phone {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--gold-soft);
  transition: color 0.2s ease;
}
.footer-phone:hover { color: #fff; }
@media (min-width: 40rem) {
  .footer-phone { font-size: 2.4rem; }
}
.footer-actions {
  margin-top: 1.25rem;
  display: flex;
  gap: 0.75rem;
}
@media (min-width: 64rem) {
  .footer-actions { justify-content: flex-end; }
}
.footer-btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 2px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.footer-btn:hover {
  border-color: var(--gold-soft);
  color: var(--gold-soft);
}

.footer-columns {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
}
@media (min-width: 48rem) {
  .footer-columns { grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); }
}
@media (min-width: 64rem) {
  .footer-columns { margin-top: 2.5rem; }
}

.footer-columns h3 {
  margin: 0 0 1.25rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.footer-columns ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-columns li + li { margin-top: 0.75rem; }
.footer-columns a,
.footer-columns address {
  font-size: 0.875rem;
  font-weight: 300;
  font-style: normal;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s ease;
}
.footer-columns a:hover { color: var(--gold-soft); }

@media (min-width: 64rem) {
  .footer-columns h3 { font-size: 0.76rem; }
  .footer-columns a,
  .footer-columns address {
    font-size: 1.06rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
  }
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.footer-social a { color: rgba(255, 255, 255, 0.55); }
.footer-social a:hover { color: var(--gold-soft); }

.brand-mark {
  flex: none;
  transition: opacity 0.2s ease;
}
.contact-marks a:hover .brand-mark,
.footer-social a:hover .brand-mark { opacity: 0.75; }

.contact-marks .brand-mark { width: 12px; height: 12px; }
@media (min-width: 48rem) {
  .contact-marks .brand-mark { width: 14px; height: 14px; }
}
.footer-social .brand-mark { width: 18px; height: 18px; }

.footer-bottom {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.75rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.62);
}
@media (min-width: 40rem) {
  .footer-bottom { flex-direction: row; }
}
@media (min-width: 64rem) {
  .footer-bottom {
    margin-top: 2.25rem;
    padding-top: 1.5rem;
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.6);
  }
}
.footer-legal {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
}
.footer-bottom p { margin: 0; }
.footer-bottom a { transition: color 0.2s ease; }
.footer-bottom a:hover { color: rgba(255, 255, 255, 0.7); }

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .footer-mark {
      animation: footer-mark-drift linear both;
      animation-timeline: view();
      will-change: transform;
    }
  }
}
@keyframes footer-mark-drift {
  from { transform: translateY(12%); }
  to { transform: translateY(-12%); }
}

.site-main { min-height: 50vh; }

.page-head {
  padding-block: clamp(2.25rem, 5vw, 4rem) clamp(2rem, 4vw, 3rem);
  text-align: center;
}

.page-head__eyebrow {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--gold-deboss);
}
.page-head h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.5rem);
}

body.inmo-catalogue .page-head {
  
  padding-block: 3rem 2rem;
}

body.inmo-catalogue .page-head__eyebrow {
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
  font-weight: 300;
}

body.inmo-catalogue .page-head__eyebrow--brand { color: var(--gold); }

body.inmo-catalogue .page-head h1 {
  
  font-size: clamp(2.25rem, 5vw, 3rem);
  
  line-height: 1.25;
}

.page-head__rule {
  width: 4rem;
  height: 1px;
  margin: 1.5rem auto 0;
  background: var(--gold);
}

.page-head__brand { display: none; }

@media (min-width: 900px) {
  .page-head--brand { position: relative; }

  .page-head__brand {
    display: block;
    position: absolute;
    
    left: 2.5rem;
    top: 50%;
    transform: translateY(-50%);
  }

  .page-head__brand img {
    display: block;
    width: auto;
    height: clamp(3.16rem, 6.9vw, 4.9rem);
    object-fit: contain;
    
    mix-blend-mode: multiply;
  }

  .page-head__brand::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    margin-top: clamp(0.6rem, 1.2vw, 0.95rem);
    background: rgba(176, 138, 79, 0.45);
  }

  .page-head__brand:hover img { opacity: 0.85; }
}

.entry {
  max-width: 44rem;
  margin-inline: auto;
  padding-bottom: clamp(3rem, 7vw, 6rem);
  font-size: 1.0625rem;
  color: var(--ink);
}
.entry a { color: var(--gold-deboss); text-decoration: underline; text-underline-offset: 3px; }
.entry a:hover { color: var(--gold); }
.entry h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-top: 2em; }
.entry h3 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); margin-top: 1.8em; }
.entry img { margin-block: 2rem; }
.entry blockquote {
  margin: 2rem 0;
  padding-left: 1.5rem;
  border-left: 2px solid var(--gold);
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--stone);
}

.entry-list { list-style: none; margin: 0; padding: 0 0 clamp(3rem, 7vw, 6rem); }
.entry-list > li + li {
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(27, 29, 31, 0.1);
}
.entry-list h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 0.35em; }
.entry-list h2 a:hover { color: var(--gold-deboss); }
.entry-meta {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone-light);
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  padding-bottom: clamp(3rem, 7vw, 6rem);
  font-size: 0.8rem;
}
.pagination .page-numbers {
  padding: 0.4rem 0.85rem;
  border: 1px solid rgba(27, 29, 31, 0.15);
  color: var(--stone);
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover {
  border-color: var(--gold);
  color: var(--gold-deboss);
}

.btn {
  display: inline-block;
  padding: 0.85rem 1.9rem;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.btn--gold { background: var(--gold-deboss); color: #fff; }
.btn--gold:hover { background: var(--gold); }

.btn--ink { background: var(--ink); color: var(--cream); }
.btn--ink:hover { background: var(--gold-deboss); }

.btn--ghost { border-color: rgba(27, 29, 31, 0.25); color: var(--ink); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-deboss); }

.btn--ghost-light { border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.btn--ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.12); }

.hero-reveal {
  position: relative;
  
  margin-top: calc(-1 * clamp(1.5rem, 4.2vw, 3.75rem));
  
  --tear-h: clamp(120px, 15vw, 220px);
  
  --tear-overlap: calc(var(--tear-h) * 0.65);

  
  --hero-tear-rise: clamp(0px, 2.9vw - 26px, 40px);
  --hero-tear-trim: clamp(0px, 2.8vw, 60px);

  --scrub: clamp(18rem, 32vw, 30rem);
  
  --runway: var(--scrub);
  
  --intro-lift: clamp(20rem, 30vw, 28rem);
}

@media (max-width: 40rem) {
  .hero-reveal { --tear-overlap: calc(var(--tear-h) * 0.95); }
}

.hero-reveal__stage {
  position: relative;
  z-index: 0;
}

.hero-hold {
  position: sticky;
  top: 0;
}

.hero-runway { height: var(--runway); }

.hero-sheet {
  position: relative;
  z-index: 10;
  margin-top: calc(-1 * (var(--runway) + var(--tear-overlap)));
}

.hero-sheet__edge {
  
  height: calc(var(--tear-h) - var(--hero-tear-trim));
  background-image: var(--tear-bottom);
  background-position: center calc(100% + var(--hero-tear-trim));
  pointer-events: none;
}

.hero .tear--top {
  background-position: center calc(-1 * var(--hero-tear-rise));
}

.hero-sheet__body {
  position: relative;
  display: flow-root;
  background-color: var(--bone);
  background-image: var(--paper-grain, none);
  background-repeat: repeat;
  background-size: 300px 300px;
}

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: scroll()) {
    .hero-glide .hero-reveal { --runway: calc(var(--scrub) * 2); }

    .hero-glide .hero-hold {
      position: static;
      animation-name: hero-hold-glide;
      animation-fill-mode: both;
      animation-timeline: scroll(root block);
      animation-range: var(--hold-start, 0px) calc(var(--hold-start, 0px) + var(--runway));
      animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
  }

  html.curtain .hero-sheet {
    animation: hero-curtain 1.25s var(--ease-curtain) 0.12s backwards;
  }
}

@keyframes hero-hold-glide {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(0, var(--scrub), 0); }
}

@keyframes hero-curtain {
  from { transform: translate3d(0, calc(-1 * var(--intro-lift)), 0); }
  to { transform: translate3d(0, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-hold { position: static; }
  .hero-runway { display: none; }
  .hero-sheet { margin-top: calc(-1 * var(--tear-overlap)); }
}

.hero { position: relative; }

.hero__plate {
  position: relative;
  overflow: hidden;

  height: clamp(32rem, 46vw, 40rem);
  background: var(--charcoal-deep);
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  
  object-position: 58% center;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(12, 14, 16, 0.45) 0%,
    rgba(12, 14, 16, 0.12) 30%,
    
    rgba(12, 14, 16, 0.05) 38%,
    rgba(12, 14, 16, 0.26) 52%,
    rgba(12, 14, 16, 0.44) 72%,
    rgba(12, 14, 16, 0.68) 100%
  );
}

@media (max-width: 48rem) {
  .hero__scrim {
    background: linear-gradient(
      to bottom,
      rgba(12, 14, 16, 0.42) 0%,
      rgba(12, 14, 16, 0.16) 22%,
      rgba(12, 14, 16, 0.34) 45%,
      rgba(12, 14, 16, 0.72) 100%
    );
  }
}

.hero__copy {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  
  padding-bottom: clamp(5.5rem, 9.5vw, 9rem);
  color: #fff;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.45);
}

.hero__eyebrow {
  margin: 0 0 0.9rem;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--gold-soft);
  
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85), 0 0 16px rgba(0, 0, 0, 0.5);
}

.hero__title {
  margin: 0;
  max-width: 22ch;
  font-size: clamp(2.05rem, 5vw, 3.9rem);
  color: #fff;
}

.hero__sub {
  margin: 0.9rem 0 0;
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.88);
}

.hero__actions {
  margin: 1.75rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.band { padding-block: clamp(3.5rem, 7vw, 6rem); }

.band--search {

  --searchbar-w: 44rem;

  padding-top: clamp(1.25rem, 2.5vw, 2rem);
  padding-bottom: 0;

  margin-bottom: -1.75rem;
}

.band--search .band__head {
  max-width: var(--searchbar-w);
  margin-inline: auto;
  
  margin-bottom: clamp(1.5rem, 2.5vw, 2rem);
}

.band__head {
  
  margin-bottom: clamp(2.75rem, 5vw, 4.5rem);
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  text-align: left;
}

@media (min-width: 64rem) {
  .band__head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 3rem;
  }
}
.band__head > div { min-width: 0; }

.band__eyebrow {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--gold-deboss);
}
[data-nav-dark] .band__eyebrow { color: var(--gold-soft); }

.band__head h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4.8vw, 3.9rem);
  line-height: 1;
  text-wrap: balance;
}

.band__head--minor { margin-bottom: clamp(2.25rem, 3.5vw, 3rem); }
.band__head--minor h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
.band__head--minor .band__eyebrow { margin-bottom: 0.6rem; }

.band__sub {
  margin: 0;
  max-width: 20rem;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.65;
  color: var(--stone);
}
@media (min-width: 64rem) {
  .band__sub {
    
    padding-bottom: 0;
    margin-bottom: -2rem;
    text-align: right;
  }
}

.band__more {
  margin: clamp(2.75rem, 5vw, 4rem) 0 0;
  text-align: center;
}

.searchbar {
  display: grid;
  gap: 1rem;
  max-width: var(--searchbar-w, 48rem);
  margin-inline: auto;
  
  padding: clamp(0.75rem, 1.3vw, 1rem) clamp(1.1rem, 2vw, 1.5rem)
    clamp(1.1rem, 2vw, 1.5rem);
  background: var(--cream);
  border: 1px solid rgba(27, 29, 31, 0.1);
  border-radius: 2px;
}

@media (max-width: 30rem) {
  .btn { padding-inline: 1.35rem; }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero__actions .btn { text-align: center; }
}

@media (min-width: 48rem) {
  .searchbar {
    grid-template-columns: 1fr 1fr auto;
    align-items: end;
  }
}

.searchbar__field,
.searchbar__submit { margin: 0; }

.searchbar__label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gold-deboss);
}

.searchbar select {
  width: 100%;
  padding: 0.65rem 2.25rem 0.65rem 0.9rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--ink);
  background-color: #fff;
  border: 1px solid rgba(27, 29, 31, 0.18);
  border-radius: 2px;
  
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--stone) 50%),
    linear-gradient(135deg, var(--stone) 50%, transparent 50%);
  background-position: right 1.1rem center, right 0.8rem center;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.searchbar select:hover { border-color: var(--gold); }

.searchbar__note {
  max-width: var(--searchbar-w, 48rem);
  margin: 0.85rem auto 0;
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--stone);
  text-align: right;
}

.searchbar__submit .btn { width: 100%; }
@media (min-width: 48rem) {
  .searchbar__submit .btn { width: auto; }
}

.p-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.5rem, 2.4vw, 2rem) clamp(1.1rem, 2vw, 1.6rem);
}
@media (min-width: 34rem) {
  .p-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 60rem) {
  
  .p-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.p-card,
.p-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.p-card {
  position: relative;
  overflow: hidden;
  background: var(--cream);
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(27, 29, 31, 0.06), 0 0 0 1px rgba(27, 29, 31, 0.05);
  transition: transform 0.3s var(--ease-settle), box-shadow 0.3s var(--ease-settle);
}

.p-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -18px rgba(27, 29, 31, 0.35), 0 0 0 1px var(--gold-soft);
}
@media (prefers-reduced-motion: reduce) {
  .p-card:hover { transform: none; }
}

.p-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.05rem 1.25rem 1.15rem;
  text-align: center;
}

.p-card__frame {
  position: relative;
  overflow: hidden;
  
  aspect-ratio: 3 / 2;
  background: rgba(27, 29, 31, 0.06);
}

.p-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-settle);
}
.p-card__link:hover .p-card__img { transform: scale(1.045); }

.p-card__img--none {
  
  background: repeating-linear-gradient(
    -45deg,
    rgba(27, 29, 31, 0.05) 0 8px,
    rgba(27, 29, 31, 0.02) 8px 16px
  );
}

.p-card__flag {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  padding: 0.3rem 0.6rem;
  background: var(--gold-deboss);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 500;
}

.p-card__place {
  
  margin: 0 0 0.3rem;
  
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.18em;
  color: var(--gold);
}

.p-card__title {
  
  margin: 0;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink);
  transition: color 0.3s ease;
}

.p-card__title--name {
  
  font-size: 1.05rem;
  text-transform: none;
  letter-spacing: normal;
}
.p-card__link:hover .p-card__title { color: var(--gold); }

.p-card__facts {
  list-style: none;
  margin: 0.55rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.3rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 300;
  letter-spacing: 0.025em;
  color: var(--stone);
}
.p-card__facts li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.p-card__facts svg {
  width: 15px;
  height: 15px;
  color: var(--gold);
}

.p-card__foot { margin-top: auto; padding-top: 0.8rem; }

.p-card__rule {
  display: block;
  width: 32px;
  height: 1px;
  margin: 0 auto 0.55rem;
  background: var(--gold-soft);
  transition: width 0.3s ease, background-color 0.3s ease;
}
.p-card:hover .p-card__rule {
  width: 52px;
  background: var(--gold);
}

.p-card__price {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.05;
  color: var(--gold);
}

.p-card__more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.4rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--stone);
  transition: color 0.3s ease;
}
.p-card:hover .p-card__more { color: var(--gold); }
.p-card__arrow {
  width: 14px;
  height: 14px;
  transition: transform 0.3s ease;
}
.p-card:hover .p-card__arrow { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) {
  .p-card:hover .p-card__arrow { transform: none; }
}

.agent-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  
  row-gap: clamp(1.5rem, 3vw, 2.5rem);
  column-gap: min(3rem, 3.2%);
  text-align: center;
}

.agent-grid > li {
  flex: 0 1 clamp(8.5rem, 14vw, 12.5rem);
  display: flex;
  flex-direction: column;
}
.agent-grid > li > .agent__link { display: block; }

.agent__foot { margin-top: auto; }

@media (max-width: 63.99rem) {
  .agent-grid { --agent-gap: clamp(0.9rem, 3vw, 2rem); column-gap: var(--agent-gap); }
  
  .agent-grid > li { flex: 0 1 calc((100% - 2 * var(--agent-gap)) / 3 - 0.5px); }
}

@media (min-width: 64rem) {
  .agent-grid--pinned > li:nth-child(4) { order: 1; }
  .agent-grid--pinned > li:nth-child(2) { order: 2; }
  .agent-grid--pinned > li:nth-child(1) { order: 3; }
  .agent-grid--pinned > li:nth-child(3) { order: 4; }
  .agent-grid--pinned > li:nth-child(n + 5) { order: 5; }

  .agent-grid--pinned > li:nth-child(1) { flex-basis: clamp(10.5rem, 16.5vw, 13.5rem); }
  .agent-grid--pinned > li:nth-child(1) .agent__portrait { max-width: 10.2rem; }

  .agent-grid--pinned > li:not(:nth-child(1)) .agent__portrait { margin-top: 1.7rem; }
}

.agent__portrait {
  display: block;
  width: 100%;
  max-width: 8.5rem;
  margin: 0 auto 0.9rem;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 50%;
  background: rgba(27, 29, 31, 0.06);
  
  box-shadow: inset 0 0 0 1px rgba(176, 138, 79, 0.6);

  position: relative;
  transform-origin: center;
  transition:
    transform 0.55s var(--ease-settle),
    box-shadow 0.55s var(--ease-settle);
}

.agent__portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 1px var(--gold-soft),
    inset 0 0 26px rgba(176, 138, 79, 0.3);
  transition: opacity 0.55s var(--ease-settle);
}

.agent__link:hover .agent__portrait,
.agent__link:focus-visible .agent__portrait {
  
  transform: translateY(-9px) scale(1.07);
  box-shadow:
    inset 0 0 0 1px rgba(176, 138, 79, 0.6),
    0 18px 38px -20px rgba(27, 29, 31, 0.42),
    0 0 30px rgba(176, 138, 79, 0.26);
}
.agent__link:hover .agent__portrait::after,
.agent__link:focus-visible .agent__portrait::after { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .agent__link:hover .agent__portrait,
  .agent__link:hover .agent__img { transform: none; }
}
.agent__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-settle);
}
.agent__link:hover .agent__img,
.agent__link:focus-visible .agent__img { transform: scale(1.08); }

.agent__name {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  line-height: 1.25;
  transition: color 0.2s ease;
}
.agent__link:hover .agent__name { color: var(--gold-deboss); }

.agent__role {
  margin: 0.5rem 0 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--stone);
  text-wrap: pretty;
  
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  min-height: 4.35em;
}

.agent__count {
  margin: 0.55rem 0 0;
  
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deboss);
}

.agent__routes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.3rem 0.8rem;
  margin: 0;
  padding-top: 0.7rem;
  font-size: 0.76rem;
  letter-spacing: 0.05em;
}
.agent__route {
  color: var(--stone);
  border-bottom: 1px solid rgba(27, 29, 31, 0.18);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.agent__route:hover { color: var(--gold-deboss); border-color: var(--gold); }

.agent__route--phone {
  flex: 0 0 100%;
  color: var(--ink);
  
  border-bottom: 0;
}
.agent__route--phone > span {
  border-bottom: 1px solid rgba(27, 29, 31, 0.18);
  padding-bottom: 2px;
}
.agent__route--phone:hover > span { border-color: var(--gold); }

@media (max-width: 29.99rem) {
  .agent__count,
  .agent__routes { display: none; }
  
  .agent__role {
    font-size: 0.75rem;
    line-height: 1.4;
    min-height: 2.8em;
    display: block;
    -webkit-line-clamp: unset;
    line-clamp: unset;
  }
  .agent__role-where { display: none; }
  .agent__name { font-size: 0.92rem; }
}

.band--valuation {
  position: relative;
  overflow: hidden;
  
  border-top: 1px solid rgba(176, 138, 79, 0.4);
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.78);
}

.valuation__mark {
  position: absolute;
  right: -0.5rem;
  bottom: -3.5rem;
  pointer-events: none;
  user-select: none;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(8rem, 20vw, 20rem);
  line-height: 1;
  color: rgba(255, 255, 255, 0.04);
}
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .valuation__mark {
      animation: footer-mark-drift linear both;
      animation-timeline: view();
      will-change: transform;
    }
  }
}

.valuation {
  position: relative;
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
}

@media (min-width: 64rem) {
  .valuation {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
  }
}

.valuation h2 {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 3.9rem);
  line-height: 1.04;
  color: #fff;
}
.valuation__eyebrow {
  margin: 0 0 1.5rem;
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--gold-soft);
}

.valuation__sub {
  margin: 1.6rem 0 0;
  font-size: 0.95rem;
  color: var(--gold-soft);
}

.valuation__list {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
}
.valuation__list li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.95rem;
  font-weight: 300;
}
.valuation__list li + li { margin-top: 0.6rem; }
.valuation__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--gold);
}

.valuation__steps-head {
  margin: 2.5rem 0 1.25rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}
.steps li {
  position: relative;
  padding-left: 3rem;
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.6;
}
.steps li + li {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.steps strong {
  display: block;
  margin-bottom: 0.2rem;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: #fff;
}
.steps__n {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(221, 201, 163, 0.45);
  border-radius: 50%;
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--gold-soft);
}
.steps li + li .steps__n { top: 1.5rem; }

.valuation__form {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(4px);
  color: rgba(255, 255, 255, 0.85);
}
.valuation__fallback { margin: 0; }
.valuation__fallback a {
  color: var(--gold-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.valuation__form-eyebrow {
  margin: 0 0 1.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gold-soft);
}

.valuation__form .wpforms-container {
  --wpforms-field-border-radius: 2px;
  --wpforms-field-background-color: rgba(255, 255, 255, 0.05);
  --wpforms-field-border-color: rgba(255, 255, 255, 0.15);
  --wpforms-field-text-color: #fff;
  --wpforms-label-color: rgba(255, 255, 255, 0.55);
  --wpforms-label-sublabel-color: rgba(255, 255, 255, 0.4);
  --wpforms-button-border-radius: 2px;
  --wpforms-button-background-color: var(--gold);
  --wpforms-button-border-color: var(--gold);
  --wpforms-button-text-color: #fff;
  --wpforms-page-break-color: var(--gold);
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
}

.valuation__form div.wpforms-container-full .wpforms-form .wpforms-field-label,
.valuation__form div.wpforms-container-full .wpforms-form .wpforms-field-label-inline,
.valuation__form div.wpforms-container-full .wpforms-form .wpforms-head-container {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.55);
}
.valuation__form div.wpforms-container-full .wpforms-form .wpforms-required-label {
  color: var(--gold-soft);
}

.valuation__form div.wpforms-container-full .wpforms-form input[type="text"],
.valuation__form div.wpforms-container-full .wpforms-form input[type="tel"],
.valuation__form div.wpforms-container-full .wpforms-form input[type="email"],
.valuation__form div.wpforms-container-full .wpforms-form input[type="url"],
.valuation__form div.wpforms-container-full .wpforms-form input[type="number"],
.valuation__form div.wpforms-container-full .wpforms-form select,
.valuation__form div.wpforms-container-full .wpforms-form textarea {
  font-family: var(--font-sans);
  font-weight: 300;
  color: #fff;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 2px;
}

.valuation__form div.wpforms-container-full .wpforms-form .wpforms-field-small,
.valuation__form div.wpforms-container-full .wpforms-form .wpforms-field-medium,
.valuation__form div.wpforms-container-full .wpforms-form .wpforms-field-large,
.valuation__form div.wpforms-container-full .wpforms-form .iti {
  max-width: 100%;
  width: 100%;
}

.valuation__form div.wpforms-container-full .wpforms-form input::placeholder,
.valuation__form div.wpforms-container-full .wpforms-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}
.valuation__form div.wpforms-container-full .wpforms-form input:focus,
.valuation__form div.wpforms-container-full .wpforms-form select:focus,
.valuation__form div.wpforms-container-full .wpforms-form textarea:focus {
  border-color: var(--gold-soft);
}

.valuation__form div.wpforms-container-full .wpforms-form .iti__selected-country,
.valuation__form div.wpforms-container-full .wpforms-form .iti__selected-country-primary {
  background: transparent;
}
.valuation__form div.wpforms-container-full .wpforms-form .iti__selected-country:hover {
  background: rgba(255, 255, 255, 0.07);
}
.valuation__form div.wpforms-container-full .wpforms-form .iti__arrow {
  border-top-color: rgba(255, 255, 255, 0.55);
}
.valuation__form div.wpforms-container-full .wpforms-form .iti__dropdown-content {
  color: var(--ink);
  background: var(--cream);
}

.valuation__form div.wpforms-container-full .wpforms-form .wpforms-field-checkbox label {
  font-size: 0.78rem;
  line-height: 1.55;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.6);
}

.valuation__form div.wpforms-container-full .wpforms-form input[type="checkbox"],
.valuation__form div.wpforms-container-full .wpforms-form input[type="radio"] {
  accent-color: var(--gold);
}
.valuation__form div.wpforms-container-full .wpforms-form .wpforms-field-checkbox a {
  color: var(--gold-soft);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.valuation__form div.wpforms-container-full .wpforms-form label.wpforms-error,
.valuation__form div.wpforms-container-full .wpforms-form em.wpforms-error {
  font-size: 0.75rem;
  color: #e3a09a;
}

.valuation__form div.wpforms-container-full .wpforms-form .wpforms-submit-container {
  padding: 0;
}
.valuation__form div.wpforms-container-full .wpforms-form button[type="submit"] {
  width: 100%;
  padding: 1rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
  background-color: var(--gold-deboss);
  border: 1px solid var(--gold-deboss);
  border-radius: 2px;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.valuation__form div.wpforms-container-full .wpforms-form button[type="submit"]:hover {
  background-color: var(--gold);
  border-color: var(--gold);
}

.discover {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
}
@media (min-width: 40rem) {
  .discover { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.discover__col h3 {
  margin: 0 0 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(27, 29, 31, 0.12);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deboss);
}
.discover__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.discover__col li + li { margin-top: 0.7rem; }
.discover__col a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--ink);
  transition: color 0.2s ease;
}
.discover__col a:hover { color: var(--gold-deboss); }

.discover__count {
  font-size: 0.8rem;
  
  font-variant-numeric: lining-nums tabular-nums;
  color: var(--stone);
}

.tear,
.hero-sheet__edge {
  background-repeat: no-repeat;
  
  background-size: 100% auto;
}

.tear {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 3;
  
  height: var(--tear-h, clamp(42px, 5vw, 70px));
  pointer-events: none;
}
.tear--top { top: 0; background-image: var(--tear-top); background-position: top center; }
.tear--bottom { bottom: 0; background-image: var(--tear-bottom); background-position: bottom center; }

.band--catalogue { padding-top: clamp(1.5rem, 3vw, 2.5rem); }

body.inmo-catalogue .band--catalogue { padding-top: 0; }

.page-head__count {
  margin: 0.35rem 0 0;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deboss);
}

.page-head__intro {
  max-width: 46rem;
  margin: 1rem auto 0;
  color: var(--stone);
}

.filters {
  margin-bottom: clamp(2.25rem, 4vw, 3.25rem);
  padding: clamp(1.5rem, 3vw, 2.25rem) 0 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.filters__bar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
@media (min-width: 64rem) {
  .filters__bar {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
  }
  
  .filters__group--zona { flex: 1 1 0; min-width: 0; }
  
  .filters__side { flex: 0 1 22rem; }
}

.filters__group {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.filters__side {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1.25rem 1.5rem;
}

.filters__side > .filters__group--select { flex: 0 1 14rem; }

.pills {
  display: grid;

  
  grid-template-columns: repeat(
    auto-fill,
    minmax(max(6rem, calc((100% - (var(--pill-cols, 1) - 1) * 0.4rem) / var(--pill-cols, 1))), 1fr)
  );
  gap: 0.4rem;
}

.pills__break { display: none; }

@media (min-width: 900px) {
  .pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    
    column-gap: 0.4rem;
    row-gap: 0;
  }
  
  .pills__break {
    display: block;
    flex-basis: 100%;
    height: 0.4rem;
  }
}

.pill {
  display: inline-flex;
  align-items: center;
  
  justify-content: space-between;
  white-space: nowrap;
  overflow: hidden;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  text-align: left;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.5;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid rgba(27, 29, 31, 0.14);
  border-radius: 9999px;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}
.pill:hover { color: var(--gold-deboss); border-color: var(--gold); }

.pill.is-active {
  color: #fff;
  background: var(--gold);
  border-color: var(--gold);
}
.pill.is-active:hover { color: #fff; background: var(--gold); border-color: var(--gold); }

.pill-t {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pill-n {
  
  flex: 0 0 auto;
  font-weight: 300;
  color: var(--stone);
}
.pill.is-active .pill-n { color: #fff; }

.filters__switch {
  
  position: fixed;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  opacity: 0;
  pointer-events: none;
  appearance: none;
}

.filters__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  
  width: 6.35rem;
  gap: 0.3rem;
  
  padding: 0.28rem 0.4rem;
  font-size: 0.75rem;
  line-height: 1.5;
  font-weight: 500;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid rgba(27, 29, 31, 0.14);
  border-radius: 2px;
  cursor: pointer;
  overflow: hidden;
  white-space: nowrap;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.filters__toggle .filters__toggle-word {
  text-transform: none;
  letter-spacing: 0.01em;
}

@media (max-width: 47.99rem) {
  
  .filters__toggle { align-self: stretch; width: auto; padding: 0.7rem 1rem; font-size: 0.75rem; }
  .filters__toggle .filters__toggle-word { text-transform: uppercase; letter-spacing: 0.22em; }
  .filters__chev { width: 14px; height: 14px; }
}

@media (min-width: 64rem) {
  .filters__bar { flex-wrap: wrap; }
  .filters__side { order: 4; flex: 1 1 100%; margin-top: 0.25rem; }
  .filters__toggle { order: 3; margin-top: 1.45rem; }
}
.filters__toggle:hover { color: var(--gold-deboss); border-color: var(--gold); }

.filters__switch:focus-visible ~ .filters__bar .filters__toggle {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.filters__toggle-word--less { display: none; }
.filters__switch:checked ~ .filters__bar .filters__toggle-word--more { display: none; }
.filters__switch:checked ~ .filters__bar .filters__toggle-word--less { display: inline; }

.filters__toggle-n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1;
  color: #fff;
  background: var(--gold-deboss);
  border-radius: 9999px;
}

.filters__chev {
  flex: 0 0 auto;
  width: 11px;
  height: 11px;
  color: var(--gold);
  transition: transform 0.25s var(--ease-settle);
}
.filters__switch:checked ~ .filters__bar .filters__chev { transform: rotate(180deg); }
@media (prefers-reduced-motion: reduce) {
  .filters__chev { transition: none; }
}

.filters__switch:not(:checked) ~ .filters__bar .filters__side,
.filters__switch:not(:checked) ~ .filters__more { display: none; }

.filters__field { margin: 0; }

.filters__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gold-deboss);
}

.filters__field .filters__label { margin-bottom: 0.45rem; }

.filters__more {
  display: grid;
  gap: 1rem 1.25rem;
  grid-template-columns: minmax(0, 1fr);
  margin-top: 1.75rem;
  padding-block: 1.5rem clamp(1.5rem, 3vw, 2.25rem);
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
@media (min-width: 34rem) {
  .filters__more { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 60rem) {
  .filters__more { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

.filters__field--go { display: flex; align-items: flex-end; }
.filters__field--go .btn { width: 100%; text-align: center; }

.catalogue-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  margin: 1.25rem 0 clamp(1.5rem, 3vw, 2.25rem);
}

@media (max-width: 34rem) {
  .catalogue-bar { justify-content: flex-start; }
  .catalogue-bar .filters__count { order: -1; }
}

.filters__count {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  
  margin: 0;
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--stone);
}

.filters select,
.filters input[type="search"] {
  width: 100%;
  padding: 0.75rem 0.9rem;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--ink);
  background-color: #fff;
  border: 1px solid rgba(27, 29, 31, 0.18);
  border-radius: 2px;
  
  appearance: none;
}
.filters select {
  padding-right: 2.25rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--stone) 50%),
    linear-gradient(135deg, var(--stone) 50%, transparent 50%);
  background-position: right 1.1rem center, right 0.8rem center;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.filters select:hover,
.filters input[type="search"]:hover { border-color: var(--gold); }

.filters__group--select select { width: 100%; min-width: 9.5rem; }

.filters__clear {
  font-size: 0.75rem;
  color: var(--stone);
  border-bottom: 1px solid rgba(27, 29, 31, 0.2);
  padding-bottom: 2px;
}
.filters__clear:hover { color: var(--gold-deboss); border-color: var(--gold); }

.catalogue-empty {
  max-width: 34rem;
  margin-inline: auto;
  padding-block: clamp(2rem, 5vw, 4rem);
  text-align: center;
}
.catalogue-empty h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
.catalogue-empty p { color: var(--stone); }
.catalogue-empty__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.pagination { margin-top: clamp(2.5rem, 5vw, 4rem); }
.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
}
.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.6rem;
  padding: 0.6rem 0.7rem;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--stone);
  border: 1px solid rgba(27, 29, 31, 0.12);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.pagination .page-numbers:hover { border-color: var(--gold); color: var(--gold-deboss); }
.pagination .page-numbers.current {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}
.pagination .page-numbers.dots { border-color: transparent; }

.pagination--top {
  margin-top: 0;
  padding-bottom: 0;
  justify-content: flex-start;
}
.pagination--top .nav-links { justify-content: flex-start; gap: 0.3rem; }
.pagination--top .page-numbers {
  min-width: 2rem;
  padding: 0.3rem 0.5rem;
}

.p-card__flag--sold { background: var(--charcoal); }

.p-gallery {
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
  padding-block: clamp(1.25rem, 2.5vw, 2rem) clamp(2rem, 4.5vw, 3.75rem);
  background: var(--charcoal);
}

@media (min-width: 64rem) {
  
  .p-gallery__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 11rem;
    align-items: start;
    gap: 1rem;
  }
}

.p-gallery__price {
  margin: 0 0 clamp(1.5rem, 3vw, 2.5rem);
  padding-inline: 1.5rem;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  line-height: 1.15;
  text-align: center;
  color: var(--gold-soft);
}

.p-gallery__price-note {
  display: inline-block;
  margin-inline-start: 0.25rem;
  font-family: var(--font-sans);
  
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  
}

.p-gallery__frame {
  padding: 0.75rem;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 18px 50px -24px rgba(0, 0, 0, 0.75);
}
@media (min-width: 64rem) {
  
  .p-gallery__frame { height: clamp(28rem, 62vh, 41rem); }
}

.p-gallery__stage {
  position: relative;
  overflow: hidden;
  
  aspect-ratio: 3 / 2;
  background: var(--bone);
  border-radius: 7px;
}
@media (min-width: 64rem) {
  .p-gallery__stage {
    aspect-ratio: auto;
    height: 100%;
  }
}

.p-gallery__zoom {
  display: block;
  height: 100%;
  cursor: zoom-in;
}

.p-gallery__img,
.p-gallery__fade {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

@media (min-width: 64rem) {
  .p-gallery__frame.is-portrait {
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
    justify-self: center;
  }

  .p-gallery__inner.has-portrait {
    grid-template-columns: auto 11rem;
    justify-content: center;
    gap: 1.5rem;
  }
  .p-gallery__frame.is-portrait .p-gallery__stage,
  .p-gallery__frame.is-portrait .p-gallery__zoom { width: fit-content; }
  .p-gallery__frame.is-portrait .p-gallery__img,
  .p-gallery__frame.is-portrait .p-gallery__fade {
    width: auto;
    height: 100%;
    object-fit: contain;
  }
}

@media (max-width: 63.9375rem) {
  .p-gallery__frame.is-portrait .p-gallery__stage { aspect-ratio: auto; }
  .p-gallery__frame.is-portrait .p-gallery__img {
    height: auto;
    max-height: 76vh;
    object-fit: contain;
  }
  .p-gallery__frame.is-portrait .p-gallery__fade { object-fit: contain; }
}

@media (prefers-reduced-motion: no-preference) {
  .p-gallery__img,
  .p-gallery__fade {
    transition: transform 0.7s ease-out;
  }
  .p-gallery__stage:hover .p-gallery__img,
  .p-gallery__stage:hover .p-gallery__fade {
    transform: scale(1.015);
  }
}

.p-gallery__fade {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.p-gallery__fade.is-showing { opacity: 1; }

.p-gallery__flag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 4;
  padding: 0.4rem 0.85rem;
  background: rgba(16, 18, 20, 0.62);
  border-radius: 4px;
  color: var(--cream);
  font-size: 0.75rem;
  font-weight: 500;
}

.p-gallery__nav {
  position: absolute;
  top: 50%;
  z-index: 5;
  transform: translateY(-50%);
  width: 2.6rem;
  height: 2.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  line-height: 1;
  color: #fff;
  background: rgba(16, 18, 20, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.2s ease, opacity 0.2s ease;
}
.p-gallery__nav:hover { background: rgba(16, 18, 20, 0.72); }
.p-gallery__nav--prev { left: 0.75rem; }
.p-gallery__nav--next { right: 0.75rem; }

.p-gallery__nav[hidden] { display: none; }

@media (hover: hover) {
  .p-gallery__nav { opacity: 0; }
  .p-gallery__stage:hover .p-gallery__nav { opacity: 0.95; }
  .p-gallery__nav:focus-visible { opacity: 1; }
}

.p-gallery__counter {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 4;
  margin: 0;
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  color: #fff;
  background: rgba(16, 18, 20, 0.7);
  border-radius: 4px;
}

.p-gallery__thumbs {
  list-style: none;
  display: flex;
  gap: 0.5rem;
  margin: 0.6rem 0 0;
  padding: 0 0 0.4rem;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-soft) transparent;
}

@media (min-width: 64rem) {
  .p-gallery__aside {
    display: flex;
    flex-direction: column;
    height: clamp(28rem, 62vh, 41rem);
  }

  .p-gallery__thumbs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: start;
    gap: 0.5rem;
    
    flex: 1 1 auto;
    min-height: 0;
    height: auto;
    margin: 0;
    padding: 0 0.25rem 0 0;
    overflow-x: hidden;
    overflow-y: auto;
  }
}

.p-gallery__thumbs.has-more {
  mask-image: linear-gradient(to bottom, #000 calc(100% - 3.5rem), transparent);
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 3.5rem), transparent);
}
.p-gallery__thumbs.has-before.has-more {
  mask-image: linear-gradient(to bottom, transparent, #000 2.5rem, #000 calc(100% - 3.5rem), transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 2.5rem, #000 calc(100% - 3.5rem), transparent);
}
.p-gallery__thumbs.has-before:not(.has-more) {
  mask-image: linear-gradient(to bottom, transparent, #000 2.5rem);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 2.5rem);
}

@media (max-width: 63.9375rem) {
  .p-gallery__thumbs.has-more {
    mask-image: linear-gradient(to right, #000 calc(100% - 3rem), transparent);
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 3rem), transparent);
  }
  .p-gallery__thumbs.has-before.has-more {
    mask-image: linear-gradient(to right, transparent, #000 2rem, #000 calc(100% - 3rem), transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 2rem, #000 calc(100% - 3rem), transparent);
  }
  .p-gallery__thumbs.has-before:not(.has-more) {
    mask-image: linear-gradient(to right, transparent, #000 2rem);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 2rem);
  }
}

.p-gallery__thumbs::-webkit-scrollbar { width: 6px; height: 6px; }
.p-gallery__thumbs::-webkit-scrollbar-thumb {
  background: var(--gold-soft);
  border-radius: 9999px;
}

.p-gallery__scroller {
  display: flex;
  gap: 0.35rem;
  justify-content: flex-end;
  margin-top: 0.5rem;
}
.p-gallery__scroller[hidden] { display: none; }

.p-gallery__scroll {
  flex: 1 1 0;
  min-width: 0;
  height: 2.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  line-height: 1;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid rgba(27, 29, 31, 0.18);
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}
.p-gallery__scroll:hover:not(:disabled) {
  color: var(--gold-deboss);
  background: #fff;
}

.p-gallery__scroll:disabled {
  opacity: 0.32;
  cursor: default;
}

.p-gallery__thumb {
  display: block;
  width: 5rem;
  flex: 0 0 auto;
  border-radius: 4px;
  overflow: hidden;
  outline: 1px solid rgba(255, 255, 255, 0.12);
  outline-offset: -1px;
  opacity: 0.55;
  transition: opacity 0.25s ease, outline-color 0.25s ease;
}
@media (min-width: 64rem) {
  .p-gallery__thumb { width: auto; }
}
.p-gallery__thumb img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.p-gallery__thumb:hover { opacity: 1; }
.p-gallery__thumb.is-current {
  opacity: 1;
  outline: 2px solid var(--gold);
  outline-offset: -2px;
}

.p-lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 7, 8, 0.92);
}
.p-lightbox[hidden] { display: none; }

body.lb-active { overflow: hidden; }
body.lb-active .nav-launcher {
  opacity: 0;
  pointer-events: none;
}

.p-lightbox__img {
  max-width: 92vw;
  max-height: 88vh;
  width: auto;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 30px 90px -30px rgba(0, 0, 0, 0.9);
}

.p-lightbox__close,
.p-lightbox__nav {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  transition: color 0.2s ease;
}
.p-lightbox__close:hover,
.p-lightbox__nav:hover { color: #fff; }
.p-lightbox__close { top: 1rem; right: 1rem; font-size: 2rem; line-height: 1; }
.p-lightbox__nav { top: 50%; transform: translateY(-50%); font-size: 2.6rem; line-height: 1; }
.p-lightbox__nav--prev { left: clamp(0.25rem, 2vw, 2rem); }
.p-lightbox__nav--next { right: clamp(0.25rem, 2vw, 2rem); }

.p-lightbox__counter {
  position: absolute;
  bottom: 1.25rem;
  left: 0;
  right: 0;
  margin: 0;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}

body.single-property .site-header { display: none; }

@media (min-width: 900px) {
  body.inmo-catalogue .site-header { display: none; }
}

.p-topbar {
  padding-bottom: clamp(1rem, 2.5vw, 1.75rem);
}

.p-topbar__row {
  display: flex;
  align-items: center;
  
  min-height: calc(2.75rem + 1px);
  padding-inline: 1.25rem;
}
@media (min-width: 48rem) {
  .p-topbar__row { padding-inline: 2rem; }
}

.p-topbar__back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s ease;
}
.p-topbar__back:hover,
.p-topbar__back:focus-visible { color: var(--gold-deboss); }

.p-topbar__arrow {
  display: flex;
  transition: transform 0.25s var(--ease-settle);
}
.p-topbar__arrow svg { width: 1rem; height: 1rem; }

.p-topbar__back:hover .p-topbar__arrow { transform: translateX(-3px); }
@media (prefers-reduced-motion: reduce) {
  .p-topbar__arrow { transition: none; }
  .p-topbar__back:hover .p-topbar__arrow { transform: none; }
}

.p-topbar__crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem;
  margin-top: 0.35rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--stone-light);
}
.p-topbar__crumbs a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}
.p-topbar__crumbs a:hover,
.p-topbar__crumbs a:focus-visible { color: var(--gold-deboss); }

.p-single__head {
  padding-top: clamp(0.5rem, 2vw, 1.5rem);
  padding-bottom: clamp(1rem, 2vw, 1.5rem);
  text-align: left;
}

.p-single__eyebrow {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin: 0 0 0.9rem;
  font-size: 0.75rem;
  color: var(--gold-deboss);
}
.p-single__status {
  padding-left: 0.9rem;
  border-left: 1px solid rgba(27, 29, 31, 0.18);
  color: var(--stone);
}

.p-single__title {
  
  margin: 0;
  max-width: 24ch;
  font-size: clamp(1.75rem, 3vw, 2.48rem);
}

.p-single__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  
  gap: 0.25rem 0.9rem;
  margin-top: 0.75rem;
  text-align: left;
}
.p-single__meta .p-single__eyebrow {
  justify-content: flex-start;
  margin: 0;
}

.p-single__facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.9rem;
  margin: 0;
  padding: 0;
  font-size: 0.75rem;
  
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone);
}
.p-single__facts li {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  
  padding-left: 0.9rem;
  border-left: 1px solid rgba(27, 29, 31, 0.18);
}
.p-single__facts strong {
  font-weight: 500;
  color: var(--ink);
}

.p-single__meta .p-single__facts {
  flex: 0 1 auto;
  min-width: 0;
}

.p-single__body {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  
  padding-top: clamp(1.25rem, 2.5vw, 2rem);
}
@media (min-width: 64rem) {
  .p-single__body { grid-template-columns: minmax(0, 1fr) 21rem; }
}

.p-section { margin-bottom: clamp(2.25rem, 4vw, 3.25rem); }
.p-section:last-child { margin-bottom: 0; }

.p-section__title {
  margin: 0 0 1.25rem;
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
}

.p-prose { color: var(--ink); }
.p-prose p { margin-bottom: 1.1em; }
.p-prose ul,
.p-prose ol { padding-left: 1.2rem; color: var(--stone); }
.p-prose img { margin-block: 1.5rem; }

.p-details { margin: 0; }
.p-details__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  justify-content: space-between;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(27, 29, 31, 0.08);
}
.p-details dt {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
}
.p-details dd {
  margin: 0;
  font-size: 0.95rem;
  text-align: right;
}

.p-features {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
}
.p-features a {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  font-size: 0.75rem;
  color: var(--stone);
  border: 1px solid rgba(27, 29, 31, 0.14);
  border-radius: 2px;
}
.p-features a:hover { border-color: var(--gold); color: var(--gold-deboss); }

.p-agent {
  padding: clamp(1.5rem, 3vw, 2rem);
  background: var(--cream);
  border: 1px solid rgba(27, 29, 31, 0.1);
  border-radius: 2px;
}
@media (min-width: 64rem) {
  
  .p-agent {
    position: sticky;
    top: 2rem;
  }
}

.p-agent__eyebrow {
  margin: 0 0 1.1rem;
  font-size: 0.75rem;
  color: var(--gold-deboss);
}

.p-agent__head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.p-agent__photo {
  width: 4rem;
  height: 4rem;
  flex: 0 0 auto;
  border-radius: 50%;
  object-fit: cover;
}
.p-agent__name {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.3rem;
}
.p-agent__role {
  margin: 0.2rem 0 0;
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--stone);
}

.p-agent__actions {
  list-style: none;
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
}
.p-agent__actions .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
}
.p-agent__actions svg { flex: 0 0 auto; }

.p-agent__form { margin-top: 1.5rem; }

.p-map__panel {
  padding: clamp(1.25rem, 2.5vw, 2rem);
  background: var(--cream);
  border: 1px solid rgba(27, 29, 31, 0.1);
  border-radius: 2px;
  text-align: center;
}

.p-map__address {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  color: var(--ink);
}
.p-map__address svg { flex: 0 0 auto; color: var(--gold); }

.p-map__note {
  margin: 1rem 0 0;
  font-size: 0.75rem;
  color: var(--stone-light);
}

.p-map__frame {
  width: 100%;
  height: clamp(18rem, 40vw, 26rem);
  border: 1px solid rgba(27, 29, 31, 0.12);
}

.p-nav {
  width: 100%;
  max-width: var(--shell);
  margin: clamp(2.5rem, 5vw, 3.5rem) auto 0;
  padding-inline: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1rem;
}
@media (min-width: 64rem) {
  .p-nav { padding-inline: 2.5rem; }
}

.p-nav__link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.7rem;
  color: inherit;
  text-decoration: none;
  background: var(--cream);
  border: 1px solid rgba(27, 29, 31, 0.12);
  transition: border-color 0.25s ease, background-color 0.25s ease;
}
.p-nav__link:hover,
.p-nav__link:focus-visible { border-color: var(--gold-soft); }

.p-nav__link--next { flex-direction: row-reverse; }
.p-nav__link--next .p-nav__panel { flex-direction: row-reverse; }
.p-nav__link--next .p-nav__text { text-align: right; }

.p-nav__chev {
  flex: 0 0 auto;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-deboss);
  transition: color 0.25s ease;
}
.p-nav__chev svg { width: 1.5rem; height: 1.5rem; }
.p-nav__link:hover .p-nav__chev,
.p-nav__link:focus-visible .p-nav__chev { color: var(--gold); }

.p-nav__panel {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.p-nav__thumb {
  flex: 0 0 4rem;
  width: 4rem;
  height: 3.25rem;
  overflow: hidden;
  background: rgba(27, 29, 31, 0.06);
}
.p-nav__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.p-nav__img--none { display: block; }

.p-nav__text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.p-nav__label {
  font-size: 0.75rem;
  color: var(--gold-deboss);
}
.p-nav__place {
  font-size: 0.75rem;
  color: var(--stone-light);
  
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.p-nav__title {
  font-family: var(--font-serif);
  font-size: 1rem;
  line-height: 1.25;
  
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.p-nav__price {
  margin-top: 0.15rem;
  font-family: var(--font-serif);
  font-size: 0.9rem;
  color: var(--gold-deboss);
}

@media (min-width: 88rem) {
  
  .p-nav {
    position: fixed;
    inset: 0;
    z-index: 30;
    display: block;
    margin: 0;
    padding: 0;
    max-width: none;
    overflow: clip;
    pointer-events: none;
  }

  
  .p-nav__link {
    --pnav-peek: 3.5rem;
    
    --pnav-edge: 2rem;

    position: absolute;
    top: 50%;
    width: auto;
    gap: var(--pnav-edge);
    padding: 0;
    background: none;
    border: 0;
    pointer-events: auto;
    transition: transform 0.45s var(--ease-settle);
  }

  .p-nav__chev {
    
    align-self: center;
    width: var(--pnav-peek);
    height: var(--pnav-peek);
    border-radius: 50%;
    color: var(--ink);
    background: var(--cream);
    
    border: 1px solid rgba(27, 29, 31, 0.18);
    box-shadow: 0 6px 18px rgba(27, 29, 31, 0.12);
    transition: color 0.25s ease, border-color 0.25s ease;
  }

  .p-nav__panel {
    width: 17rem;
    
    min-height: 8.5rem;
    overflow: hidden;
    padding: 0.75rem;
    background: var(--cream);
    border-radius: 8px;
    border: 1px solid rgba(27, 29, 31, 0.18);
    box-shadow: 0 6px 18px rgba(27, 29, 31, 0.12);
    transition: border-color 0.25s ease;
  }

  .p-nav__link:hover .p-nav__chev,
  .p-nav__link:focus-visible .p-nav__chev,
  .p-nav__link:hover .p-nav__panel,
  .p-nav__link:focus-visible .p-nav__panel { border-color: var(--gold-soft); }

  .p-nav__link--prev {
    left: var(--pnav-edge);
    flex-direction: row-reverse;
    transform: translate(calc(-100% + var(--pnav-peek)), -50%);
  }
  .p-nav__link--prev .p-nav__panel { flex-direction: row; }
  .p-nav__link--prev:hover,
  .p-nav__link--prev:focus-visible { transform: translate(0, -50%); }

  .p-nav__link--next {
    right: var(--pnav-edge);
    flex-direction: row;
    transform: translate(calc(100% - var(--pnav-peek)), -50%);
  }
  .p-nav__link--next .p-nav__panel { flex-direction: row-reverse; }
  .p-nav__link--next:hover,
  .p-nav__link--next:focus-visible { transform: translate(0, -50%); }

  .p-nav__title { font-size: 1.05rem; }

  .p-nav__thumb {
    flex: 0 0 4.5rem;
    width: 4.5rem;
    height: 3.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .p-nav__link { transition: none; }
}

.band--related {
  margin-top: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid rgba(27, 29, 31, 0.1);
}

@media (max-width: 34rem) {
  .filters__field--go .btn { width: 100%; text-align: center; }
}

.entry--legal {
  max-width: 38rem;
  font-size: 1rem;
  line-height: 1.85;
  color: #34383c;
}
.entry--legal h2,
.entry--legal h3,
.entry--legal h4 {
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.entry--legal h2 { font-size: 1.2rem; margin-top: 2.6em; }
.entry--legal h3 { font-size: 1.05rem; margin-top: 2.2em; }
.entry--legal p { margin-bottom: 1.35em; }
.entry--legal ul,
.entry--legal ol { margin: 0 0 1.5em 1.25em; }
.entry--legal li { margin-bottom: 0.5em; }
.entry--legal strong { font-weight: 500; color: var(--ink); }

.entry--legal table { display: block; width: 100%; overflow-x: auto; font-size: 0.85rem; }
.entry--legal td,
.entry--legal th { padding: 0.5rem 0.75rem; border: 1px solid rgba(27, 29, 31, 0.12); }

.page-head__intro {
  max-width: 34rem;
  margin: 1.25rem auto 0;
  font-size: 1.05rem;
  color: var(--stone);
}
.entry-summary { margin-top: 0.5rem; color: var(--stone); }

.link-underline {
  color: var(--gold-deboss);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: color 0.3s var(--ease-settle);
}
.link-underline:hover { color: var(--gold); }

.roster {
  list-style: none;
  margin: 0;
  padding: 0 0 clamp(3rem, 7vw, 6rem);
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
}
@media (min-width: 40rem) { .roster { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .roster { grid-template-columns: repeat(3, 1fr); } }

@media (min-width: 64rem) {
  .roster--pinned .roster__person:nth-child(1) { order: 2; }
  .roster--pinned .roster__person:nth-child(2) { order: 1; }
  .roster--pinned .roster__person:nth-child(3) { order: 3; }
  .roster--pinned .roster__person:nth-child(n + 4) { order: 4; }
}

.roster__person { display: flex; flex-direction: column; }

.roster__portrait {
  display: block;
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--cream);
  transform-origin: center bottom;
  box-shadow: 0 1px 2px rgba(27, 29, 31, 0.07);
  transition:
    transform 0.55s var(--ease-settle),
    box-shadow 0.55s var(--ease-settle);
}

.roster__portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  box-shadow:
    inset 0 0 0 1px var(--gold-soft),
    inset 0 0 26px rgba(176, 138, 79, 0.3);
  transition: opacity 0.55s var(--ease-settle);
}

.roster__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-settle);
}

.roster__person:hover .roster__portrait,
.roster__portrait:focus-within {
  
  transform: translateY(-10px) scale(1.035);
  box-shadow:
    0 22px 44px -20px rgba(27, 29, 31, 0.42),
    0 0 34px rgba(176, 138, 79, 0.28);
}
.roster__person:hover .roster__portrait::after,
.roster__portrait:focus-within::after { opacity: 1; }

.roster__person:hover .roster__img,
.roster__portrait:focus-within .roster__img { transform: scale(1.06); }

@media (prefers-reduced-motion: reduce) {
  .roster__person:hover .roster__portrait,
  .roster__portrait:focus-within,
  .roster__person:hover .roster__img,
  .roster__portrait:focus-within .roster__img { transform: none; }
}

.roster__initials {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-family: var(--font-serif);
  font-size: 4rem;
  color: var(--gold-soft);
  background: var(--cream);
}

.roster__body { padding-top: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.roster__name { font-size: 1.4rem; margin: 0 0 0.2rem; }
.roster__name a:hover { color: var(--gold); }
.roster__role { margin: 0 0 0.5rem; font-size: 0.9rem; color: var(--stone); }
.roster__count {
  margin: 0 0 0.9rem;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deboss);
}
.roster__routes { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; margin: auto 0 0; font-size: 0.9rem; }
.roster__route { color: var(--stone); border-bottom: 1px solid rgba(27, 29, 31, 0.18); padding-bottom: 2px; }
.roster__route:hover { color: var(--gold-deboss); border-color: var(--gold); }

.person { display: grid; gap: clamp(2rem, 5vw, 4rem); padding-bottom: clamp(2rem, 5vw, 4rem); }
@media (min-width: 56rem) { .person { grid-template-columns: 5fr 7fr; align-items: start; } }

.person__portrait { position: relative; overflow: hidden; background: var(--cream); }
.person__img { width: 100%; height: auto; display: block; }
.person__initials { aspect-ratio: 4 / 5; font-size: 6rem; }
.person__bio { max-width: none; margin: 0; padding: 0; }
.person__actions {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 2rem 0 0;
  padding: 0;
}

.contact { display: grid; gap: clamp(2rem, 5vw, 4rem); padding-bottom: clamp(3rem, 7vw, 6rem); }
@media (min-width: 56rem) { .contact { grid-template-columns: 7fr 5fr; align-items: start; } }

.contact__routes { display: grid; gap: 1rem; }
.contact__card {
  display: block;
  padding: 1.5rem 1.75rem;
  background: var(--cream);
  border: 1px solid rgba(27, 29, 31, 0.08);
  transition: border-color 0.3s var(--ease-settle), transform 0.3s var(--ease-settle);
}
.contact__card:hover { border-color: var(--gold); transform: translateY(-2px); }
.contact__label { display: block; font-size: 0.75rem; color: var(--gold-deboss); margin-bottom: 0.4rem; }
.contact__value { display: block; font-family: var(--font-serif); font-size: 1.5rem; color: var(--ink); }
.contact__card--call .contact__value { font-size: 1.85rem; }

.contact__where h2 { font-size: 1.5rem; margin: 0 0 1rem; }
.contact__address { font-style: normal; color: var(--stone); line-height: 1.9; }
.contact__address span { display: block; }
.contact__directions { margin-top: 1.5rem; }
.contact__legal { margin-top: 1.5rem; font-size: 0.8rem; color: var(--stone-light); }

.office { padding-bottom: clamp(3rem, 7vw, 6rem); text-align: center; }
.office__card { max-width: 32rem; margin-inline: auto; }
.office__name { font-size: 1.8rem; margin: 0 0 1rem; }
.office__address { font-style: normal; color: var(--stone); line-height: 1.9; }
.office__address span { display: block; }
.office__routes,
.office__onward { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-top: 1.75rem; }

.journal { display: grid; gap: clamp(2rem, 4vw, 3.5rem); padding-bottom: clamp(2rem, 5vw, 4rem); }
@media (min-width: 56rem) {
  .journal { grid-template-columns: repeat(2, 1fr); }
  
  .journal__item--lead { grid-column: 1 / -1; display: grid; grid-template-columns: 7fr 5fr; gap: 2.5rem; align-items: center; }
  .journal__item--lead .journal__title { font-size: clamp(1.9rem, 3.5vw, 2.6rem); }
  
  .journal__item--lead .journal__title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
  }
}
.journal__figure { display: block; overflow: hidden; background: var(--cream); }
.journal__img { width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 0.7s var(--ease-settle); }
.journal__item:hover .journal__img { transform: scale(1.03); }
.journal__body { padding-top: 1.1rem; }
.journal__item--lead .journal__body { padding-top: 0; }
.journal__title { font-size: 1.5rem; margin: 0.4rem 0 0.6rem; }
.journal__title a:hover { color: var(--gold); }
.journal__summary { color: var(--stone); margin: 0 0 1rem; }
.journal__more { margin: 0; font-size: 0.8rem; }

.article__figure { position: relative; overflow: hidden; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.article__img { width: 100%; height: auto; display: block; }
.article__onward {
  display: grid;
  gap: 1rem;
  max-width: 38rem;
  margin: 0 auto clamp(3rem, 7vw, 6rem);
  padding-top: 2rem;
  border-top: 1px solid rgba(27, 29, 31, 0.1);
}
@media (min-width: 40rem) { .article__onward { grid-template-columns: repeat(2, 1fr); } }
.article__step { color: var(--stone); }
.article__step:hover { color: var(--gold-deboss); }
.article__step--next { text-align: right; }
.article__step-label { display: block; font-size: 0.75rem; color: var(--gold-deboss); margin-bottom: 0.35rem; }

.comments { max-width: 38rem; margin: 0 auto; padding-bottom: clamp(3rem, 7vw, 6rem); }
.comments__title { font-size: 1.3rem; }
.comments__list { list-style: none; margin: 0 0 2.5rem; padding: 0; }
.comments__list .comment-body { padding: 1.25rem 0; border-top: 1px solid rgba(27, 29, 31, 0.1); }
.comments input[type="text"],
.comments input[type="email"],
.comments input[type="url"],
.comments textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  background: var(--cream);
  border: 1px solid rgba(27, 29, 31, 0.15);
  font-family: var(--font-sans);
  font-size: 0.95rem;
}

.faq-list { max-width: 42rem; margin-inline: auto; padding-bottom: clamp(2rem, 5vw, 4rem); }
.faq-list__item + .faq-list__item { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid rgba(27, 29, 31, 0.1); }
.faq-list__q { font-size: 1.25rem; margin: 0 0 0.6rem; }
.faq-list__q a:hover { color: var(--gold); }
.faq-list__a { max-width: none; margin: 0; padding: 0; color: var(--stone); }
.faq__onward { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; padding-bottom: clamp(3rem, 7vw, 6rem); }

.qae-faqs-container { max-width: 46rem; margin-inline: auto; padding-bottom: clamp(3rem, 7vw, 6rem); }

.qe-faqs-filters-container {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 0.5rem;
  margin: 0 0 clamp(2rem, 4vw, 3rem);
  padding: 0;
}
.qe-faqs-filter {
  display: inline-block;
  padding: 0.42rem 1rem;
  border: 1px solid rgba(27, 29, 31, 0.15);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
  transition: border-color 0.3s var(--ease-settle), color 0.3s var(--ease-settle);
}
.qe-faqs-filter:hover { border-color: var(--gold); color: var(--gold-deboss); }
.qe-faqs-filters-container li.active .qe-faqs-filter {
  border-color: var(--gold);
  color: var(--ink);
  background: rgba(176, 138, 79, 0.09);
}

.qae-faqs-container .qe-faq-toggle {
  margin: 0;
  border: 0;
  border-top: 1px solid rgba(27, 29, 31, 0.1);
}
.qae-faqs-container .qe-faq-toggle:last-child { border-bottom: 1px solid rgba(27, 29, 31, 0.1); }

.qae-faqs-container .qe-toggle-title {
  cursor: pointer;
  padding: 0;
  background: none;
  border: 0;
}
.qae-faqs-container .qe-toggle-content {
  background: none;
  border: 0;
}
.qe-toggle-title h4 {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  margin: 0;
  padding: 1.15rem 0;
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 400;
  line-height: 1.4;
  color: var(--ink);
  transition: color 0.3s var(--ease-settle);
}
.qe-toggle-title:hover h4 { color: var(--gold-deboss); }

.qe-toggle-title h4 .fa {
  position: relative;
  flex: 0 0 auto;
  width: 11px;
  height: 11px;
  top: 0.3em;
  font-size: 0;
}
.qe-toggle-title h4 .fa::before,
.qe-toggle-title h4 .fa::after {
  content: "";
  position: absolute;
  background: var(--gold);
  transition: opacity 0.3s var(--ease-settle), transform 0.3s var(--ease-settle);
}
.qe-toggle-title h4 .fa::before { top: 5px; left: 0; width: 11px; height: 1px; }
.qe-toggle-title h4 .fa::after { left: 5px; top: 0; width: 1px; height: 11px; }

.qe-toggle-title h4 .fa-minus-circle::after { opacity: 0; transform: rotate(90deg); }

.qae-faqs-container .qe-toggle-content { padding: 0 0 1.35rem 1.9rem; color: var(--stone); line-height: 1.8; }
.qe-toggle-content p:last-child { margin-bottom: 0; }
.qe-toggle-content a { color: var(--gold-deboss); text-decoration: underline; text-underline-offset: 3px; }

.notfound { max-width: 34rem; margin-inline: auto; padding-bottom: clamp(2rem, 5vw, 4rem); text-align: center; }
.notfound__label { display: block; font-size: 0.75rem; color: var(--gold-deboss); margin-bottom: 0.75rem; }
.notfound__row { display: flex; gap: 0.5rem; }
.notfound__row input[type="search"] {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.75rem 1rem;
  background: var(--cream);
  border: 1px solid rgba(27, 29, 31, 0.15);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--ink);
}
.notfound__row input[type="search"]:focus { border-color: var(--gold); }

.notfound__row input[type="search"]:focus:not(:focus-visible) { outline: none; }
.notfound__routes { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-top: 1.75rem; }

.results__search { max-width: 34rem; margin: 0 auto clamp(2.5rem, 5vw, 4rem); }
.results__group + .results__group { margin-top: clamp(2.5rem, 5vw, 4rem); }
.results__heading {
  font-size: 0.75rem;
  font-family: var(--font-sans);
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deboss);
  margin: 0 0 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(27, 29, 31, 0.1);
}

.demand-form { padding-bottom: clamp(3rem, 7vw, 6rem); }
.demand-form.demand-form #externalForm {
  max-width: 46rem;
  margin-inline: auto;
  padding: clamp(1.5rem, 4vw, 2.75rem);
  background: var(--cream);
  border: 1px solid rgba(27, 29, 31, 0.1);
  border-radius: 0;
}
.demand-form.demand-form h2,
.demand-form.demand-form h3 { font-family: var(--font-serif); font-weight: 400; color: var(--ink); }
.demand-form.demand-form h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
.demand-form.demand-form label { font-family: var(--font-sans); font-size: 0.92rem; font-weight: 400; color: var(--ink); }
.demand-form.demand-form fieldset { border: 1px solid rgba(27, 29, 31, 0.1); padding: 1.25rem; margin-bottom: 1.5rem; }
.demand-form.demand-form legend {
  padding-inline: 0.6rem;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deboss);
}
.demand-form.demand-form input[type="text"],
.demand-form.demand-form input[type="email"],
.demand-form.demand-form input[type="tel"],
.demand-form.demand-form input[type="number"],
.demand-form.demand-form select,
.demand-form.demand-form textarea {
  padding: 0.7rem 0.9rem;
  background: #fff;
  border: 1px solid rgba(27, 29, 31, 0.15);
  border-radius: 0;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--ink);
}

.demand-form.demand-form input:focus,
.demand-form.demand-form select:focus,
.demand-form.demand-form textarea:focus { border-color: var(--gold); }
.demand-form.demand-form input:focus:not(:focus-visible),
.demand-form.demand-form select:focus:not(:focus-visible),
.demand-form.demand-form textarea:focus:not(:focus-visible) { outline: none; }

.demand-form.demand-form input[type="text"]:focus,
.demand-form.demand-form input[type="email"]:focus,
.demand-form.demand-form input[type="tel"]:focus,
.demand-form.demand-form input[type="number"]:focus,
.demand-form.demand-form select:focus,
.demand-form.demand-form textarea:focus { outline-offset: 1px; }
.demand-form.demand-form input[type="checkbox"],
.demand-form.demand-form input[type="radio"] { width: auto; margin-right: 0.5rem; accent-color: var(--gold); }
.demand-form.demand-form .checkbox-grid { display: grid; gap: 0.4rem 1rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.demand-form.demand-form .check-group label { display: flex; align-items: center; font-size: 0.9rem; color: var(--stone); }
.demand-form.demand-form .rgpd-text { font-size: 0.78rem; line-height: 1.7; color: var(--stone-light); }
.demand-form.demand-form button[type="submit"] {
  padding: 0.9rem 2rem;
  background: var(--gold-deboss);
  border: 0;
  border-radius: 0;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
  cursor: pointer;
  transition: background 0.3s var(--ease-settle);
}
.demand-form.demand-form button[type="submit"]:hover { background: var(--gold); }

@media (max-width: 40rem) {
  .demand-form.demand-form .form-row { flex-direction: column; gap: 0.4rem; }
}

.p-agent__form {
  margin-top: 1.5rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(27, 29, 31, 0.1);
}

.p-agent__form-title {
  margin: 0 0 1rem;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.25;
}

.enq__field {
  margin: 0 0 0.85rem;
}

.enq__field label {
  display: block;
  margin-bottom: 0.3rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone);
}

.enq__field input,
.enq__field textarea {
  width: 100%;
  padding: 0.6rem 0.7rem;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  
  line-height: 1.45;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(27, 29, 31, 0.2);
  border-radius: 2px;
  transition: border-color 160ms var(--ease-settle);
}

@media (max-width: 47rem) {
  .enq__field input,
  .enq__field textarea { font-size: 1rem; }
}

.enq__field textarea {
  resize: vertical;
  min-height: 6.5rem;
}

.enq__field input:focus,
.enq__field textarea:focus {
  border-color: var(--gold);
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}

.enq__field input:user-invalid,
.enq__field textarea:user-invalid {
  border-color: #a4362f;
}

.enq__trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.enq__consent {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0 0 1rem;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--stone);
}

.enq__consent input {
  flex: 0 0 auto;
  
  width: 1.05rem;
  height: 1.05rem;
  margin: 0.12rem 0 0;
  accent-color: var(--gold);
}

.enq__consent label { cursor: pointer; }
.enq__consent a { color: var(--gold-deboss); }

.enq__submit {
  width: 100%;
  justify-content: center;
}

.enq__submit[disabled] {
  opacity: 0.55;
  cursor: progress;
}

.enq__status {
  margin: 0.85rem 0 0;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--stone);
}

.enq__status:empty {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.enq__status:focus { outline: none; }
.enq__status:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.enq__field--wide { grid-column: 1 / -1; }

.enq__status.is-ok {
  color: var(--gold-deboss);
  font-weight: 500;
}

.enq__status.is-error { color: #a4362f; }

.enq__noscript {
  margin: 0.85rem 0 0;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--stone);
}

.header-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.25rem, 4vw, 4rem);
}

.header-brand__link { flex: 0 0 auto; }

@media (max-width: 56.1875rem) {
  .header-brand { justify-content: center; }
}

.header-nav { display: none; }

@media (min-width: 900px) {
  .header-nav {
    display: flex;
    flex: 1 1 0;
    
    align-items: flex-start;
    
    align-self: flex-start;
    
    padding-top: 0;
    gap: clamp(1.5rem, 4vw, 3.5rem);
  }

  .header-nav--left  { justify-content: flex-end; }
  .header-nav--right { justify-content: flex-start; }
}

@media (min-width: 900px) {
  body.single-property .header-nav {
    align-items: center;
    align-self: center;
  }
}

.header-nav a {
  font-size: clamp(0.72rem, 0.9vw, 1.05rem);
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
  text-decoration: none;
  color: var(--gold-deboss);
  mix-blend-mode: multiply;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55);
  transition: color 0.2s ease;
}

.header-nav a:hover,
.header-nav a:focus-visible { color: var(--gold, #b08a4f); }

@media (min-width: 900px) {
  .nav-launcher {
    top: clamp(1.125rem, 2.2vw, 1.75rem);
    height: calc(clamp(0.72rem, 0.9vw, 1.05rem) * 1.6);
  }
}

.catalogue-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  margin-bottom: clamp(1.25rem, 2.5vw, 2rem);
}

.catalogue-head__title {
  margin: 0;
  font-size: clamp(1.9rem, 2.8vw, 2.25rem);
  font-weight: 700;
}

.contact-marks {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
@media (min-width: 48rem) {
  .contact-marks { gap: 1.75rem; }
}
