:root{
  --re-cream:        #F1EADD;
  --re-cream-soft:   #F8F3E9;
  --re-cream-deep:   #E9DFCC;
  --re-ink:          #000000;
  --re-accent:       #fbc213;
  --re-ink-soft:     #504A40;
  --re-brass:        #A9824E;
  --re-brass-dark:   #7C5F39;
  --re-olive:        #454B3C;
  --re-line:         #DED2B8;
  --re-white:        #FFFDF9;
  --re-footer-bg:    #1B1915;
  --re-footer-line:  rgba(241,234,221,0.12);

  --re-font-display: "Fraunces", "Times New Roman", serif;
  --re-font-body:    "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  --re-radius-sm: 2px;
  --re-radius-md: 4px;
  --re-container: 1240px;
  --re-shadow-card: 0 1px 2px rgba(34,31,26,0.06), 0 12px 28px -14px rgba(34,31,26,0.22);
  --re-shadow-float: 0 24px 60px -18px rgba(34,31,26,0.35);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--re-font-body);
  background: var(--re-cream);
  color: var(--re-ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  overflow-x: hidden; /* guards against any stray wide element causing horizontal scroll on mobile */
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
button{ font-family:inherit; cursor:pointer; border:none; background:none; color:inherit; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3{ margin:0; font-family: var(--re-font-display); font-weight:500; }

.re-eyebrow{
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--re-brass-dark);
  font-weight:600;
  margin: 0 0 0.9rem;
}

.re-section-title{
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

/* ============ Buttons ============ */
.re-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:0.5rem;
  padding: 0.85rem 1.6rem;
  font-size: 0.86rem;
  letter-spacing: 0.03em;
  border-radius: var(--re-radius-sm);
  transition: all .25s ease;
  white-space:nowrap;
}

.re-btn--solid{ background: var(--re-cream-deep); width: -1px; height: 20px;
    border-radius: 20px;color: #000; font-size: 1rem;}
.re-btn--ghost{ color: var(--re-accent); font-size: 1rem;}
/* .re-btn--ghost:hover{ color: var(--re-brass); } */
.re-btn--outline{ border:1px solid var(--re-ink); color: var(--re-ink); background:transparent; }
.re-btn--outline:hover{ background: var(--re-ink); color: var(--re-white); }
.re-btn--light{ background: var(--re-cream); color: var(--re-ink);  }
.re-btn--light:hover{ background: var(--re-white); }


/*=========================================================
HEADER / NAVBAR
=========================================================*/

.re-header{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.re-header__inner{
  max-width: var(--re-container);
  margin: 0 auto;
  padding: 14px 24px;

  display: grid;
  grid-template-columns: 1fr auto 1fr; /* nav | logo | actions */
  align-items: center;
  gap: 26px;
}

/*=========================================================
LOGO (centered on desktop, left on mobile)
=========================================================*/

.re-logo{
  display: flex;
  align-items: center;
  justify-self: center;
}

.re-logo img{
  height: 120px;
  width: auto;
  transition: .35s;
}

.re-logo:hover img{
  transform: scale(1.03);
}

/*=========================================================
NAVIGATION (left column on desktop / dropdown panel on mobile)
=========================================================*/

.re-nav{
  display: flex;
  align-items: center;
  gap: 25px;
  justify-self: start;
}

.re-nav__link{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0.25rem 0.9rem;
  border-radius: 999px;

  background: var(--re-cream);
  color: #111;

  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-decoration: none;

  border: 1px solid rgba(0,0,0,.08);
  transition: all .3s ease;
}

.re-nav__link:hover{
 background: var(--re-footer-bg);
  color: var(--re-cream);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,.15);
}

.re-nav__link::after{
  display: none;
}

.re-nav__link::after{
  content:"";
  position:absolute;
  left:0; bottom:0;
  width:100%;
  height:1px;
  background:var(--re-brass);
  transform:scaleX(0);
  transform-origin:left;
  transition:.3s;
}

.re-nav__link:hover::after{
  transform:scaleX(1);
}

/*=========================================================
DROPDOWN
=========================================================*/

.re-nav__dropdown{ position:relative; }

.re-nav__link--dropdown{
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 0.25rem 0.9rem;

  background: var(--re-cream);
  color: #111;

  border: 1px solid rgba(0,0,0,.08);
  border-radius: 999px;
  cursor: pointer;
  transition: all .3s ease;
}

.re-nav__link--dropdown:hover{
  background: var(--re-footer-bg);
  color: var(--re-cream);
  box-shadow: 0 8px 20px rgba(0,0,0,.15);
}

.re-nav__caret{ font-size:12px; transition:.3s; }
.re-nav__dropdown.is-open .re-nav__caret{ transform:rotate(180deg); }

.re-nav__menu{
  position:absolute;
  top:calc(100% + 18px);
  left:50%;
  transform:translateX(-50%) translateY(12px);
  min-width:220px;
  background:var(--re-footer-bg);
  border:1px solid rgba(255,255,255,.08);
  box-shadow:var(--re-shadow-float);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:.35s;
  z-index: 20;
}

.re-nav__dropdown.is-open .re-nav__menu{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transform:translateX(-50%) translateY(0);
}

.re-nav__menu-item{
  display:block;
  padding:15px 22px;
  color:var(--re-white);
  transition:.3s;
}

.re-nav__menu-item:hover{
  background:var(--re-cream);
  color:var(--re-footer-bg);
}

/*=========================================================
ACTIONS ("Get in Touch" + "Sign In")
=========================================================*/

.re-header__actions{
  display:flex;
  align-items:center;
  gap:15px;
  justify-self:end;
}

/*=========================================================
BURGER — hidden on desktop, shown on mobile, sits right of actions
=========================================================*/

.re-burger{
  display:none;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:5px;
  width:38px;
  height:38px;
  flex:none;
}
.re-burger span{
  display:block;
  width:22px;
  height:2px;
  background:var(--re-white);
  border-radius:2px;
  transition: transform .3s ease, opacity .3s ease;
}
.re-burger[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.re-burger[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.re-burger[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

.re-hero{
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 11rem 0 6rem;
  overflow: visible;
}
.re-hero__media{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    overflow:hidden;
    z-index:1;
}

.re-hero__video{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
    display:block;
}
.re-hero__scrim{
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(20,18,14,0.35) 20%, rgba(20,18,14,0.28) 75%, rgba(20,18,14,0.72) 100%);
}
.re-hero__content{
  position:relative;
  z-index:2;
  max-width: 780px;
  text-align:center;
  padding: 0 1.5rem;
  color: var(--re-white);
}
.re-hero .re-eyebrow{ color: var(--re-accent); }
.re-hero__title{
  font-size: clamp(2.4rem, 5.4vw, 4.4rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
}
.re-hero__title em{ font-style: italic; color: var(--re-accent); }
.re-hero__sub{
  margin: 1.5rem auto 0;
  max-width: 560px;
  font-size: 1.02rem;
  color: rgba(255,255,255,0.86);
}

/* Floating filter bar */
.re-filter{
  position:absolute;
  z-index:10;
  bottom: -3.6rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(94%, 1080px);
  background: var(--re-white);
  border-radius: var(--re-radius-md);
  box-shadow: var(--re-shadow-float);
  padding: 0.4rem 1.6rem 1.5rem;
}
.re-filter__tabs{
  display:flex;
  gap: 0.3rem;
  padding: 0.9rem 0 0.2rem;
}
.re-filter__tab{
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
  color: var(--re-ink-soft);
  border-bottom: 2px solid transparent;
}
.re-filter__tab.is-active{
  color: var(--re-ink);
  border-color: var(--re-brass);
  font-weight:600;
}
.re-filter__row{
  display:flex;
  align-items:flex-end;
  gap:1.4rem;
  flex-wrap: wrap;
  padding-top: 0.9rem;
  border-top: 1px solid var(--re-line);
}
.re-filter__field{ display:flex; flex-direction:column; gap:0.35rem; min-width: 130px; }
.re-filter__field--grow{ flex:1 1 240px; }
.re-filter__field label{
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--re-ink-soft);
}
.re-filter__field input,
.re-filter__field select{
  border:none;
  border-bottom: 1px solid var(--re-line);
  padding: 0.4rem 0.1rem;
  font-size: 0.92rem;
  font-family: inherit;
  background: transparent;
  color: var(--re-ink);
}
.re-filter__field input:focus,
.re-filter__field select:focus{
  outline: none;
  border-color: var(--re-brass);
}
.re-filter__submit{
  display:flex;
  align-items:center;
  gap:0.5rem;
  background: var(--re-ink);
  color: var(--re-white);
  padding: 0.75rem 1.5rem;
  border-radius: var(--re-radius-sm);
  font-size: 0.86rem;
  transition: background .25s ease;
}
.re-filter__submit:hover{ background: var(--re-brass-dark); }

/* ============================================================
   STATS STRIP
============================================================ */
.re-stats{
  max-width: var(--re-container);
  margin: 6.5rem auto 5rem;
  padding: 0 2rem;
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 2.5rem;
  flex-wrap: wrap;
  text-align:center;
}
.re-stats__item{ display:flex; flex-direction:column; gap:0.3rem; }
.re-stats__num{
  font-family: var(--re-font-display);
  font-size: 1.9rem;
  color: var(--re-brass-dark);
}
.re-stats__label{
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--re-ink-soft);
}
.re-stats__divider{ width:1px; height: 36px; background: var(--re-line); }

/* ============================================================
   SECTION HEAD (shared)
============================================================ */
.re-section-head{
  max-width: var(--re-container);
  margin: 0 auto 2.4rem;
  padding: 0 2rem;
}
.re-section-head--center{ text-align:center; }
.re-section-head--center .re-eyebrow{ display:block; }

/* ============================================================
   COLLECTIONS CHIPS
============================================================ */
.re-collections{ padding: 2rem 0 1rem; }
.re-chips{
  max-width: var(--re-container);
  margin: 0 auto;
  padding: 0 2rem;
  display:flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}
.re-chip{
  padding: 0.55rem 1.1rem;
  border:1px solid var(--re-line);
  border-radius: 999px;
  font-size: 0.83rem;
  color: var(--re-ink-soft);
  background: var(--re-cream-soft);
  transition: all .2s ease;
}
.re-chip:hover{ border-color: var(--re-brass); color: var(--re-ink); }
.re-chip.is-active{
  background: var(--re-ink);
  border-color: var(--re-ink);
  color: var(--re-white);
}

/* ============================================================
   PROPERTY GRID
============================================================ */
.re-properties{
  max-width: var(--re-container);
  margin: 2.5rem auto 0;
  padding: 0 2rem 2rem;
}
.re-properties__grid{
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.re-card--feature{ grid-column: span 1; grid-row: span 1; }
.re-card--feature .re-card__media{ aspect-ratio: 16/9; max-height: 420px; }
.re-properties__empty{
  text-align:center;
  padding: 3rem 1rem;
  color: var(--re-ink-soft);
  font-size: 0.95rem;
  max-width: 480px;
  margin: 0 auto;
}
.re-properties__sell-notice{
  max-width: 560px;
  margin: 1rem auto 3rem;
  text-align:center;
  background: var(--re-cream-soft);
  border: 1px solid var(--re-line);
  border-radius: var(--re-radius-md);
  padding: 2.4rem 2rem;
}
.re-properties__sell-notice h3{ font-size: 1.5rem; margin-bottom: 0.7rem; }
.re-properties__sell-notice p{ color: var(--re-ink-soft); margin: 0 0 1.4rem; }
.re-card-link{
    display:block;
    color:inherit;
    text-decoration:none;
}
.re-card{
  background: var(--re-cream-soft);
  border-radius: var(--re-radius-md);
  overflow:hidden;
  box-shadow: var(--re-shadow-card);
  transition: transform .35s ease, box-shadow .35s ease, opacity .3s ease;
}
.re-card.is-hidden{ display:none; }
.re-card:hover{ transform: translateY(-6px); box-shadow: 0 30px 50px -20px rgba(34,31,26,0.28); }
.re-card__media{
  position:relative;
  aspect-ratio: 4/3;
  max-height: 280px;
  overflow:hidden;
  background: var(--re-cream-deep);
}
.re-card--feature .re-card__media{
  aspect-ratio: 16/9;
  max-height: 420px;
}
.re-card__img{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
  transition: opacity .5s ease, transform .6s ease;
}
.re-card__img--a{ opacity:1; }
.re-card__img--b{ opacity:0; }
.re-card:hover .re-card__img--a{ opacity:0; }
.re-card:hover .re-card__img--b{ opacity:1; transform: scale(1.04); }
.re-card__badge{
  position:absolute;
  top: 0.9rem; left: 0.9rem;
  background: rgba(255,253,249,0.92);
  color: var(--re-ink);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border-radius: var(--re-radius-sm);
  font-weight:600;
}
.re-card__body{ padding: 1.2rem 1.3rem 1.4rem; }
.re-card__row{ display:flex; align-items:center; justify-content:space-between; }
.re-card__price{ font-size: 1.25rem; }
.re-card__save{ font-size: 1.1rem; color: var(--re-ink-soft); transition: color .2s ease; }
.re-card__save:hover{ color: var(--re-brass-dark); }
.re-card__address{
  margin: 0.35rem 0 0.8rem;
  font-size: 0.88rem;
  color: var(--re-ink-soft);
}
.re-card__meta{
  display:flex;
  gap: 0.9rem;
  font-size: 0.78rem;
  color: var(--re-ink-soft);
  border-top: 1px solid var(--re-line);
  padding-top: 0.7rem;
}
.re-properties__footer{
  display:flex;
  justify-content:center;
  margin-top: 2.5rem;
}

/* ============================================================
   EDITORIAL SPLIT
============================================================ */
.re-editorial{
  display:grid;
  grid-template-columns: 1fr 1fr;
  align-items:stretch;
  margin: 7rem 0;
  background: var(--re-cream-soft);
}
.re-editorial__media{ min-height: 300px; max-height: 480px; overflow:hidden; }
.re-editorial__media img{ width:100%; height:100%; object-fit:cover; }
.re-editorial__content{
  padding: 2rem clamp(1.5rem, 3vw, 3rem);
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.re-editorial__text{
  margin: 1.4rem 0 1.8rem;
  color: var(--re-ink-soft);
  max-width: 460px;
}
.re-editorial__list{ display:flex; flex-direction:column; gap:0.9rem; margin-bottom:2rem; }
.re-editorial__list li{ display:flex; align-items:baseline; gap:0.9rem; font-size:0.95rem; }
.re-editorial__list span{
  font-family: var(--re-font-display);
  font-style: italic;
  color: var(--re-brass-dark);
  font-size: 0.85rem;
}

/* ============================================================
   UPCOMING PROJECTS
============================================================ */
.re-upcoming{ max-width: var(--re-container); margin: 0 auto; padding: 3rem 2rem 6rem; }
.re-upcoming__grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.re-upcoming__card{
  background: var(--re-cream-soft);
  border-radius: var(--re-radius-md);
  overflow:hidden;
  box-shadow: var(--re-shadow-card);
  transition: transform .3s ease;
}
.re-upcoming__card:hover{ transform: translateY(-6px); }
.re-upcoming__media{ position:relative; aspect-ratio: 4/3; overflow:hidden; }
.re-upcoming__media img{ width:100%; height:100%; object-fit:cover; }
.re-upcoming__badge{
  position:absolute;
  bottom: 0.8rem; left: 0.8rem;
  background: rgba(34,31,26,0.82);
  color: var(--re-white);
  font-size: 0.66rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border-radius: var(--re-radius-sm);
  font-weight:600;
}
.re-upcoming__body{ padding: 1.2rem 1.3rem 1.5rem; }
.re-upcoming__body h3{ font-size: 1.15rem; margin-bottom: 0.4rem; }
.re-upcoming__body p{ font-size: 0.88rem; color: var(--re-ink-soft); margin:0; }

/* ============================================================
   CITIES
============================================================ */
.re-cities{ max-width: var(--re-container); margin: 0 auto; padding: 3rem 2rem 6rem; }
.re-cities__grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 190px;
  gap: 1.2rem;
}
.re-city{
  position:relative;
  border-radius: var(--re-radius-md);
  overflow:hidden;
  grid-column: span 1;
}
.re-city--lg{ grid-column: span 2; grid-row: span 2; }
.re-city img{
  width:100%; height:100%; object-fit:cover;
  transition: transform .5s ease;
}
.re-city:hover img{ transform: scale(1.06); }
.re-city::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(20,18,14,0) 45%, rgba(20,18,14,0.65) 100%);
}
.re-city__name{
  position:absolute;
  left: 1.1rem; bottom: 1rem;
  z-index:2;
  color: var(--re-white);
  font-family: var(--re-font-display);
  font-style: italic;
  font-size: 1.15rem;
}
.re-city--lg .re-city__name{ font-size: 1.6rem; }

/* ============================================================
   CTA BAND
============================================================ */
.re-cta{
  /* background: var(--re-footer-bg); */
      background: #c0a672;

  color: var(--re-cream);
  padding: 6rem 2rem;
}
.re-cta__inner{ max-width: 640px; margin:0 auto; text-align:center; }
.re-cta__title{
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  color: var(--re-white);
  line-height:1.2;
}
.re-cta__text{ margin: 1.3rem 0 2rem; color: rgba(241,234,221,0.75); }

.agent-container{width:min(var(--re-container),92%);margin:auto;}

.agents-hero{
    position:relative;
    min-height:80vh;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    overflow:hidden;
    background:linear-gradient(rgba(34,31,26,.45),rgba(34,31,26,.45)),url("r-img/agents-hero.jfif") center/cover no-repeat;
}

.hero-overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(to bottom,rgba(0,0,0,.15),rgba(0,0,0,.45));
}

.agents-hero .agent-container{
    position:relative;
    z-index:5;
    max-width:800px;
}

.agents-hero .re-eyebrow{color:var(--re-cream);}

.agents-hero .re-section-title{
    color:#fff;
    margin-bottom:18px;
    font-size:clamp(2.8rem,6vw,4.5rem);
}

.hero-text{
    color:rgba(255,255,255,.85);
    font-size:1.05rem;
    max-width:650px;
    margin:auto;
    line-height:1.8;
}

.agent-search{
    margin-top:45px;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    border-radius:50px;
    background:#fff;
    box-shadow:var(--re-shadow-float);
}

.agent-search input{
    flex:1;
    padding:18px 24px;
    border:none;
    outline:none;
    font-size:15px;
    background:transparent;
}

.agent-search button{
    width:45px;
    height:45px;
    border-radius:50px;
    background:var(--re-brass);
    color:#fff;
    transition:.35s;
}

.agent-search button:hover{background:var(--re-brass-dark);}

.agents-section{
    padding:90px 0;
    background:var(--re-cream-soft);
}

.agents-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:40px;
}

.agent-card{
    display:flex;
    background:#fff;
    border:1px solid var(--re-line);
    overflow:hidden;
    border-radius:8px;
    transition:.35s;
    box-shadow:var(--re-shadow-card);
}

.agent-card:hover{
    transform:translateY(-8px);
    box-shadow:var(--re-shadow-float);
}

.agent-image{
    width:260px;
    flex-shrink:0;
    overflow:hidden;
    background:#ddd;
}

.agent-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.6s;
}

.agent-card:hover img{transform:scale(1.08);}

.agent-content{
    flex:1;
    padding:35px;
}

.agent-content h3{
    font-size:1.8rem;
    color:var(--re-ink);
}

.designation{
    display:inline-block;
    margin-top:8px;
    color:var(--re-brass);
    font-weight:600;
    letter-spacing:.08em;
    text-transform:uppercase;
    font-size:12px;
}

.agent-content p{
    margin:24px 0;
    color:var(--re-ink-soft);
    line-height:1.8;
}

.agent-content ul{
    display:flex;
    flex-direction:column;
    gap:12px;
    margin-bottom:28px;
}

.agent-content li{
    display:flex;
    align-items:center;
    gap:12px;
    color:var(--re-ink-soft);
    font-size:15px;
}

.agent-content li i{
    width:18px;
    color:var(--re-brass);
}
.agent-buttons{display:flex;gap:15px;}
.agent-buttons button{flex:1;height:48px;border-radius:4px;font-size:14px;display:flex;align-items:center;justify-content:center;gap:10px;transition:.35s;}
.call-btn{background:var(--re-ink);color:#fff;}
.call-btn:hover{background:var(--re-brass-dark);}
.email-btn{background:transparent;border:1px solid var(--re-ink);}
.email-btn:hover{background:var(--re-ink);color:#fff;}

.call-modal,.email-modal{
    position:fixed;
    inset:0;
    display:flex;
    justify-content:center;
    align-items:center;
    opacity:0;
    visibility:hidden;
    transition:.35s;
    z-index:9999;
}

.call-modal{
    background:rgba(20,20,20,.55);
    backdrop-filter:blur(6px);
}

.email-modal{
    background:rgba(0,0,0,.55);
    backdrop-filter:blur(8px);
}

.call-modal.active,.email-modal.active{
    opacity:1;
    visibility:visible;
}

.modal-box{
    width:min(420px,92%);
    background:var(--re-white);
    padding:45px;
    border-radius:6px;
    position:relative;
    text-align:center;
    box-shadow:var(--re-shadow-float);
    transform:translateY(30px);
    transition:.35s;
}

.email-box{
    width:min(500px,94%);
    background:var(--re-white);
    padding:20px;
    border-radius:8px;
    position:relative;
    box-shadow:var(--re-shadow-float);
    transform:translateY(30px);
    transition:.35s;
}

.call-modal.active .modal-box,
.email-modal.active .email-box{
    transform:translateY(0);
}

.modal-box h2{
    font-size:2rem;
    margin-bottom:20px;
}

#callName{
    margin-bottom:12px;
    font-size:1.3rem;
    color:var(--re-brass);
}

#callPhone{
    font-size:1.2rem;
    font-weight:600;
    margin-bottom:30px;
    color:var(--re-ink);
}

#callNow{
    width:100%;
}

.email-box h2{margin-bottom:35px;font-size:2rem;}
.email-box form{ display:flex;flex-direction:column;gap:18px;}
.row{ display:grid;grid-template-columns:1fr 1fr; gap:18px;}
.email-box input,
.email-box textarea{width:100%; padding:10px 14px; border:1px solid var(--re-line);
    background:var(--re-cream-soft); font-size:10px; outline:none;transition:.3s; resize:none;font-family:inherit;}
.email-box input:focus,
.email-box textarea:focus{border-color:var(--re-brass); background:white;}
.email-box textarea{  min-height:160px;}
.checkbox{display:flex;align-items:center; gap:12px; font-size:14px; color:var(--re-ink-soft);margin:10px 0;}
.checkbox input{ width:18px; height:18px;}
.close-modal,
.close-email{
 position:absolute;right:18px;top:18px; width:25px; height:25px;
    border-radius:50%;display:flex;align-items:center;justify-content:center; background:var(--re-cream-soft);transition:.3s;
}
.close-modal:hover,
.close-email:hover{background:var(--re-brass);color:white;}

@keyframes fadeUp{

    from{opacity:0;transform:translateY(40px);}
    to{ opacity:1; transform:translateY(0);}
}
.agent-card{animation:fadeUp .7s ease both;}
.agent-card:nth-child(2){animation-delay:.1s;}
.agent-card:nth-child(3){animation-delay:.2s;}
.agent-card:nth-child(4){ animation-delay:.3s;}
.agent-card:nth-child(5){ animation-delay:.4s;}
.agent-card:nth-child(6){ animation-delay:.5s;}
body.modal-open{ overflow:hidden;}

.auth-section{ min-height:100vh; padding:80px 0; background:var(--re-cream); display:flex; align-items:center;}
.auth-container{width:min(var(--re-container),92%); margin:auto;background:var(--re-white); display:grid;
grid-template-columns:1fr 1fr; box-shadow:var(--re-shadow-float);overflow:hidden;border-radius:8px;}
.auth-left{ padding:70px 65px;}
.auth-header{margin-bottom:35px;}
.auth-header h1{ margin-top:8px;font-size:clamp(2rem,3vw,2.8rem);}
.auth-toggle{ display:flex; margin-bottom:40px; border:1px solid var(--re-line);border-radius:40px;overflow:hidden;}
.toggle-btn{flex:1;height:55px;font-size:15px;background:transparent;transition:.35s;}
.toggle-btn.active{ background:var(--re-ink); color:white;}
.auth-form{ display:none; animation:fade .45s ease;}
.auth-form.active{ display:block;}
.row{ display:grid;grid-template-columns:1fr 1fr;gap:18px;}
.input-group{ position:relative; margin-bottom:20px;}
.input-group input{ width:100%; height:56px;border:1px solid var(--re-line);background:var(--re-white);padding-left:50px;
     padding-right:55px;outline:none;font-size:15px;font-family:inherit;}
.input-group > i{ position:absolute;left:18px;top:50%;transform:translateY(-50%);color:var(--re-brass);}
.input-group input:focus{ border-color:var(--re-brass); box-shadow:0 0 0 3px rgba(169,130,78,.12);}
.toggle-password{position:absolute;top:50%;right:18px;transform:translateY(-50%);width:20px;height:20px;display:flex;
align-items:center; justify-content:center;cursor:pointer;color:var(--re-ink-soft);z-index:2;}
.remember{display:flex;justify-content:space-between;align-items:center;margin:12px 0 28px;font-size:14px;}
.remember label{ display:flex;align-items:center;gap:8px;}
.remember a{color:var(--re-brass);}
.remember a:hover{  text-decoration:underline;}
.terms{ display:flex;align-items:flex-start;gap:10px;margin:15px 0 28px;font-size:14px;line-height:1.7;}
.terms input{margin-top:4px;}
.terms a{ color:var(--re-brass); font-weight:600;}
.auth-btn{width:100%;margin-top:10px;height:56px;font-size:15px;}
.bottom-text{ margin-top:25px;text-align:center; color:var(--re-ink-soft);}
.bottom-text a{
    color:var(--re-brass);
    font-weight:600;
}

.bottom-text a:hover{
    text-decoration:underline;
}

@keyframes fade{
    from{opacity:0;transform:translateY(20px);}
    to{opacity:1;transform:translateY(0);}
}

.auth-right{
    position:relative;
    min-height:900px;
    overflow:hidden;
}

.auth-right img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.auth-right::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(rgba(34,31,26,.18),rgba(34,31,26,.38));
}

.glass-box{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    width:68%;
    padding:30px;
    background:rgba(255,253,249,.82);
    backdrop-filter:blur(18px);
    border:1px solid rgba(255,255,255,.45);
    box-shadow:var(--re-shadow-float);
    z-index:5;
}

.glass-box h2{
    font-size:2rem;
    margin-bottom:35px;
    color:var(--re-ink);
}

.benefit{
    display:flex;
    align-items:flex-start;
    gap:18px;
    padding:22px 0;
    border-bottom:1px solid var(--re-line);
}

.benefit:last-child{
    border-bottom:none;
}

.benefit i{
    width:56px;
    height:56px;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    background:var(--re-brass);
    color:#fff;
    font-size:20px;
    flex-shrink:0;
    transition:.35s;
}

.benefit:hover i{
    transform:rotate(8deg) scale(1.08);
    background:var(--re-brass-dark);
}

.benefit h4{
    font-family:var(--re-font-display);
    font-size:1.2rem;
    margin-bottom:8px;
    color:var(--re-ink);
}

.benefit p{
    color:var(--re-ink-soft);
    line-height:1.7;
    font-size:.95rem;
}

.input-group input::placeholder{
    color:#8d867c;
}

.input-group input:hover{
    border-color:var(--re-brass);
}

.auth-btn{
    transition:.35s;
}

.auth-btn:hover{
    transform:translateY(-2px);
}

.bottom-text a,
.terms a,
.remember a{
    transition:.3s;
}


.re-footer{ background: var(--re-ink); color: rgba(241,234,221,0.75); }

.re-footer__hero{
  max-width: var(--re-container);
  margin: 0 auto;
  padding: 3.5rem 2rem 2.5rem;
  display:grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items:center;
}
.re-footer__hero-copy .re-logo__mark img{
    height: 120px;      /* Adjust as needed */
    width: auto;
    display: block;
    object-fit: contain;
}
.re-footer__hero-text{
  margin: 1rem 0 1.6rem;
  max-width: 340px;
  font-size: 0.95rem;
}
.re-footer__hero-eyebrow{
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--re-accent);
  font-weight:600;
  margin-bottom: 1.1rem;
}
.re-footer__social{ display:flex; gap: 0.7rem; }
.re-footer__social-icon{
  width: 34px; height: 34px;
  display:flex; align-items:center; justify-content:center;
  border: 1px solid var(--re-footer-line);
  border-radius: 50%;
  color: rgba(241,234,221,0.85);
  transition: border-color .2s ease, color .2s ease;
}
.re-footer__social-icon:hover{ border-color: var(--re-brass); color: var(--re-brass); }
.re-footer__hero-media{ border-radius: var(--re-radius-md); overflow:hidden; aspect-ratio: 16/9; }
.re-footer__hero-media img{ width:100%; height:100%; object-fit:cover; }

.re-footer__links{
  max-width: var(--re-container);
  margin: 0 auto;
  padding: 1.6rem 2rem;
  border-top: 1px solid var(--re-footer-line);
  display:flex;
  flex-wrap:wrap;
  justify-content: space-around;
  gap: 0.6rem 2rem;
}
.re-footer__links a{ font-size: 0.86rem; }
.re-footer__links a:hover{ color: var(--re-brass); }

.re-footer__wordmarks{
  max-width: var(--re-container);
  margin: 0 auto;
  padding: 2.2rem 2rem;
  border-top: 1px solid var(--re-footer-line);
  display:flex;
  justify-content:center;
  align-items:center;
  gap: 3rem;
}
.re-footer__wordmark{
  font-family: var(--re-font-display);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--re-cream);
  display:flex;
  flex-direction:column;
  align-items:center;
  line-height:1.1;
}
.re-footer__wordmark--stacked small{
  font-family: var(--re-font-body);
  font-style:normal;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform:uppercase;
  color: rgba(241,234,221,0.6);
  margin-top: 0.2rem;
}

.re-footer__legal-block{
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem 2rem;
  text-align:center;
}
.re-footer__legal-block p{
  font-size: 0.78rem;
  color: rgba(241,234,221,0.55);
  margin: 0 0 0.9rem;
  line-height:1.6;
}

.re-footer__bottom{
  border-top: 1px solid var(--re-footer-line);
  display:flex;
  justify-content:center;
  gap: 1.2rem;
  padding: 1.4rem 2rem 2.2rem;  font-size: 0.78rem;
}
.re-footer__bottom a{color: var(--re-accent);}
/* ============================================================
   CONTACT PAGE — hero
============================================================ */
.ct-hero{
  position:relative;
  min-height: 56vh;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.ct-hero__media{ position:absolute; inset:0; }
.ct-hero__img{ width:100%; height:100%; object-fit:cover; }
.ct-hero__scrim{
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(20,18,14,0.45) 0%, rgba(20,18,14,0.35) 45%, rgba(20,18,14,0.78) 100%);
}
.ct-hero__content{
  position:relative;
  z-index:2;
  max-width: 720px;
  text-align:center;
  padding: 4rem 1.5rem;
  color: var(--re-white);
}
.ct-hero .re-eyebrow{ color: var(--re-accent); }
.ct-hero__title{
  font-family: var(--re-font-display);
  font-weight:500;
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.ct-hero__title em{ font-style: italic; color: var(--re-accent); }
.ct-hero__sub{
  margin: 1.3rem auto 0;
  max-width: 520px;
  font-size: 1rem;
  color: rgba(255,255,255,0.86);
}

/* ============================================================
   CONTACT PAGE — quick contact strip
============================================================ */
.ct-quick{
  max-width: var(--re-container);
  margin: -3rem auto 0;
  padding: 0 2rem;
  position:relative;
  z-index: 5;
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--re-line);
  border-radius: var(--re-radius-md);
  overflow:hidden;
  box-shadow: var(--re-shadow-card);
}
.ct-quick__item{
  background: var(--re-white);
  padding: 1.4rem 1.6rem;
  display:flex;
  align-items:center;
  gap: 0.9rem;
  transition: background .2s ease;
}
.ct-quick__item:hover{ background: var(--re-cream-soft); }
.ct-quick__icon{
  flex: none;
  width: 40px; height: 40px;
  display:flex; align-items:center; justify-content:center;
  border-radius: 50%;
  background: var(--re-cream-soft);
  color: var(--re-brass-dark);
}
.ct-quick__item span span{ display:block; }
.ct-quick__item strong{
  display:block;
  font-size: 0.86rem;
  margin-bottom: 0.15rem;
}
.ct-quick__item span span{
  font-size: 0.82rem;
  color: var(--re-ink-soft);
}

/* ============================================================
   CONTACT PAGE — offices
============================================================ */
.ct-offices{ max-width: var(--re-container); margin: 6rem auto 0; padding: 0 2rem 6rem; }
.ct-offices__grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.4rem;
}
.ct-office{
  background: var(--re-cream-soft);
  border-radius: var(--re-radius-md);
  overflow:hidden;
  box-shadow: var(--re-shadow-card);
}
.ct-office__media{ position:relative; aspect-ratio: 16/9; overflow:hidden; }
.ct-office__media img{ width:100%; height:100%; object-fit:cover; }
.ct-office__badge{
  position:absolute;
  top: 1rem; left: 1rem;
  background: rgba(34,31,26,0.82);
  color: var(--re-white);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.4rem 0.8rem;
  border-radius: var(--re-radius-sm);
  font-weight:600;
}
.ct-office__body{ padding: 1.8rem 1.8rem 2rem; }
.ct-office__body h3{ font-size: 1.4rem; margin-bottom: 0.5rem; }
.ct-office__address{ color: var(--re-ink-soft); font-size: 0.92rem; margin: 0 0 1.2rem; }
.ct-office__meta{ display:flex; flex-direction:column; gap: 0.7rem; margin-bottom: 1.5rem; }
.ct-office__meta li{
  display:flex; align-items:center; gap: 0.7rem;
  font-size: 0.88rem;
  color: var(--re-ink-soft);
}
.ct-office__meta svg{ flex:none; color: var(--re-brass-dark); }
.ct-office__map{
  margin-top: 1.5rem;
  border-radius: var(--re-radius-md);
  overflow:hidden;
  aspect-ratio: 16/10;
  border: 1px solid var(--re-line);
}
.ct-office__map iframe{ width:100%; height:100%; border:0; filter: grayscale(0.15) contrast(1.02); }

/* ============================================================
   CONTACT PAGE — split form section
============================================================ */
.ct-form-section{
  display:grid;
  grid-template-columns: 1fr 1.15fr;
  align-items:stretch;
  background: var(--re-cream-soft);
  margin-bottom: 0;
}
.ct-form-section__media{ position:relative; min-height: 620px; overflow:hidden; }
.ct-form-section__media img{ width:100%; height:100%; object-fit:cover; position:absolute; inset:0; }
.ct-form-section__note{
  position:relative;
  z-index:2;
  height:100%;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding: 3rem;
  background: linear-gradient(180deg, rgba(20,18,14,0) 30%, rgba(20,18,14,0.78) 100%);
}
.ct-form-section__note .re-editorial__list li{ color: var(--re-white); }
.ct-form-section__note .re-editorial__list span{ color: var(--re-accent); }

.ct-form-section__form{ padding: 4rem clamp(2rem, 5vw, 5rem); }
.ct-form-section__sub{ color: var(--re-ink-soft); margin: 1rem 0 2rem; max-width: 460px; }

.re-form__row{ display:grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.re-form__field{ display:flex; flex-direction:column; gap: 0.4rem; margin-bottom: 1.4rem; }
.re-form__field label{
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--re-ink-soft);
}
.re-form__field input,
.re-form__field select,
.re-form__field textarea{
  border: none;
  border-bottom: 1px solid var(--re-line);
  background: transparent;
  padding: 0.6rem 0.1rem;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--re-ink);
  resize: vertical;
  width: 150px;
}
.re-form__field input:focus,
.re-form__field select:focus,
.re-form__field textarea:focus{
  outline:none;
  border-color: var(--re-brass);
}
.re-form__checkbox{
  display:flex;
  align-items:flex-start;
  gap: 0.7rem;
  margin: 0.4rem 0 1.8rem;
  font-size: 0.82rem;
  color: var(--re-ink-soft);
  line-height:1.5;
}
.re-form__checkbox input{ margin-top: 0.25rem; flex:none; }

.ct-form__submit{ width:100%; padding: 0.95rem 1.6rem; }
.ct-form__required{ margin-top: 0.9rem; font-size: 0.76rem; color: var(--re-ink-soft); }

.ct-form__status{
  padding: 2.5rem;
  background: var(--re-white);
  border: 1px solid var(--re-line);
  border-radius: var(--re-radius-md);
}
.ct-form__status h3{ font-size: 1.4rem; margin-bottom: 0.7rem; }
.ct-form__status p{ color: var(--re-ink-soft); margin:0; }

/* ============================================================
   FAQ PAGE — accordion
============================================================ */
.faq-section{ max-width: 960px; margin: 0 auto; padding: 5rem 2rem 7rem; }
.faq-list{ border-top: 1px solid var(--re-ink); }
.faq-item{ border-bottom: 1px solid var(--re-ink); }
.faq-question{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 1.5rem;
  padding: 1.5rem 0;
  text-align:left;
  font-family: var(--re-font-display);
  font-size: 1.15rem;
  font-weight:500;
  color: var(--re-ink);
}
.faq-question:hover{ color: var(--re-brass-dark); }
.faq-icon{
  position:relative;
  flex:none;
  width: 18px; height: 18px;
}
.faq-icon::before,
.faq-icon::after{
  content:"";
  position:absolute;
  top:50%; left:50%;
  background: currentColor;
  transform: translate(-50%,-50%);
  transition: transform .25s ease, opacity .25s ease;
}
.faq-icon::before{ width: 16px; height: 1.6px; }
.faq-icon::after{ width: 1.6px; height: 16px; }
.faq-item.is-open .faq-icon::after{ transform: translate(-50%,-50%) rotate(90deg); opacity:0; }

.faq-answer{
  overflow:hidden;
  max-height:0;
  transition: max-height .35s ease;
}
.faq-item.is-open .faq-answer{ max-height: 320px; }
.faq-answer p{
  margin:0;
  padding: 0 0 1.7rem;
  max-width: 640px;
  color: var(--re-ink-soft);
  font-size: 0.96rem;
}

/* ============================================================
   TESTIMONIALS PAGE
============================================================ */
.tst-hero{
  position:relative;
  max-width: var(--re-container);
  margin: 0 auto;
  padding: 4.5rem 2rem 3.5rem;
  text-align:center;
  overflow:hidden;
}
.tst-hero__ring{
  position:absolute;
  top: 50%; left:50%;
  width: 340px; height: 340px;
  border: 1px solid var(--re-line);
  border-radius: 50%;
  transform: translate(-50%,-50%);
  z-index:0;
}
.tst-hero__eyebrow{
  position:relative; z-index:1;
  font-family: var(--re-font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--re-brass-dark);
  margin-bottom: 0.3rem;
}
.tst-hero__title{
  position:relative; z-index:1;
  font-family: var(--re-font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.tst-grid-section{ background: var(--re-cream-soft); padding: 1rem 2rem 5rem; }
.tst-grid{
  max-width: var(--re-container);
  margin: 0 auto;
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
.tst-card{
  padding: 3rem 3rem 3rem 0;
  position:relative;
}
.tst-card img{
      width:58px;
    height:58px;
    border-radius:50%;
    object-fit:cover;
    flex-shrink:0;
}
.tst-card:nth-child(odd){ padding-left: 0; padding-right: 3rem; border-right: 1px solid var(--re-line); }
.tst-card:nth-child(even){ padding-left: 3rem; }
.tst-card:nth-last-child(-n+2){ padding-bottom: 0; }
.tst-quote{
  display:block;
  font-family: var(--re-font-display);
  font-size: 2.6rem;
  line-height:1;
  color: var(--re-brass);
  margin-bottom: 0.6rem;
}
.tst-card p{
  color: var(--re-ink-soft);
  font-size: 0.98rem;
  line-height:1.7;
  margin: 0 0 1.2rem;
}
.tst-card cite{
  display:block;
  font-style:normal;
  font-size: 0.9rem;
  font-weight:600;
  color: var(--re-ink);
}
.tst-card cite span{
  display:block;
  font-weight:400;
  color: var(--re-ink-soft);
  font-size: 0.84rem;
  margin-top: 0.15rem;
}

/* ============================================================
   SCROLL REVEAL (Intersection Observer driven)
============================================================ */
.reveal{
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.16,.8,.3,1), transform .7s cubic-bezier(.16,.8,.3,1);
}
.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}


/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  *{ transition: none !important; animation: none !important; scroll-behavior:auto !important; }
  .reveal{ opacity:1 !important; transform:none !important; }
}

/* Keyboard focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible{
  outline: 2px solid var(--re-brass-dark);
  outline-offset: 2px;
}
.re-nav__mobile-company{
    display:none;
}


/* ============================================================
   SELL PAGE
============================================================ */
 .sl-hero { width:100%  } 
 .sell-image{   display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;      /* fills the entire hero */
    object-position: center;}
/* ---------- Sell With Us form ---------- */
.sl-form-section{ max-width: var(--re-container); margin: 0 auto; padding: 5rem 2rem; }
.sl-form-section__inner{
  display:flex;
  flex-direction: column;
  gap: 4rem;
  align-items:start;
}
.sl-form-section__intro h2{ margin-bottom: 1rem; }
.sl-form-section__intro p{ color: var(--re-ink-soft); font-size: 1.02rem; line-height:1.7; max-width: 380px; }
 
.sl-form-section__form .re-form__field{ margin-bottom: 1.6rem; }
.sl-form__submit{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:100%;
  background: var(--re-ink);
  color: var(--re-white);
  padding: 1rem 1.6rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight:600;
  transition: background .25s ease;
}
.sl-form__submit:hover{ background: var(--re-brass-dark); }
.sl-form__disclaimer{
  margin-top: 1.2rem;
  font-size: 0.76rem;
  line-height:1.6;
  color: var(--re-ink-soft);
}
.sl-form__disclaimer a{ text-decoration: underline; }
.sl-form__status{
  padding: 2.2rem;
  background: var(--re-cream-soft);
  border: 1px solid var(--re-line);
  border-radius: var(--re-radius-md);
}
.sl-form__status h3{ font-size: 1.3rem; margin-bottom: 0.6rem; }
.sl-form__status p{ color: var(--re-ink-soft); margin:0; }
 
/* ---------- Advantages slider (dark, browser-mockup carousel) ---------- */
.sl-adv{ background: var(--re-ink); padding: 5rem 2rem; overflow:hidden; }
.sl-adv__viewport{ max-width: var(--re-container); margin: 0 auto; position:relative; min-height: 460px; }
.sl-adv__slide{
  display:none;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items:center;
}
.sl-adv__slide.is-active{ display:grid; animation: abFadeIn .5s ease; }
 
.sl-adv__mockup{
  background: var(--re-white);
  border-radius: var(--re-radius-md);
  overflow:hidden;
  box-shadow: var(--re-shadow-float);
}
.sl-adv__mockup-bar{
  display:flex;
  gap: 6px;
  padding: 0.7rem 0.9rem;
  background: var(--re-brass-dark);
}
.sl-adv__mockup-bar span{ width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.6); }
.sl-adv__mockup-photo{ aspect-ratio: 16/9; overflow:hidden; }
.sl-adv__mockup-photo img{ width:100%; height:100%; object-fit:cover; }
.sl-adv__mockup-body{ padding: 1.3rem 1.5rem 1.6rem; }
.sl-adv__mockup-tags{ font-size: 0.74rem; color: var(--re-ink-soft); margin: 0 0 0.6rem; display:flex; align-items:center; gap: 0.4rem; flex-wrap:wrap; }
.sl-adv__dot{ width: 7px; height: 7px; border-radius: 50%; background: #c0392b; display:inline-block; }
.sl-adv__mockup-body h4{ font-size: 1.5rem; margin-bottom: 0.2rem; }
.sl-adv__mockup-addr{ font-size: 0.84rem; color: var(--re-ink-soft); margin: 0 0 0.9rem; }
.sl-adv__mockup-estimate{
  display:inline-flex;
  align-items:center;
  gap: 0.6rem;
  background: #fbdede;
  color: var(--re-ink);
  font-weight:600;
  font-size: 0.86rem;
  padding: 0.6rem 0.9rem;
  border-radius: var(--re-radius-sm);
  margin-bottom: 1.1rem;
}
.sl-adv__mockup-estimate--live{ background: var(--re-cream-deep); }
.sl-adv__mockup-estimate span{
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #c0392b;
  color: #fff;
  font-size: 0.72rem;
  display:flex; align-items:center; justify-content:center;
}
.sl-adv__mockup-heading{ font-weight:600; font-size: 0.92rem; margin-bottom: 0.4rem; }
.sl-adv__mockup-desc{ font-size: 0.84rem; color: var(--re-ink-soft); line-height:1.6; margin:0; }
 
.sl-adv__content{ color: var(--re-cream); }
.sl-adv__num{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(241,234,221,0.4);
  font-family: var(--re-font-display);
  margin-bottom: 1.2rem;
}
.sl-adv__content h3{ font-size: 1.6rem; color: var(--re-white); margin-bottom: 0.9rem; }
.sl-adv__content p{ color: rgba(241,234,221,0.75); line-height:1.75; max-width: 420px; }
 
.sl-adv__nav{ margin-top: 2.5rem; }
.sl-adv__nav .ab-carousel-arrow{ border-color: rgba(241,234,221,0.3); color: var(--re-cream); }
.sl-adv__nav .ab-carousel-arrow:hover{ background: rgba(241,234,221,0.08); border-color: var(--re-brass); }
 
/* ---------- Benefits slider (light, photo + text carousel) ---------- */
.sl-benefits{ max-width: var(--re-container); margin: 0 auto; padding: 5rem 2rem 6rem; }
.sl-benefits__card{
  position:relative;
  background: var(--re-cream-soft);
  border-radius: var(--re-radius-md);
  overflow:hidden;
  box-shadow: var(--re-shadow-card);
  min-height: 420px;
      height: 20px;
}
.sl-benefits__nav{
  position:absolute;
  top: 1.4rem; right: 1.4rem;
  z-index: 3;
  display:flex;
  gap: 0.6rem;
}
.sl-benefits__arrow{
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--re-white);
  box-shadow: var(--re-shadow-card);
  display:flex; align-items:center; justify-content:center;
  color: var(--re-ink);
  transition: background .2s ease;
}
.sl-benefits__arrow:hover{ background: var(--re-cream-deep); }
 
.sl-benefits__slide{
  display:none;
  grid-template-columns: 1fr 1fr;
  align-items:stretch;
}
.sl-benefits__slide.is-active{ display:grid; animation: abFadeIn .5s ease; }
.sl-benefits__media{ min-height: 420px; overflow:hidden; }
.sl-benefits__media img{ width:100%; height:100%; object-fit:cover; }
.sl-benefits__content{ padding: 3rem clamp(2rem, 4vw, 3.5rem); display:flex; flex-direction:column; justify-content:center; }
.sl-benefits__content h3{ font-size: 1.9rem; margin-bottom: 1rem; }
.sl-benefits__content p{ color: var(--re-ink-soft); line-height:1.75; max-width: 420px; }


/* ============================================================
   BUY PAGE
============================================================ */
.by-hero{ max-width: 720px; margin: 0 auto; padding: 4rem 2rem 1rem; text-align:center; }
.by-hero__sub{ margin: 1rem 0 0; color: var(--re-ink-soft); font-size: 1rem; }
 
/* ---------- Quick search bar (static, not floating) ---------- */
.by-quicksearch{ max-width: var(--re-container); margin: 0 auto; padding: 2rem 2rem 1rem; }
.by-quicksearch__bar{
  background: var(--re-white);
  border-radius: var(--re-radius-md);
  box-shadow: var(--re-shadow-card);
  padding: 1.4rem 1.6rem;
  display:flex;
  align-items:flex-end;
  gap: 1.4rem;
  flex-wrap: wrap;
}
 
/* ---------- Main layout: count + sidebar + grid ---------- */
.by-main{ max-width: var(--re-container); margin: 0 auto; padding: 2rem 2rem 6rem; }
.by-main__head{ margin-bottom: 1.4rem; }
.by-main__head p{ font-size: 0.92rem; color: var(--re-ink-soft); font-weight:600; }
 
.by-layout{
  display:grid;
  grid-template-columns: 290px 1fr;
  gap: 2.4rem;
  align-items:start;
}
 
/* ---------- Sticky sidebar ---------- */
.by-sidebar{
  position: sticky;
  top: 100px; /* clears the sticky header */
  background: var(--re-cream-soft);
  border-radius: var(--re-radius-md);
  padding: 1.6rem;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}
.by-filter-group{ padding-bottom: 1.4rem; margin-bottom: 1.4rem; border-bottom: 1px solid var(--re-line); }
.by-filter-group:last-of-type{ border-bottom:none; margin-bottom: 0.4rem; }
.by-filter-group h4{
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--re-ink-soft);
  margin-bottom: 0.8rem;
  font-family: var(--re-font-body);
  font-weight:600;
}
 
.by-text-input{
  width:100%;
  border: 1px solid var(--re-line);
  border-radius: var(--re-radius-sm);
  background: var(--re-white);
  padding: 0.6rem 0.7rem;
  font-family: inherit;
  font-size: 0.88rem;
  color: var(--re-ink);
}
.by-text-input:focus{ outline:none; border-color: var(--re-brass); }
 
.by-checkbox{
  display:flex;
  align-items:center;
  gap: 0.6rem;
  font-size: 0.87rem;
  color: var(--re-ink-soft);
  padding: 0.35rem 0;
  cursor:pointer;
}
.by-checkbox input{ accent-color: var(--re-brass-dark); width:15px; height:15px; }
.by-checkbox:hover{ color: var(--re-ink); }
 
.by-chip-row{ display:flex; flex-wrap:wrap; gap: 0.5rem; }
.by-chip{
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--re-line);
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--re-ink-soft);
  background: var(--re-white);
  transition: all .2s ease;
}
.by-chip:hover{ border-color: var(--re-brass); color: var(--re-ink); }
.by-chip.is-active{ background: var(--re-ink); border-color: var(--re-ink); color: var(--re-white); }
 
.by-range-row{ display:flex; align-items:center; gap: 0.6rem; }
.by-range-row span{ color: var(--re-ink-soft); }
.by-range-row .by-text-input{ width: 50%; }
 
.by-sidebar__reset{ width:100%; margin-top: 0.4rem; }
 
/* ---------- Property grid (2 per row) ---------- */
.by-grid-wrap{ min-width: 0; }
.by-empty{ text-align:center; color: var(--re-ink-soft); padding: 3rem 1rem; max-width: 480px; margin: 0 auto; }
.by-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.8rem;
}
.by-card.is-hidden{ display:none; }
.by-card__amenities{
  margin-top: 0.6rem;
  padding-top: 0.6rem;
  border-top: 1px solid var(--re-line);
  font-size: 0.78rem;
  color: var(--re-brass-dark);
}

 .re-page{ padding-top: 10rem;}

/* ============================================================
   ABOUT PAGE
============================================================ */
.ab-hero{
  max-width: var(--re-container);
  margin: 0 auto;
  padding: 4.5rem 2rem 2.5rem;
  text-align:center;
}
.ab-hero__media{
  position:relative;
  max-width: 900px;
  margin: 0 auto;
  aspect-ratio: 16/9;
  overflow:hidden;
  border-radius: 50% 50% 4px 4px / 22% 22% 0 0;
}
.ab-hero__media img{ width:100%; height:100%; object-fit:cover; }
.ab-hero__title{
  position:absolute;
  left:50%; bottom: -0.35em;
  transform: translateX(-50%);
  font-size: clamp(2.6rem, 7vw, 5rem);
  letter-spacing: -0.01em;
  color: var(--re-ink);
  white-space:nowrap;
}
.ab-hero__icon{
  display:flex;
  justify-content:center;
  margin-top: 2.6rem;
  color: var(--re-ink-soft);
}

.ab-oval-story{
  display:grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 3rem;
  align-items:center;
  max-width: var(--re-container);
  margin: 0 auto;
  padding: 2rem 2rem 6rem;
}
.ab-oval-story__media{
  aspect-ratio: 3/4;
  overflow:hidden;
  border-radius: 50% 50% 45% 45% / 55% 55% 45% 45%;
}
.ab-oval-story__media img{ width:100%; height:100%; object-fit:cover; }
.ab-oval-story__content p{
  color: var(--re-ink-soft);
  font-size: 1rem;
  line-height: 1.8;
  margin: 0 0 1.4rem;
}
.ab-oval-story__link{
  display:inline-block;
  font-size: 0.9rem;
  font-weight:600;
  color: var(--re-brass-dark);
  border-bottom: 1px solid var(--re-brass-dark);
  padding-bottom: 0.15rem;
}
.ab-oval-story__link:hover{ opacity: 0.75; }

/* ---------- Recently Sold (carousel) ---------- */
.ab-sold{ max-width: var(--re-container); margin: 0 auto; padding: 6rem 2rem 4rem; }
.ab-sold__viewport{ overflow:hidden; }
.ab-sold__track{
  display:flex;
  gap: 1.6rem;
  overflow-x:auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 0.5rem;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.ab-sold__track::-webkit-scrollbar{ display:none; }
.ab-sold__card{
  flex: 0 0 calc((100% - 3.2rem) / 3);
  scroll-snap-align: start;
  background: var(--re-cream-soft);
  border-radius: var(--re-radius-md);
  overflow:hidden;
  box-shadow: var(--re-shadow-card);
}
.ab-sold__media{ position:relative; aspect-ratio: 4/3; overflow:hidden; }
.ab-sold__media img{ width:100%; height:100%; object-fit:cover; }
.ab-sold__badge{
  position:absolute;
  top: 0.8rem; left: 0.8rem;
  z-index:2;
  background: rgba(34,31,26,0.82);
  color: var(--re-white);
  font-size: 0.66rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border-radius: var(--re-radius-sm);
  font-weight:600;
}
.ab-sold__card--placeholder{ position:relative; }
.ab-sold__card--placeholder .ab-sold__badge{ position:absolute; }
.ab-sold__placeholder{
  aspect-ratio: 4/3;
  background: var(--re-ink);
  color: var(--re-white);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap: 0.5rem;
  text-align:center;
}
.ab-sold__placeholder p{ margin:0; font-size: 0.95rem; font-weight:600; letter-spacing: 0.03em; }
.ab-sold__placeholder span{ font-size: 0.72rem; color: rgba(255,255,255,0.65); }
.ab-sold__info{ padding: 1.1rem 1.3rem 1.4rem; }
.ab-sold__info h3{ font-size: 1.2rem; margin-bottom: 0.4rem; }
.ab-sold__meta{ font-size: 0.82rem; color: var(--re-ink-soft); margin: 0 0 0.4rem; }
.ab-sold__address{ font-size: 0.82rem; color: var(--re-ink-soft); margin:0; }

.ab-sold__dots{
  display:flex;
  justify-content:center;
  gap: 0.5rem;
  margin: 1.6rem 0 0.4rem;
}
.ab-sold__dots button{
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--re-line);
  transition: background .2s ease, transform .2s ease;
}
.ab-sold__dots button.is-active{ background: var(--re-ink); transform: scale(1.25); }

.ab-carousel-nav{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 1.2rem;
  margin-top: 1.6rem;
}
.ab-carousel-arrow{
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--re-line);
  display:flex;
  align-items:center;
  justify-content:center;
  color: var(--re-ink);
  transition: background .2s ease, border-color .2s ease;
}
.ab-carousel-arrow:hover{ background: var(--re-cream-soft); border-color: var(--re-brass); }
.ab-carousel-cta{ border-radius: 999px; padding: 0.85rem 2rem; }

/* ---------- Agent testimonial feature ---------- */
.ab-agent-testimonial{
  position:relative;
  max-width: var(--re-container);
  margin: 0 auto 6rem;
  padding: 0 2rem;
  display:grid;
  grid-template-columns: 1fr 1fr;
  align-items:end;
}
.ab-agent-testimonial__media{
  grid-column: 1 / -1;
  grid-row: 1;
  aspect-ratio: 21/9;
  border-radius: var(--re-radius-md);
  overflow:hidden;
}
.ab-agent-testimonial__media img{ width:100%; height:100%; object-fit:cover; }
.ab-agent-testimonial__head{
  grid-column: 1 / -1;
  grid-row: 1;
  align-self:start;
  text-align:center;
  padding: 1.6rem 1.5rem;
  background: var(--re-white);
  margin: 0 auto;
  border-radius: var(--re-radius-sm);
}
.ab-agent-testimonial__eyebrow{
  font-family: var(--re-font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--re-brass-dark);
  margin-bottom: 0.2rem;
}
.ab-agent-testimonial__title{
  font-family: var(--re-font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ab-agent-testimonial__card{
  grid-column: 2;
  grid-row: 1;
  position:relative;
  z-index: 2;
  background: var(--re-white);
  box-shadow: var(--re-shadow-float);
  border-radius: var(--re-radius-md);
  padding: 2.2rem 2.4rem;
  margin: 2rem;
  max-width: 460px;
}
.ab-agent-testimonial__quote{
  display:block;
  font-family: var(--re-font-display);
  font-size: 2.4rem;
  color: var(--re-brass);
  line-height:1;
  margin-bottom: 0.6rem;
}
.ab-agent-testimonial__card p{
  color: var(--re-ink-soft);
  font-style: italic;
  line-height: 1.7;
  margin: 0 0 1rem;
}
.ab-agent-testimonial__stars{ color: var(--re-brass); letter-spacing: 0.15em; }
.ab-agent-testimonial__nav{ grid-column: 1 / -1; margin-top: 2rem; }

.ab-intro{
  max-width: 900px;
  margin: 0 auto;
  padding: 1.5rem 2rem 4rem;
  font-family: var(--re-font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  line-height: 1.5;
  color: var(--re-ink);
}

.ab-gallery{
  max-width: var(--re-container);
  margin: 0 auto;
  padding: 0 2rem 5rem;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.ab-gallery__item{ border-radius: var(--re-radius-md); overflow:hidden; aspect-ratio: 4/5; }
.ab-gallery__item:nth-child(2){ aspect-ratio: 4/5; margin-top: 2.4rem; }
.ab-gallery__item img{ width:100%; height:100%; object-fit:cover; }

.ab-story{
  max-width: var(--re-container);
  margin: 0 auto;
  padding: 0 2rem 6rem;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}
.ab-story__col p{
  color: var(--re-ink-soft);
  font-size: 1rem;
  line-height: 1.75;
  margin: 0 0 1.4rem;
}
.ab-story__link{
  display:inline-block;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  font-weight:600;
  color: var(--re-brass-dark);
  border-bottom: 1px solid var(--re-brass-dark);
  padding-bottom: 0.15rem;
  transition: opacity .2s ease;
}
.ab-story__link:hover{ opacity: 0.7; }

/* ---------- Services (tab switcher) ---------- */
.ab-services{
  background: var(--re-cream-soft);
  padding: 5rem 2rem;
}
.ab-services__head{
  max-width: var(--re-container);
  margin: 0 auto 2.4rem;
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  flex-wrap:wrap;
  gap: 1rem;
}
.ab-services__cta{
  font-size: 0.9rem;
  font-weight:600;
  color: var(--re-brass-dark);
  border-bottom: 1px solid var(--re-brass-dark);
  padding-bottom: 0.15rem;
}
.ab-services__cta:hover{ opacity: 0.75; }
.ab-services__body{ max-width: var(--re-container); margin: 0 auto; }

.ab-tabs{ display:flex; gap: 2rem; border-bottom: 1px solid var(--re-line); margin-bottom: 2rem; }
.ab-tab{
  padding: 0.8rem 0;
  font-family: var(--re-font-display);
  font-size: 1.3rem;
  color: var(--re-ink-soft);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.ab-tab.is-active{ color: var(--re-ink); border-color: var(--re-brass); }

.ab-panel{
    display: none;
}

.ab-panel.is-active{
    display: block;
    animation: abFadeIn .4s ease;
}

.ab-panel-wrap{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.ab-panel-content{
    flex: 1;
}

.ab-panel-content h3{
    font-size: 1.6rem;
    margin-bottom: .8rem;
}

.ab-panel-content p{
    color: var(--re-ink-soft);
    line-height: 1.75;
    margin: 0 0 1.1rem;
}

.ab-panel-image{
    flex: 0 0 320px;
}

.ab-panel-image img{
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 18px;
    display: block;
}

@keyframes abFadeIn{
  from{ opacity:0; transform: translateY(8px); }
  to{ opacity:1; transform: translateY(0); }
}

/* ---------- Process steps ---------- */
.ab-process{ max-width: var(--re-container); margin: 0 auto; padding: 6rem 2rem; }
.ab-step{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items:center;
  margin-bottom: 5rem;
}
.ab-step:last-child{ margin-bottom: 0; }
.ab-step--reverse .ab-step__media{ order: 2; }
.ab-step--reverse .ab-step__content{ order: 1; }
.ab-step__media{ border-radius: var(--re-radius-md); overflow:hidden; aspect-ratio: 4/3; }
.ab-step__media img{ width:100%; height:100%; object-fit:cover; }
.ab-step__num{
  font-family: var(--re-font-display);
  font-style: italic;
  color: var(--re-brass-dark);
  font-size: 1rem;
  margin-bottom: 0.6rem;
}
.ab-step__content h3{ font-size: 1.7rem; margin-bottom: 0.9rem; }
.ab-step__content p{ color: var(--re-ink-soft); line-height: 1.75; max-width: 440px; }

/* ============================================================
   BLOG / JOURNAL — shared bits (tags, meta, cards, grid)
============================================================ */
.bl-tag{
  display:inline-block;
  background: rgba(34,31,26,0.82);
  color: var(--re-white);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border-radius: var(--re-radius-sm);
  font-weight:600;
}
.bl-tag--static{ background: var(--re-brass-dark); }

.bl-meta{ display:flex; align-items:center; gap: 0.7rem; font-size: 0.84rem; color: var(--re-ink-soft); }
.bl-meta__avatar{ width: 32px; height: 32px; border-radius: 50%; object-fit:cover; }
.bl-meta--lg img{ width: 44px; height: 44px; border-radius: 50%; object-fit:cover; }
.bl-meta--lg{ margin-top: 1.2rem; }

.bl-grid{
  max-width: var(--re-container);
  margin: 0 auto;
  padding: 0 2rem;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.bl-card{
  background: var(--re-cream-soft);
  border-radius: var(--re-radius-md);
  overflow:hidden;
  box-shadow: var(--re-shadow-card);
  transition: transform .3s ease, opacity .3s ease;
}
.bl-card.is-hidden{ display:none; }
.bl-card:hover{ transform: translateY(-6px); }
.bl-card__media{ position:relative; display:block; aspect-ratio: 4/3; overflow:hidden; }
.bl-card__media img{ width:100%; height:100%; object-fit:cover; transition: transform .5s ease; }
.bl-card:hover .bl-card__media img{ transform: scale(1.05); }
.bl-card__media .bl-tag{ position:absolute; top: 0.8rem; left: 0.8rem; }
.bl-card__body{ padding: 1.2rem 1.3rem 1.4rem; }
.bl-card__body h3{ font-size: 1.05rem; line-height:1.35; margin-bottom: 0.5rem; }
.bl-card__body h3 a:hover{ color: var(--re-brass-dark); }
.bl-card__body p{ font-size: 0.88rem; color: var(--re-ink-soft); margin: 0 0 0.8rem; line-height:1.55; }
.bl-card__meta{ font-size: 0.78rem; color: var(--re-ink-soft); }

/* ---------- Journal hero ---------- */
.bl-hero{ max-width: 720px; margin: 0 auto; padding: 4.5rem 2rem 3rem; text-align:center; }
.bl-hero__sub{ margin: 1rem 0 0; color: var(--re-ink-soft); font-size: 1rem; }

/* ---------- Featured post ---------- */
.bl-featured{
  max-width: var(--re-container);
  margin: 0 auto 4rem;
  padding: 0 2rem;
  display:grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items:center;
}
.bl-featured__media{ position:relative; display:block; aspect-ratio: 4/3; border-radius: var(--re-radius-md); overflow:hidden; }
.bl-featured__media img{ width:100%; height:100%; object-fit:cover; }
.bl-featured__media .bl-tag{ position:absolute; top: 1rem; left: 1rem; }
.bl-eyebrow{
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--re-brass-dark); font-weight:600; margin: 0 0 0.7rem;
}
.bl-featured__content h2{ font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height:1.25; margin-bottom: 0.9rem; }
.bl-featured__content h2 a:hover{ color: var(--re-brass-dark); }
.bl-featured__excerpt{ color: var(--re-ink-soft); line-height:1.7; margin: 0 0 1.3rem; }

/* ---------- Category filter chips ---------- */
.bl-filters{
  max-width: var(--re-container);
  margin: 0 auto;
  padding: 0 2rem 2.5rem;
  display:flex;
  flex-wrap:wrap;
  gap: 0.7rem;
}

.bl-grid-section{ padding-bottom: 6rem; }
.bl-empty{ text-align:center; color: var(--re-ink-soft); padding: 3rem 1rem; max-width: 480px; margin: 0 auto; }

/* ---------- Meet the experts row ---------- */
.bl-experts{ background: var(--re-cream-soft); padding: 5rem 2rem 6rem; }
.bl-experts__row{
  max-width: var(--re-container);
  margin: 0 auto;
  display:flex;
  gap: 1.6rem;
  overflow-x:auto;
  padding-bottom: 0.5rem;
}
.bl-expert{ flex: 0 0 150px; text-align:center; }
.bl-expert img{ width: 96px; height: 96px; border-radius: 50%; object-fit:cover; margin: 0 auto 0.8rem; }
.bl-expert__name{ display:block; font-weight:600; font-size: 0.92rem; }
.bl-expert__role{ display:block; font-size: 0.78rem; color: var(--re-ink-soft); margin-top: 0.15rem; }

/* ---------- Newsletter band ---------- */
.bl-newsletter{ background: var(--re-footer-bg); color: var(--re-cream); padding: 5rem 2rem; }
.bl-newsletter__inner{ max-width: 620px; margin: 0 auto; text-align:center; }
.bl-newsletter__title{ font-family: var(--re-font-display); font-size: clamp(1.5rem, 2.8vw, 2.1rem); color: var(--re-white); margin: 0.6rem 0 2rem; }
.bl-newsletter__form{ display:flex; gap: 0.8rem; max-width: 440px; margin: 0 auto; }
.bl-newsletter__form input{
  flex:1;
  padding: 0.85rem 1.1rem;
  border-radius: var(--re-radius-sm);
  border: 1px solid rgba(241,234,221,0.25);
  background: rgba(241,234,221,0.06);
  color: var(--re-white);
  font-family: inherit;
  font-size: 0.92rem;
}
.bl-newsletter__form input::placeholder{ color: rgba(241,234,221,0.5); }
.bl-newsletter__form input:focus{ outline:none; border-color: var(--re-brass); }
.bl-newsletter__note{ margin-top: 1.2rem; font-size: 0.88rem; color: #E7C98E; }

/* ============================================================
   BLOG ARTICLE (detail page)
============================================================ */
.bl-article{ max-width: 1460px; margin: 0 auto; padding: 3.5rem 2rem 2rem; }
.bl-article__head{ text-align:center; margin-bottom: 2.5rem; }
.bl-article__back{
  display:inline-block;
  font-size: 0.84rem;
  color: var(--re-ink-soft);
  margin-bottom: 1.4rem;
}
.bl-article__back:hover{ color: var(--re-brass-dark); }
.bl-article__head h1{ font-size: clamp(1.9rem, 4vw, 2.8rem); line-height:1.2; margin: 1rem 0 0; }
.bl-meta--lg{ justify-content:center; }

.bl-article__hero-media{
  max-width: 1000px;
  margin: 0 auto 3rem;
  padding: 0 2rem;
  aspect-ratio: 16/9;
  border-radius: var(--re-radius-md);
  overflow:hidden;
}
.bl-article__hero-media img{ width:100%; height:100%; object-fit:cover; }

.bl-article__body p{ font-size: 1.02rem; line-height: 1.85; color: var(--re-ink-soft); margin: 0 0 1.5rem; }
.bl-article__body h2{ font-size: 1.5rem; margin: 2.4rem 0 1.2rem; }
.bl-pullquote{
  font-family: var(--re-font-display);
  font-style: italic;
  font-size: 1.35rem;
  line-height:1.55;
  color: var(--re-ink);
  border-left: 3px solid var(--re-brass);
  padding: 0.3rem 0 0.3rem 1.6rem;
  margin: 2.4rem 0;
}
.bl-article__image{ margin: 2.4rem 0; }
.bl-article__image img{ width:100%; border-radius: var(--re-radius-md); aspect-ratio: 16/9; object-fit:cover; }
.bl-article__image span{ display:block; margin-top: 0.7rem; font-size: 0.82rem; color: var(--re-ink-soft); font-style:italic; }
.bl-article__list{ display:flex; flex-direction:column; gap: 0.9rem; margin: 0 0 1.8rem; padding-left: 1.2rem; }
.bl-article__list li{ font-size: 1rem; line-height:1.7; color: var(--re-ink-soft); list-style: disc; }
.bl-article__list li strong{ color: var(--re-ink); }

.bl-author{
  display:flex;
  gap: 1.4rem;
  align-items:flex-start;
  background: var(--re-cream-soft);
  border-radius: var(--re-radius-md);
  padding: 1.8rem;
  margin-top: 3rem;
}
.bl-author img{ width: 64px; height: 64px; border-radius: 50%; object-fit:cover; flex:none; }
.bl-author h3{ font-size: 1.1rem; margin-bottom: 0.4rem; }
.bl-author p{ font-size: 0.9rem; color: var(--re-ink-soft); line-height:1.6; margin:0; }

.bl-related{ max-width: var(--re-container); margin: 0 auto; padding: 4rem 2rem 6rem; }
.bl-grid--related{ padding: 0; }
/* ============================================================
   PROJECTS LISTING PAGE (dark featured cards)
============================================================ */
.pj-hero{ max-width: 720px; margin: 0 auto; padding: 4rem 2rem 1rem; text-align:center; }
.pj-hero__sub{ margin: 1rem 0 0; color: var(--re-ink-soft); font-size: 1rem; }
 
.pj-section{ background: var(--re-ink); padding: 3.5rem 2rem 5rem; }
.pj-section__label{
  max-width: var(--re-container);
  margin: 0 auto 1.6rem;
  color: var(--re-cream);
  font-family: var(--re-font-display);
  font-size: 1.3rem;
}
.pj-grid{
  max-width: var(--re-container);
  margin: 0 auto;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}
.pj-card{
  background: #141210;
  border: 1px solid rgba(241,234,221,0.1);
  border-radius: var(--re-radius-md);
  overflow:hidden;
}
.pj-card__gallery{
  position:relative;
  display:block;
  aspect-ratio: 4/3;
  overflow:hidden;
}
.pj-card__badge{
  position:absolute;
  top: 0.8rem; left: 0.8rem;
  z-index: 3;
  background: var(--re-white);
  color: var(--re-ink);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight:600;
  padding: 0.35rem 0.7rem;
  border-radius: var(--re-radius-sm);
}
.pj-card__img{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
  opacity:0;
  transition: opacity .35s ease;
}
.pj-card__img.is-active{ opacity:1; }
.pj-card__arrow{
  position:absolute;
  top:50%; transform: translateY(-50%);
  z-index: 3;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--re-cream);
  color: var(--re-ink);
  font-size: 1.1rem;
  line-height:1;
  display:flex; align-items:center; justify-content:center;
  opacity:0;
  transition: opacity .2s ease, background .2s ease;
}
.pj-card__gallery:hover .pj-card__arrow{ opacity:1; }
.pj-card__arrow:hover{ background:var(--re-ink);color: var(--re-cream); }
.pj-card__arrow--prev{ left: 0.6rem; }
.pj-card__arrow--next{ right: 0.6rem; }
.pj-card__dots{
  position:absolute;
  bottom: 0.7rem; left:0; right:0;
  z-index:3;
  display:flex;
  justify-content:center;
  gap: 5px;
}
.pj-card__dots span{
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  transition: background .2s ease;
}
.pj-card__dots span.is-active{ background: var(--re-white); }
 
.pj-card__body{ padding: 1.2rem 1.3rem 1.5rem; color: var(--re-cream); }
.pj-card__stats{ display:flex; gap: 1rem; font-size: 0.8rem; color: rgba(241,234,221,0.6); margin-bottom: 0.9rem; }
.pj-card__actions{ display:flex; gap: 0.6rem; margin-bottom: 1.1rem; }
.pj-card__action{
  flex:1;
  text-align:center;
  padding: 0.55rem 0.8rem;
  border: 1px solid rgba(241,234,221,0.25);
  border-radius: var(--re-radius-sm);
  font-size: 0.82rem;
  color: var(--re-cream);
  transition: border-color .2s ease, background .2s ease;
}
.pj-card__action:hover{ border-color: var(--re-brass); background: rgba(241,234,221,0.06); }
.pj-card__action--icon{ flex: 0 0 42px; display:flex; align-items:center; justify-content:center; }
.pj-card__price{ font-size: 1.25rem; margin-bottom: 0.3rem; color: var(--re-white); }
.pj-card__meta{ font-size: 0.85rem; color: rgba(241,234,221,0.7); margin: 0 0 0.3rem; }
.pj-card__location{ font-size: 0.85rem; color: rgba(241,234,221,0.55); margin:0; }
 
/* ============================================================
   PROJECT DETAIL PAGE
============================================================ */
.pd-page{ max-width: var(--re-container); margin: 0 auto; padding: 1.6rem 2rem 4rem; }
 
.pd-breadcrumb{ font-size: 0.84rem; color: var(--re-ink-soft); margin-bottom: 1.4rem; display:flex; gap: 0.5rem; flex-wrap:wrap; }
.pd-breadcrumb a:hover{ color: var(--re-brass-dark); }
.pd-breadcrumb span[aria-current]{ color: var(--re-ink); }
 
.pd-gallery{ display:grid; grid-template-columns: 1.6fr 1fr; gap: 1rem; margin-bottom: 2rem; }
.pd-gallery__main{ position:relative; aspect-ratio: 4/3; border-radius: var(--re-radius-md); overflow:hidden; }
.pd-gallery__main img{ width:100%; height:100%; object-fit:cover; }
.pd-gallery__counter{
  position:absolute;
  top: 1rem; right: 1rem;
  background: rgba(255,255,255,0.92);
  color: var(--re-ink);
  font-size: 0.76rem;
  font-weight:600;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
}
.pd-gallery__thumbs{ display:grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
.pd-gallery__thumb{ aspect-ratio: 1/1; border-radius: var(--re-radius-sm); overflow:hidden; border: 2px solid transparent; }
.pd-gallery__thumb.is-active{ border-color: var(--re-brass); }
.pd-gallery__thumb img{ width:100%; height:100%; object-fit:cover; }
 
.pd-title{ display:flex; align-items:flex-start; justify-content:space-between; gap: 1.5rem; margin-bottom: 2.5rem; flex-wrap:wrap; }
.pd-title h1{ font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 0.5rem; }
.pd-title__address{ color: var(--re-ink-soft); font-size: 0.94rem; margin: 0 0 0.7rem; }
.pd-title__price{ font-size: 1.15rem; font-weight:600; margin:0; }
.pd-title__actions{ display:flex; gap: 0.7rem; }
.pd-icon-btn{
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--re-line);
  display:flex; align-items:center; justify-content:center;
  color: var(--re-ink-soft);
  font-size: 1.1rem;
  transition: border-color .2s ease, color .2s ease;
}
.pd-icon-btn:hover{ border-color: var(--re-brass); color: var(--re-brass-dark); }
.pd-icon-btn.is-saved{ color: var(--re-brass-dark); border-color: var(--re-brass); }
 
.pd-layout{ display:grid; grid-template-columns: 1fr 360px; gap: 3rem; align-items:start; }
 
.pd-features{ padding-bottom: 1.6rem; border-bottom: 1px solid var(--re-line); margin-bottom: 2rem; }
.pd-features h2{ font-size: 1.3rem; margin-bottom: 1.2rem; }
.pd-features__grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem 1.5rem;
  font-size: 0.9rem;
  color: var(--re-ink-soft);
  margin-bottom: 1rem;
}
.pd-features__extra{ display:none; }
.pd-features.is-expanded .pd-features__extra{ display:block; }
.pd-features__toggle{ font-size: 0.86rem; font-weight:600; color: var(--re-brass-dark); text-decoration: underline; }
 
.pd-description h2{ font-size: 1.3rem; margin-bottom: 1.1rem; }
.pd-description p{ color: var(--re-ink-soft); line-height:1.75; margin: 0 0 1.2rem; }
 
.pd-sidebar{ display:flex; flex-direction:column; gap: 1.6rem; position: sticky; top: 100px; }
 
.pd-agent-card{
  display:flex;
  gap: 1rem;
  align-items:center;
  background: var(--re-cream-soft);
  border-radius: var(--re-radius-md);
  padding: 1.3rem;
}
.pd-agent-card img{ width: 60px; height: 60px; border-radius: 50%; object-fit:cover; flex:none; }
.pd-agent-card__label{ font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--re-ink-soft); margin: 0 0 0.15rem; }
.pd-agent-card h3{ font-size: 1.05rem; margin: 0 0 0.7rem; }
.pd-agent-card__actions{ display:flex; gap: 0.6rem; }
.pd-agent-card__actions .re-btn{ padding: 0.5rem 1rem; font-size: 0.8rem; }
 
.pd-request-card{
  background: var(--re-white);
  border: 1px solid var(--re-line);
  border-radius: var(--re-radius-md);
  padding: 1.5rem;
}
.pd-request-card h3{ font-size: 1.05rem; margin-bottom: 1.2rem; text-transform: uppercase; letter-spacing: 0.04em; }
.pd-request-card .re-form__field{ margin-bottom: 1.1rem; }
.pd-request-card .re-form__row{ gap: 1rem; }
.pd-tour{ margin: 0.4rem 0 1.2rem; }
.pd-tour h4{ font-size: 0.86rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--re-ink-soft); margin-bottom: 0.7rem; }
.pd-radio{ display:flex; align-items:center; gap: 0.6rem; font-size: 0.88rem; color: var(--re-ink-soft); padding: 0.3rem 0; cursor:pointer; }
.pd-radio input{ accent-color: var(--re-brass-dark); }
.pd-request-card__submit{ width:100%; margin-top: 0.4rem; }
.pd-request-card__status{ padding: 1.4rem; background: var(--re-cream-soft); border-radius: var(--re-radius-md); }
.pd-request-card__status h4{ font-size: 1.05rem; margin-bottom: 0.5rem; }
.pd-request-card__status p{ color: var(--re-ink-soft); font-size: 0.88rem; margin:0; }
 
.pd-partner{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 0.8rem;
  padding: 1rem;
  border: 1px solid var(--re-line);
  border-radius: var(--re-radius-md);
  font-size: 0.86rem;
  color: var(--re-ink-soft);
}
.pd-partner__mark{ font-family: var(--re-font-display); font-style: italic; font-size: 1.1rem; color: var(--re-ink); }
.pd-partner__divider{ width:1px; height: 18px; background: var(--re-line); }
 
/* ============================================================
   PROPERTY DETAIL PAGE (Compass-style listing detail)
============================================================ */
.ld-page{ max-width: var(--re-container); margin: 0 auto; padding: 1.6rem 2rem 2rem; }
 
.ld-breadcrumb{ font-size: 0.84rem; color: var(--re-ink-soft); margin-bottom: 1.2rem; display:flex; gap: 0.5rem; flex-wrap:wrap; }
.ld-breadcrumb a:hover{ color: var(--re-brass-dark); }
.ld-breadcrumb span[aria-current]{ color: var(--re-ink); }
 
.ld-titlebar{ display:flex; align-items:flex-start; justify-content:space-between; gap: 1.5rem; flex-wrap:wrap; }
.ld-titlebar h1{ font-size: clamp(1.5rem, 2.8vw, 2.1rem); margin-bottom: 0.4rem; }
.ld-titlebar__tags{ font-size: 0.9rem; color: var(--re-ink-soft); margin:0; }
.ld-titlebar__tags a:hover{ color: var(--re-brass-dark); }
.ld-titlebar__actions{ display:flex; gap: 0.7rem; }
.ld-icon-btn{
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--re-line);
  display:flex; align-items:center; justify-content:center;
  color: var(--re-ink-soft);
  font-size: 1.1rem;
  transition: border-color .2s ease, color .2s ease;
}
.ld-icon-btn:hover{ border-color: var(--re-brass); color: var(--re-brass-dark); }
.ld-icon-btn.is-saved{ color: var(--re-brass-dark); border-color: var(--re-brass); }
 
.ld-stats{
  display:flex;
  gap: 2.2rem;
  flex-wrap:wrap;
  margin: 1.4rem 0 1.6rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--re-line);
}
.ld-stats div{ display:flex; flex-direction:column; }
.ld-stats strong{ font-size: 1.15rem; }
.ld-stats span{ font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--re-ink-soft); margin-top: 0.2rem; }
 
.ld-sectionnav{
  position: sticky;
  top: 78px;
  z-index: 40;
  display:flex;
  gap: 1.6rem;
  overflow-x:auto;
  background: var(--re-cream);
  padding: 0.9rem 0;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--re-line);
}
.ld-sectionnav a{
  font-size: 0.86rem;
  color: var(--re-ink-soft);
  white-space:nowrap;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid transparent;
}
.ld-sectionnav a.is-active{ color: var(--re-ink); border-color: var(--re-brass); font-weight:600; }
 
.ld-viewall{
  margin-top: 0.8rem;
  font-size: 0.86rem;
  font-weight:600;
  color: var(--re-brass-dark);
  text-decoration: underline;
}
.ld-fullgrid{
  margin-top: 1rem;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}
.ld-fullgrid img{ width:100%; aspect-ratio: 4/3; object-fit:cover; border-radius: var(--re-radius-sm); }
 
.ld-layout{ display:grid; grid-template-columns: 1fr 300px; gap: 3rem; align-items:start; margin-top: 2.5rem; }
.ld-content section{ margin-bottom: 2.6rem; padding-bottom: 2.6rem; border-bottom: 1px solid var(--re-line); }
.ld-content section:last-child{ border-bottom:none; margin-bottom:0; padding-bottom:0; }
.ld-content h2{ font-size: 1.3rem; margin-bottom: 1.1rem; }
 
.ld-description__text{
  max-height: 9.5rem;
  overflow:hidden;
  position:relative;
}
.ld-description__text.is-expanded{ max-height: none; }
.ld-description__text p{ color: var(--re-ink-soft); line-height:1.75; margin: 0 0 1.1rem; }
.ld-readmore{ margin-top: 0.6rem; font-size: 0.86rem; font-weight:600; color: var(--re-brass-dark); text-decoration: underline; }
 
.ld-agent .pd-agent-card{ align-items:flex-start; }
.ld-agent__phone{ font-size: 0.84rem; color: var(--re-ink-soft); margin: 0 0 0.8rem; }
 
.ld-amenities .pd-features__grid{ margin-bottom: 0.8rem; }
 
.ld-details__grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem 2rem;
}
.ld-details__grid div{ display:flex; justify-content:space-between; gap: 1rem; padding: 0.6rem 0; border-bottom: 1px solid var(--re-line); font-size: 0.9rem; }
.ld-details__grid span{ color: var(--re-ink-soft); }
.ld-details__grid strong{ text-align:right; }
 
.ld-calc{ display:grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.ld-calc__inputs .re-form__field{ margin-bottom: 1.1rem; }
.ld-calc__result{
  background: var(--re-cream-soft);
  border-radius: var(--re-radius-md);
  padding: 1.6rem;
  align-self:start;
}
.ld-calc__total{ font-size: 1.5rem; font-weight:600; margin: 0 0 1rem; }
.ld-calc__result ul{ display:flex; flex-direction:column; gap: 0.6rem; margin-bottom: 1rem; }
.ld-calc__result li{ display:flex; justify-content:space-between; font-size: 0.88rem; color: var(--re-ink-soft); }
.ld-calc__note{ font-size: 0.76rem; color: var(--re-ink-soft); margin:0; }
 
.ld-table{ width:100%; border-collapse: collapse; font-size: 0.88rem; }
.ld-table th{ text-align:left; padding: 0.7rem 0.8rem; border-bottom: 2px solid var(--re-ink); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--re-ink-soft); }
.ld-table td{ padding: 0.7rem 0.8rem; border-bottom: 1px solid var(--re-line); color: var(--re-ink-soft); }
.ld-table tr:last-child td{ border-bottom:none; }
 
.ld-public__note{ margin-top: 0.9rem; font-size: 0.78rem; color: var(--re-ink-soft); }
 
.ld-neighborhood p{ color: var(--re-ink-soft); line-height:1.75; }
 
.ld-sidebar-note{
  position: sticky;
  top: 140px;
  background: var(--re-cream-soft);
  border-radius: var(--re-radius-md);
  padding: 1.6rem;
}
.ld-sidebar-note p{ color: var(--re-ink-soft); font-size: 0.92rem; line-height:1.6; margin: 0.4rem 0 1.2rem; }
 
.ld-similar{ margin-top: 3rem; padding-top: 3rem; border-top: 1px solid var(--re-line); }
 
/* ============================================================
   CALL / EMAIL MODALS
============================================================ */
body.modal-open{ overflow: hidden; }
 
.call-modal, .email-modal{
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(20,18,14,0.55);
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 1.5rem;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition: opacity .25s ease, visibility .25s ease;
}
.call-modal.active, .email-modal.active{ opacity:1; visibility:visible; pointer-events:auto; }
 
.call-box, .email-box{
  position:relative;
  background: var(--re-white);
  border-radius: var(--re-radius-md);
  padding: 2.2rem;
  width: min(94%, 420px);
  box-shadow: var(--re-shadow-float);
}
.call-box h3, .email-box h3{ font-size: 1.25rem; margin-bottom: 1rem; }
.call-box p{ color: var(--re-ink-soft); margin-bottom: 1.4rem; }
.call-box .re-btn{ width:100%; }
 
.close-modal, .close-email{
  position:absolute;
  top: 1rem; right: 1rem;
  width: 32px; height: 32px;
  border-radius: 50%;
  display:flex; align-items:center; justify-content:center;
  font-size: 1.3rem;
  line-height:1;
  color: var(--re-ink-soft);
  transition: background .2s ease;
}
.close-modal:hover, .close-email:hover{ background: var(--re-cream-soft); }
 
.email-box .re-form__field{ margin-bottom: 1.1rem; }
 

#re-main{padding: 2rem 5rem;}
/* ---------------- Skip link (a11y) ---------------- */
.re-skip-link{
  position:absolute;
  left:-9999px;
  top:0;
  background: var(--re-ink);
  color: var(--re-white);
  padding: 0.75rem 1.25rem;
  z-index:100;
}
.re-skip-link:focus{ left: 1rem; top: 1rem; }
 
/* ---------------- Legal page hero ---------------- */
.re-legal-hero{
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2.25rem, 5vw, 3.25rem);
  border-bottom: 1px solid var(--re-line);
}
.re-legal-hero__meta{
  display:flex;
  flex-wrap:wrap;
  gap: 0.6rem 1.5rem;
  margin-top: 1.25rem;
  font-size: 0.82rem;
  color: var(--re-ink-soft);
}
.re-legal-hero__meta strong{ color: var(--re-ink); font-weight:600; }
.re-legal-hero p.re-lede{
  max-width: 62ch;
  margin-top: 1rem;
  color: var(--re-ink-soft);
  font-size: 1.02rem;
}
 
/* ---------------- Legal layout: TOC + content ---------------- */
.re-legal-layout{
  display:grid;
  grid-template-columns: 260px minmax(0,1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(4rem, 8vw, 6rem);
  align-items:start;
}

 
.re-toc{
  position: sticky;
  top: 92px;
}
.re-toc__label{
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--re-brass-dark);
  font-weight:600;
  margin-bottom: 1rem;
  display:block;
}
.re-toc ul{ display:flex; flex-direction:column; gap: 0.55rem; }
.re-toc a{
  font-size: 0.85rem;
  color: var(--re-ink-soft);
  border-left: 2px solid var(--re-line);
  padding-left: 0.85rem;
  line-height:1.35;
  transition: color .2s ease, border-color .2s ease;
}
.re-toc a:hover{ color: var(--re-ink); }
.re-toc a.is-active{
  color: var(--re-ink);
  border-color: var(--re-brass);
  font-weight:600;
}

 
.re-legal-content section{
  padding-bottom: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
  border-bottom: 1px solid var(--re-line);
  scroll-margin-top: 100px;
}
.re-legal-content section:last-child{ border-bottom:none; margin-bottom:0; padding-bottom:0; }
.re-legal-content h2{
  font-size: 1.35rem;
  display:flex;
  align-items:baseline;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.re-legal-content h2 .re-num{
  font-family: var(--re-font-body);
  font-size: 0.78rem;
  color: var(--re-brass-dark);
  font-weight:600;
  letter-spacing: 0.05em;
}
.re-legal-content h3{
  font-size: 1.02rem;
  margin: 1.4rem 0 0.6rem;
}
.re-legal-content p{
  color: var(--re-ink-soft);
  margin: 0 0 0.9rem;
  max-width: 68ch;
}
.re-legal-content ul.re-list{
  display:flex;
  flex-direction:column;
  gap: 0.55rem;
  margin: 0 0 0.9rem;
  max-width: 68ch;
}
.re-legal-content ul.re-list li{
  position:relative;
  padding-left: 1.1rem;
  color: var(--re-ink-soft);
}
.re-legal-content ul.re-list li::before{
  content:"";
  position:absolute;
  left:0; top:0.55em;
  width:5px; height:5px;
  background: var(--re-brass);
  border-radius:50%;
}
.re-legal-content table{
  width:100%;
  border-collapse: collapse;
  margin: 0 0 1.25rem;
  font-size: 0.88rem;
}
.re-legal-content table caption{
  text-align:left;
  font-size:0.78rem;
  color: var(--re-ink-soft);
  margin-bottom:0.5rem;
}
.re-legal-content th, .re-legal-content td{
  text-align:left;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--re-line);
  vertical-align: top;
}
.re-legal-content th{
  background: var(--re-cream-soft);
  font-weight:600;
  font-size:0.78rem;
  letter-spacing:0.03em;
  text-transform:uppercase;
  color: var(--re-brass-dark);
}
.re-callout{
  background: var(--re-cream-soft);
  border: 1px solid var(--re-line);
  border-left: 3px solid var(--re-brass);
  border-radius: var(--re-radius-md);
  padding: 1.1rem 1.3rem;
  margin: 0 0 1.25rem;
  max-width: 68ch;
}
.re-callout p{ margin:0; color: var(--re-ink-soft); font-size:0.92rem; }
.re-callout p strong{ color: var(--re-ink); }
 
.re-legal-content a.re-link{
  color: var(--re-brass-dark);
  border-bottom: 1px solid var(--re-brass);
}
.re-legal-content a.re-link:hover{ color: var(--re-ink); border-color: var(--re-ink); }
 
/* ---------------- Back to top ---------------- */
.re-to-top{
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  width: 44px; height:44px;
  display:flex; align-items:center; justify-content:center;
  background: var(--re-ink);
  color: var(--re-white);
  border-radius: 50%;
  box-shadow: var(--re-shadow-float);
  opacity:0;
  transform: translateY(10px);
  pointer-events:none;
  transition: opacity .25s ease, transform .25s ease;
  z-index: 50;
}
.re-to-top.is-visible{ opacity:1; transform:none; pointer-events:auto; }
.re-to-top:hover{ background: var(--re-brass-dark); }
 /* ============================================================
   Portfolio page components
============================================================ */

.re-page-section{ padding: clamp(3.5rem, 7vw, 6rem) 0; }
.re-page-section + .re-page-section{ border-top: 1px solid var(--re-line); }
.re-page-section__head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 1.5rem;
  flex-wrap:wrap;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.re-page-section__head p.re-lede{
  max-width: 52ch;
  color: var(--re-ink-soft);
  margin-top: 0.75rem;
  font-size: 0.98rem;
}

/* ---------------- Owner hero ---------------- */
.re-owner-hero{
  padding: clamp(8rem, 7vw, 5.5rem) 0 clamp(3.5rem, 7vw, 6rem);
}
.re-owner-hero .re-container{
  display:grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2.25rem, 5vw, 4.5rem);
  align-items:center;
}

.re-owner-photo{
  position:relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--re-radius-md);
  overflow:hidden;
  background: linear-gradient(155deg, var(--re-cream-deep), var(--re-olive) 145%);
  box-shadow: var(--re-shadow-card);
}
.re-owner-photo img{ width:100%; height:100%; object-fit:cover; }
.re-owner-photo__placeholder{
  position:absolute; inset:0;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:0.5rem;
  color: var(--re-cream);
  text-align:center;
  padding: 1.5rem;
}
.re-owner-photo__placeholder .re-mark{
  width:64px; height:64px;
  border-radius:50%;
  border:1px solid rgba(241,234,221,0.5);
  display:flex; align-items:center; justify-content:center;
  font-family: var(--re-font-display);
  font-size: 1.4rem;
}
.re-owner-photo__placeholder span.re-note{
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(241,234,221,0.7);
}
.re-owner-photo__badge{
  position:absolute;
  left: 1.1rem; bottom: 1.1rem;
  background: var(--re-white);
  color: var(--re-ink);
  padding: 0.55rem 0.9rem;
  border-radius: var(--re-radius-sm);
  font-size: 0.76rem;
  letter-spacing: 0.03em;
  box-shadow: var(--re-shadow-card);
}

.re-owner-bio h1{
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  line-height:1.1;
}
.re-owner-bio .re-role{
  margin: 0.6rem 0 1.4rem;
  color: var(--re-brass-dark);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}
.re-owner-bio p.re-lede{
  color: var(--re-ink-soft);
  max-width: 56ch;
  font-size: 1.02rem;
  margin-bottom: 1.5rem;
}
.re-credentials{
  display:flex;
  flex-wrap:wrap;
  gap: 0.6rem 1rem;
  margin-bottom: 1.75rem;
}
.re-credentials li{
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--re-ink-soft);
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--re-line);
  border-radius: 999px;
  background: var(--re-cream-soft);
}
.re-owner-bio__actions{ display:flex; flex-wrap:wrap; gap: 0.85rem; }

/* ---------------- Stats ---------------- */
.pre-stats{
  background: var(--re-ink);
  color: var(--re-cream);
}
.pre-stats .re-container{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
}

.pre-stat{
  text-align:center;
  padding: 0 0.5rem;
  border-left: 1px solid rgba(241,234,221,0.14);
}
.pre-stat:first-child{ border-left:none; }

.pre-stat__num{
  font-family: var(--re-font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--re-cream);
  display:flex;
  align-items:baseline;
  justify-content:center;
  gap: 0.15rem;
}
.pre-stat__suffix{ font-size: 1.4rem; color: var(--re-brass); }
.pre-stat__label{
  margin-top: 0.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(241,234,221,0.6);
}

/* ---------------- Video showcase ---------------- */
.re-video-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.re-video-card{
  position:relative;
  border-radius: var(--re-radius-md);
  overflow:hidden;
  aspect-ratio: 4 / 3;
  background: linear-gradient(160deg, var(--re-olive), #2c2f26 130%);
  box-shadow: var(--re-shadow-card);
}
.re-video-card__tag{
  position:absolute;
  top: 1rem; left: 1rem;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--re-cream);
  background: rgba(0,0,0,0.35);
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
}
.re-video-card__duration{
  position:absolute;
  top: 1rem; right: 1rem;
  font-size: 0.72rem;
  color: var(--re-cream);
  background: rgba(0,0,0,0.35);
  padding: 0.3rem 0.55rem;
  border-radius: var(--re-radius-sm);
}
.re-video-card__play{
  position: absolute;
  top:50%; left:50%;
  transform: translate(-50%,-50%);
  width: 58px; height:58px;
  border-radius:50%;
  background: rgba(241,234,221,0.92);
  color: var(--re-ink);
  display:flex; align-items:center; justify-content:center;
  font-size: 1.1rem;
  transition: transform .25s ease, background .25s ease;
}
.re-video-card:hover .re-video-card__play{ transform: translate(-50%,-50%) scale(1.08); background: var(--re-white); }
.re-video-card.is-playing .re-video-card__play{ background: var(--re-brass); color: var(--re-white); }
.re-video-card__foot{
  position:absolute;
  left:0; right:0; bottom:0;
  padding: 1.1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.55), transparent);
  color: var(--re-cream);
}
.re-video-card__foot h3{ font-size: 1.02rem; color: var(--re-cream); }
.re-video-card__foot span{ font-size: 0.78rem; color: rgba(241,234,221,0.7); }

/* ---------------- Featured project spotlight (large image + name) ---------------- */
.re-spotlight{
  display:flex;
  flex-direction:column;
  gap: clamp(2rem, 4vw, 3rem);
}
.re-spotlight__item{
  position:relative;
  border-radius: var(--re-radius-md);
  overflow:hidden;
  aspect-ratio: 16 / 8;
  background: linear-gradient(135deg, var(--re-cream-deep), var(--re-brass) 160%);
  box-shadow: var(--re-shadow-card);
}
.re-spotlight__item:nth-child(even){
  background: linear-gradient(135deg, var(--re-olive), var(--re-ink) 160%);
}

.re-spotlight__item img{ width:100%; height:100%; object-fit:cover; }
.re-spotlight__scrim{
  position:absolute; inset:0;
  background: linear-gradient(to top, rgba(0,0,0,0.62) 0%, rgba(0,0,0,0.05) 55%);
}
.re-spotlight__index{
  position:absolute;
  top: 1.5rem; right: 1.75rem;
  font-family: var(--re-font-display);
  font-size: 0.85rem;
  color: rgba(241,234,221,0.75);
  letter-spacing: 0.04em;
}
.re-spotlight__content{
  position:absolute;
  left: 0; right:0; bottom:0;
  padding: clamp(1.5rem, 4vw, 2.75rem);
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 1.5rem;
  flex-wrap:wrap;
}
.re-spotlight__content h3{
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  color: var(--re-cream);
  line-height:1.05;
}
.re-spotlight__meta{
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(241,234,221,0.7);
  margin-bottom: 0.5rem;
}
.re-spotlight__link{
  color: var(--re-cream);
  font-size: 0.85rem;
  border-bottom: 1px solid var(--re-brass);
  padding-bottom: 2px;
  white-space:nowrap;
}
.re-spotlight__link:hover{ border-color: var(--re-cream); }

/* ---------------- Project gallery (mosaic) ---------------- */
.re-gallery{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 190px;
  gap: 1rem;
}
.re-gallery__item{
  position:relative;
  overflow:hidden;
  border-radius: var(--re-radius-md);
  background: var(--re-cream-deep);
}
.re-gallery__item--wide{ grid-column: span 2; }
.re-gallery__item--tall{ grid-row: span 2; }

.re-gallery__ph{
  position:absolute; inset:0;
  display:flex; align-items:center; justify-content:center;
  font-family: var(--re-font-display);
  color: var(--re-ink-soft);
  font-size: 0.85rem;
  background:
    repeating-linear-gradient(135deg, var(--re-cream-deep) 0 14px, var(--re-cream-soft) 14px 28px);
}
.re-gallery__overlay{
  position:absolute; inset:0;
  display:flex; align-items:flex-end;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.55), transparent 60%);
  opacity:0;
  transition: opacity .2s ease;
}
.re-gallery__item:hover .re-gallery__overlay,
.re-gallery__item:focus-within .re-gallery__overlay{ opacity:1; }
.re-gallery__overlay h4{ color: var(--re-cream); font-size: 0.95rem; }
.re-gallery__overlay span{ font-size: 0.72rem; color: rgba(241,234,221,0.75); }
.re-partners{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:24px;
}


.re-partner{
    position:relative;
    background:linear-gradient(180deg,#ffffff,#faf8f4);
    border:1px solid rgba(0,0,0,.08);
    border-radius:18px;
    padding:28px 20px;
    text-align:center;
    overflow:hidden;
    transition:.35s;
    cursor:pointer;
}

.re-partner::before{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(135deg,transparent,rgba(201,167,92,.08));
    opacity:0;
    transition:.35s;
}

.re-partner:hover{
    transform:translateY(-8px);
    border-color:var(--re-gold);
    box-shadow:0 18px 40px rgba(0,0,0,.12);
}

.re-partner:hover::before{
    opacity:1;
}

.re-partner__icon{
    width:72px;
    height:72px;
    margin:0 auto 18px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:linear-gradient(135deg,var(--re-gold),#e8c978);
    color:black;
    font-size:28px;
    box-shadow:0 12px 30px rgba(201,167,92,.35);
    transition:.35s;
}

.re-partner:hover .re-partner__icon{
    transform:rotateY(180deg) scale(1.08);
}

.re-partner h4{
    margin:0;
    font-family:var(--re-font-display);
    font-size:1.2rem;
    color:var(--re-ink);
    line-height:1.4;
}

.re-partner span{
    display:block;
    margin-top:8px;
    color:var(--re-ink-soft);
    font-size:.95rem;
    letter-spacing:.5px;
}

.re-partner:hover h4{
    color:var(--re-gold);
}
/* ---------------- Testimonials / FAQ pointer ---------------- */
.re-pointer-split{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.re-pointer-card{
  position:relative;
  padding: clamp(2rem, 4vw, 2.75rem);
  border-radius: var(--re-radius-md);
  border: 1px solid var(--re-line);
  background: var(--re-cream-soft);
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
  display:flex;
  flex-direction:column;
  gap: 1rem;
}
.re-pointer-card:hover{
  box-shadow: var(--re-shadow-card);
  transform: translateY(-3px);
  border-color: var(--re-brass);
}
.re-pointer-card__icon{
  width: 48px; height:48px;
  border-radius:50%;
  background: var(--re-ink);
  color: var(--re-cream);
  display:flex; align-items:center; justify-content:center;
  font-family: var(--re-font-display);
  font-size: 1.15rem;
}
.re-pointer-card h3{ font-size: 1.3rem; }
.re-pointer-card p{ color: var(--re-ink-soft); font-size: 0.92rem; max-width: 40ch; }
.re-pointer-card .re-pointer-link{
  margin-top: auto;
  display:inline-flex;
  align-items:center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--re-ink);
  border-bottom: 1px solid var(--re-brass);
  padding-bottom: 2px;
  width: fit-content;
}
.re-pointer-card .re-pointer-link:hover{ border-color: var(--re-ink); }
.re-video-card__video{
    width:100%;
    height:320px;
    object-fit:cover;
    border-radius:20px;
    display:block;
}


@media (max-width: 1024px){
  .by-layout{ grid-template-columns: 1fr; gap: 1.4rem; }

  .by-filter-toggle{
    display:flex;
    align-items:center;
    justify-content:space-between;
    width:100%;
    background: var(--re-cream-soft);
    border: 1px solid var(--re-line);
    border-radius: var(--re-radius-md);
    padding: 0.9rem 1.1rem;
    font-size: 0.92rem;
    font-weight:600;
    color: var(--re-ink);
  }
  .by-filter-toggle::after{
    content:"▾";
    transition: transform .25s ease;
  }
  .by-filter-toggle.is-open::after{ transform: rotate(180deg); }

  /* Sidebar sits above the results grid, collapsed by default */
  .by-sidebar{
    position: static;
    top: auto;
    width: 100%;
    max-height: 0;
    padding: 0 1.4rem;
    margin-top: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .3s ease, opacity .25s ease, padding .3s ease, margin .3s ease;
  }
  .by-sidebar.is-open{
    max-height: 70vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    opacity: 1;
    padding: 1.4rem;
    margin-top: 0.8rem;
  }

  .by-quicksearch, .by-main{ padding-left: 1.25rem; padding-right: 1.25rem; }
  .by-quicksearch__bar{ flex-direction:column; align-items:stretch; gap: 1rem; }
  html, body{ max-width: 100%; overflow-x: hidden; }
  img, svg, video, iframe{ max-width: 100%; height: auto; }
  .re-hero__img, .ct-hero__img,
  .re-card__img, .pj-card__img,
  .ab-hero__media img, .ab-oval-story__media img,
  .re-owner-photo img, .re-video-card, .re-spotlight__item img{ height: 100%; } /* keep cover-fit media full-bleed inside their own aspect box */
  table{ display:block; max-width:100%; overflow-x:auto; -webkit-overflow-scrolling:touch; }
}

@media (max-width:900px){

    /* Hide desktop dropdown */
    .re-nav__dropdown{
        display:none;
    }

    /* Mobile company links */
    .re-nav__mobile-company{
        display:flex;
        flex-direction:column;
        width:100%;
        margin:0;
        padding:0;
        border-top:1px solid var(--re-line);
    }

    .re-nav__mobile-company .re-nav__link{
        display:flex;
        align-items:center;
        width:100%;
        padding:1rem 1.3rem;
        font-size:1rem;
        font-weight:500;
        color:var(--re-ink);
        text-decoration:none;
        background:transparent;
        border-bottom:1px solid var(--re-line);
        transition:background .25s ease,color .25s ease;
    }

    .re-nav__mobile-company .re-nav__link:hover{
        background:#f7f2e8;
        color:var(--re-brass);
    }

    .re-nav__mobile-company .re-nav__link:last-child{
        border-bottom:none;
    }

  .ct-quick{grid-template-columns: repeat(1,1fr);}
  .ct-form-section__media{display: none;}
  .ct-form-section{grid-template-columns: 1fr;}
  .re-footer{padding-bottom: 10rem;}
  .re-header__inner{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding: 12px 18px;
    position: relative; /* anchors the mobile nav panel below */
    gap: 10px;
  }

  .re-logo{ justify-self:auto; order:1; }
  .re-logo img{ height:56px; }

  .re-header__actions{ justify-self:auto; order:2; gap:8px; }
    .auth-right{ display:none; }
  .re-header__actions .re-btn{ padding: 0.65rem 1.1rem; font-size: 0.82rem; }

  .re-burger{ display:flex; order:3; margin-left:4px; flex:none; }

  /* Full nav panel slides down under the header, contained + scrollable
     so a long link list never overflows the viewport. */
  .re-nav{
    order:4;
    position:absolute;
    top:100%; left:0; right:0;
    width:100%;
    background: var(--re-cream);
    border-bottom: 1px solid var(--re-line);
    box-shadow: var(--re-shadow-card);
    flex-direction:column;
    align-items:stretch;
    gap:0;
    max-height:0;
    overflow-y:auto;
    -webkit-overflow-scrolling:touch;
    justify-self:auto;
    transition: max-height .3s ease;
    z-index: 60;
  }
  .re-nav.is-open{ max-height: min(75vh, 520px); }

  .re-nav__link{
    color: var(--re-ink);
    padding: 1rem 1.4rem;
    border-bottom: 1px solid var(--re-line);
    width:100%;
    display:block;
  }
  .re-nav__link::after{ display:none; }
  .re-nav__link:hover{ color: var(--re-brass-dark); background: var(--re-cream-soft); }
  .re-nav__dropdown{ width:100%; }
  .re-nav__link--dropdown{
    width:100%;
    justify-content:space-between;
    padding: 1rem 1.4rem;
    border-bottom: 1px solid var(--re-line);
  }
  .re-nav__menu{
    position:static;
    transform:none;
    width:100%;
    min-width:unset;
    box-shadow:none;
    border:none;
    border-radius:0;
    background: var(--re-cream-deep);
    display:none;
    max-height: 260px;
    overflow-y:auto;
    opacity:1; visibility:visible; pointer-events:auto;
  }
  .re-nav__dropdown.is-open .re-nav__menu{ display:block; }
  .re-nav__menu-item{
    color: var(--re-ink-soft);
    padding: 0.9rem 2rem;
    border-bottom: 1px solid rgba(0,0,0,0.06);
  }
  .re-nav__menu-item:hover{ background: var(--re-cream); color: var(--re-ink); }
  .re-hero{ min-height: 92vh; padding-bottom: 11rem; }
  .re-hero__content{ padding: 0 1.25rem; }
  .re-hero__sub{ font-size: 0.96rem; }

  .re-filter{
    position:absolute;
    bottom: -9.5rem;
    width: min(92%, 480px);
    padding: 0.9rem 1.1rem 1.2rem;
  }
  .re-filter__tabs{ overflow-x:auto; -webkit-overflow-scrolling:touch; padding-bottom:0.4rem; }
  .re-filter__tabs::-webkit-scrollbar{ display:none; }
  .re-filter__tab{ white-space:nowrap; padding: 0.5rem 0.85rem; }

  .re-filter__row{ flex-direction:column; align-items:stretch; gap: 0.9rem; }
  .re-filter__field{ min-width: unset; width:100%; }
  .re-filter__field--grow{flex: 1 1 auto;}
  .re-filter__submit{ width:100%; justify-content:center; margin-top: 0.3rem; }

  .re-stats{ margin-top: 11rem; gap: 1.6rem 1.4rem; padding: 0 1.25rem; }

  .re-section-head, .re-chips, .re-properties, .re-upcoming, .re-cities,
  .re-cta, .ab-process, .ab-services, .bl-experts, .bl-newsletter,
  .pj-section, .ct-offices, #re-main{
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  .re-editorial{ margin: 3.5rem 0; }
  .re-chips, .by-chip-row{
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.4rem;
    scrollbar-width: none;
  }
  .re-chips::-webkit-scrollbar{ display:none; }
  .re-chip{ white-space:nowrap; flex:none; }
  .re-properties__grid{ grid-template-columns: 1fr; gap: 1.4rem; }
  .re-card--feature{ grid-column: span 1; grid-row: span 1; }
  .re-upcoming__grid{ grid-template-columns: 1fr; gap: 1.4rem; }
  .re-cities__grid{ grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; gap: 0.9rem; }
  .re-editorial{ grid-template-columns: 1fr; }
  .re-editorial__media{ min-height: 260px; }
  .re-editorial__content{ padding: 2.5rem 1.5rem; }
  .pj-grid{ grid-template-columns: 1fr 1fr; gap: 1.2rem; }
  .pj-grid{ grid-template-columns: 1fr; gap: 1.2rem; }
  .pj-card__body{ padding: 1rem 1.1rem 1.3rem; }
  .pj-card__actions{ flex-wrap: wrap; }
  .pj-card__action{ min-width: 45%; }
  .by-grid{ grid-template-columns: 1fr; gap: 1.4rem; }
  .ab-story{display: flex;flex-direction: column;}
  .ab-panel-wrap{flex-direction: column;}
  .agents-hero{ min-height: auto; padding: 70px 0; }
  .agents-hero .re-section-title{ font-size: 2.4rem; }
  .hero-text{ font-size: 0.95rem; }
  .agent-search{ margin-top: 30px; }
  .agent-search input{ padding: 15px 18px; font-size: 14px; }

  .agents-grid{ grid-template-columns: 1fr; gap: 24px; }
  .agent-card{ flex-direction:column; }
  .agent-image{ width:100%; height: 400px; }
  .agent-content{ padding: 24px; }
  .agent-content h3{ font-size: 1.5rem; }
  .agent-buttons{ flex-direction:column; }
  .re-footer__hero{ grid-template-columns: 1fr; text-align:center; gap: 2rem; padding: 3rem 1.5rem 2rem; }
  .re-footer__hero-copy .re-logo__mark{ display:flex; justify-content:center; }
  .re-footer__hero-text{ max-width: unset; margin: 1rem auto 1.6rem; }
  .re-footer__social{ justify-content:center; }
  .re-footer__hero-media{ order:-1; }

  .re-footer__links{ justify-content:center; text-align:center; padding: 1.4rem 1.5rem; }
  .re-footer__wordmarks{ flex-wrap:wrap; gap: 1.6rem; padding: 1.8rem 1.5rem; }
  .re-footer__legal-block{ padding: 0 1.5rem 1.6rem; }
  .re-footer__bottom{ flex-wrap:wrap; padding: 1.2rem 1.5rem 1.8rem; }
  .ct-hero{ min-height: 58vh; }
  .ct-offices__grid{ grid-template-columns: 1fr; }
  .ct-form-section__form{ padding: 2.5rem 1.4rem; }
  .re-form__row{ grid-template-columns: 1fr; gap: 0; }

  .faq-question{ font-size: 1rem; padding: 1rem 0.2rem; }
  .faq-item.is-open .faq-answer{ max-height: 420px; overflow-y:auto; }
  .tst-grid{ grid-template-columns: 1fr; }
  .tst-card:nth-child(odd){ padding-right:0; border-right:none; border-bottom: 1px solid var(--re-line); padding-bottom: 2rem; }
  .tst-card:nth-child(even){ padding-left:0; }
  .tst-hero__ring{ width: 200px; height: 200px; }

  .sl-adv, .sl-benefits, .sl-form-section{ padding-left: 1.25rem; padding-right: 1.25rem; }
  .sl-adv__slide.is-active{ grid-template-columns: 1fr; }
  .sl-benefits__slide.is-active{ grid-template-columns: 1fr; }

  .ab-agent-testimonial{
    display:flex;
    flex-direction:column;
    gap:1.5rem;
    padding:2rem 1rem;
  }

  .ab-agent-testimonial__media{
    order:1;
    width:100%;
  }

  .ab-agent-testimonial__media img{
    display:block;
    width:100%;
    height:200px;
    object-fit:cover;
    border-radius:18px;
  }

  .ab-agent-testimonial__head{
    order:2;
    text-align:center;
  }

  .ab-agent-testimonial__title{
    font-size:2rem;
    line-height:1.2;
  }

  .ab-agent-testimonial__card{
    order:3;
    width:100%;
    margin:0;
    padding:1.5rem;
  }

  .ab-agent-testimonial__quote{
    font-size:3rem;
  }

  .ab-agent-testimonial__card p{
    font-size:1rem;
    line-height:1.8;
  }

  .ab-agent-testimonial__nav{
    order:4;
    display:flex;
    gap:1rem;
    align-items:center;
  }

  .ab-carousel-arrow{
    width:28px;
    height:28px;
  }

  .ab-carousel-cta{
    width:100%;
    justify-content:center;
  }
  .ab-hero{ padding: 3rem 1.4rem 2rem; }
  .ab-hero__title{ position:static; transform:none; white-space:normal; margin-top: 1rem; }
  .ab-oval-story{ grid-template-columns: 1fr; gap: 2.2rem; padding: 1.5rem 1.4rem 4rem; }
  .ab-oval-story__media{ max-width: 320px; margin: 0 auto; }

  .ab-sold__card{ flex-basis: 82%; }
 

  .ab-gallery{ grid-template-columns: 1fr 1fr; }
  .ab-gallery__item:nth-child(3){ grid-column: span 2; aspect-ratio: 16/9; }

  .ab-step{ grid-template-columns: 1fr; gap: 1.4rem; margin-bottom: 3rem; }
  .ab-step--reverse .ab-step__media,
  .ab-step--reverse .ab-step__content{ order: initial; }
  .bl-featured{ grid-template-columns: 1fr; }
  .bl-grid{ grid-template-columns: 1fr 1fr; gap: 1.2rem; }
  .bl-article{ padding: 2.5rem 1.4rem 1rem; }
  .bl-article__hero-media{ padding: 0 1.4rem; }
  .bl-newsletter__form{ flex-direction:column; }
  .bl-author{ flex-direction:column; text-align:center; }
  .bl-author img{ margin: 0 auto; }
  .bl-grid{ grid-template-columns: 1fr; }

  .pd-page{ padding: 1.4rem 1.4rem 3rem; }
  .pd-gallery{ grid-template-columns: 1fr; gap: 0.8rem; }
  .pd-gallery__main{ aspect-ratio: 4/3; }
  .pd-gallery__thumbs{ grid-template-columns: repeat(4, 1fr); }
  .pd-title{ flex-direction:column; align-items:flex-start; }
  .pd-layout{ grid-template-columns: 1fr; gap: 2rem; }
  .pd-features__grid{ grid-template-columns: 1fr; }
  .pd-sidebar{ position:static; top:auto; }
  .ld-page{ padding: 1.4rem 1.25rem 2rem; overflow-x:hidden; }

  .ld-breadcrumb{ font-size: 0.8rem; word-break: break-word; }

  .ld-titlebar{ flex-direction:column; align-items:flex-start; gap: 0.8rem; }
  .ld-titlebar h1{ word-break: break-word; }
  .ld-titlebar__actions{ flex-wrap:wrap; }

  .ld-stats{ gap: 1.2rem 1.6rem; flex-wrap:wrap; }

  .ld-sectionnav{ top: 0; overflow-x:auto; -webkit-overflow-scrolling:touch; gap: 1.2rem; }

  .ld-fullgrid{ grid-template-columns: repeat(2, 1fr); gap: 0.6rem; min-width:0; }
  .ld-fullgrid > *{ min-width:0; }

  .ld-layout{ grid-template-columns: 1fr; gap: 2rem; margin-top: 1.8rem; min-width:0; }
  .ld-layout > *{ min-width:0; } /* lets content column + sidebar shrink instead of forcing overflow */

  .ld-details__grid{ grid-template-columns: 1fr; }
  .ld-details__grid div{ flex-wrap:wrap; }
  .ld-details__grid strong{ word-break: break-word; }

  .ld-calc{ grid-template-columns: 1fr; gap: 1.5rem; }
  .ld-calc__result li{ flex-wrap:wrap; gap: 0.3rem; }

  .ld-table{ display:block; overflow-x:auto; -webkit-overflow-scrolling:touch; min-width:0; font-size: 0.8rem; }
  .ld-table th, .ld-table td{ padding: 0.5rem 0.4rem; white-space:nowrap; }

  .ld-sidebar-note{ position:static; top:auto; width:100%; min-width:0; }
  .call-modal, .email-modal{
    padding: 1rem;
    align-items: flex-start; /* let the box start near the top so it can grow downward and scroll */
  }
  .call-box, .email-box, .modal-box{
    width: 100%;
    max-width: 440px;
    max-height: 90vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: 4vh;
  }
  .modal-box{ padding: 2rem 1.5rem; }
  .modal-box h2{ font-size: 1.6rem; }
  .email-box{ padding: 1.6rem 1.3rem; }
  .email-box h2{ font-size: 1.5rem; margin-bottom: 1.4rem; }
  .row{ grid-template-columns: 1fr; gap: 14px; }
  .email-box input, .email-box textarea{ font-size: 16px; } /* prevents iOS auto-zoom */
  .close-modal, .close-email{ width: 34px; height: 34px; }
  .auth-container{ grid-template-columns: 1fr; width: 94%; }
  .auth-right{ order:-1; min-height: 320px; }
  .auth-left{ padding: 2.4rem 1.6rem; }
  .glass-box{ width: 88%; padding: 1.8rem; }
  .glass-box h2{ font-size: 1.6rem; }
  .benefit{ flex-direction:column; text-align:center; gap: 10px; }
  .remember{ flex-direction:column; align-items:flex-start; gap: 10px; }
  .input-group input{ height: 50px; font-size: 16px; } /* prevents iOS auto-zoom */
  .re-legal-layout{ grid-template-columns: 1fr; }
  .re-toc{ position:static; margin-bottom: 1rem; }
  .re-toc ul{ flex-direction:row; flex-wrap:wrap; gap: 0.5rem 1.25rem; overflow-x:auto; }
  .re-legal-content table{ display:block; overflow-x:auto; -webkit-overflow-scrolling:touch; }
  .re-owner-hero .re-container{ grid-template-columns: 1fr; text-align:center; }
  .re-owner-photo{ max-width: 340px; margin: 0 auto; }
  .re-credentials{ justify-content:center; }
  .re-owner-bio__actions{ justify-content:center; }

  .pre-stats .re-container{ grid-template-columns: 1fr 1fr; gap: 1.4rem; }
  .pre-stat:nth-child(odd){ border-left:none; }

  .re-video-grid{ grid-template-columns: 1fr; gap: 1rem; }
  .re-spotlight__item{ aspect-ratio: 4/5; }

  .re-gallery{ grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .re-gallery__item--wide{ grid-column: span 2; }
  .re-gallery__item--tall{ grid-row: span 1; }

  .re-partners{ grid-template-columns: 1fr 1fr; gap: 16px; }
  .re-pointer-split{ grid-template-columns: 1fr; }
  .re-btn{ min-height: 46px; }
  .pd-icon-btn, .ld-icon-btn, .close-modal, .close-email{ min-width: 40px; min-height: 40px; }
  .by-checkbox input, .checkbox input{ width: 18px; height: 18px; }
  .re-form__field input, .re-form__field select, .re-form__field textarea,
  .by-text-input, .input-group input{ font-size: 16px; } /* prevents iOS auto-zoom on focus */
}
@media (max-width: 480px){
  .re-logo img{ height:60px; }
  .re-header__inner{ padding: 10px 14px; }
  .re-header__actions .re-btn{ padding: 0.6rem 0.9rem; font-size: 0.78rem; }
    .re-hero{ padding-bottom: 13.5rem; }
  .re-filter{ bottom: -11.5rem; }
  .re-stats{ margin-top: 13.5rem; }
  .re-stats__divider{ display:none; } /* dividers read oddly once stats wrap to 2 per row */
    .re-cities__grid{ grid-template-columns: 1fr; grid-auto-rows: 180px; }
  .re-city--lg{ grid-column: span 1; grid-row: span 1; }
    .by-range-row{ flex-wrap: wrap; }
  .by-range-row .by-text-input{ width: 100%; }
  .re-partners{ grid-template-columns: 1fr; }
  .re-gallery{ grid-template-columns: 1fr 1fr; grid-auto-rows: 130px; }
    .pd-gallery__thumbs{ grid-template-columns: repeat(3, 1fr); }
  .pd-title h1{ font-size: 1.5rem; }
   .ab-gallery{ grid-template-columns: 1fr; }
  .ab-gallery__item:nth-child(3){ grid-column: auto; aspect-ratio: 4/3; }
  .ab-sold__card{ flex-basis: 90%; }
    .agents-hero .re-section-title{ font-size: 1.9rem; }
  .agent-image{ height: 400px; }
  .agent-content{ padding: 18px; }
}

/* ----------------------------------------------------------------------
   23. REDUCED MOTION (respected on all breakpoints)
---------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce){
  .re-nav, .by-sidebar, .call-modal, .email-modal, .re-nav__menu{ transition:none !important; }
}
