:root{
  --r-red:#960047;
  --r-red-dark:#760038;
  --r-black:#111111;
  --r-gray:#66686c;
  --r-line:#e9e9eb;
  --r-soft:#f7f7f8;
  --r-max:1280px;
  --r-gutter:24px;
}
html,body{font-family:Arial,Helvetica,sans-serif;background:#fff;color:var(--r-black)}
body{margin:0;overflow-x:hidden}
.ref-home{overflow:hidden;background:#fff}
.ref-home *{box-sizing:border-box;min-width:0}
.ref-home a{color:inherit}
.ref-home img,.ref-home svg{max-width:100%}
.ref-wrap{width:min(calc(100% - (var(--r-gutter) * 2)),var(--r-max));max-width:none!important;margin-inline:auto!important;padding:0!important}

/* HERO */
.ref-hero{background:#fff;border-bottom:1px solid var(--r-line)}
.ref-hero-shell{position:relative;min-height:520px;overflow:hidden;background:#fff}
.ref-hero-media{position:absolute;inset:0 0 0 34%;background:center/cover no-repeat;border-left:1px solid #f0f0f0}
.ref-hero-media:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.99) 0%,rgba(255,255,255,.88) 13%,rgba(255,255,255,.25) 31%,rgba(255,255,255,0) 48%)}
.ref-hero-copy{position:relative;z-index:2;width:47%;max-width:575px;padding:58px 0 44px}
.ref-kicker{font-size:11px;letter-spacing:.34em;font-weight:800;color:#424242;margin-bottom:18px}
.ref-hero h1{font-size:52px;line-height:.94;letter-spacing:-.045em;margin:0 0 12px;font-weight:900;color:#090909;max-width:590px}
.ref-hero h1 .thin{display:block;font-weight:400;font-size:.79em;line-height:1.05;margin-top:4px;letter-spacing:-.035em}
.ref-hero-location{font-size:15px;margin-top:18px;line-height:1.25}
.ref-hero-location strong{display:block;color:var(--r-red);font-size:19px;margin-top:3px}
.ref-hero-copy p{font-size:14px;line-height:1.5;margin:7px 0 18px;color:#3f4042;max-width:470px}
.ref-actions{display:flex;gap:16px;align-items:center;flex-wrap:wrap}
.ref-btn{min-height:44px;display:inline-flex;align-items:center;justify-content:center;border-radius:4px;padding:0 24px;text-decoration:none;font-size:13px;font-weight:800;border:1px solid var(--r-red);transition:.15s;white-space:nowrap}
.ref-btn-primary{background:var(--r-red);color:#fff!important}.ref-btn-primary:hover{background:var(--r-red-dark)}
.ref-btn-outline{background:#fff;color:#111!important}.ref-btn-outline:hover{color:var(--r-red)!important}
.ref-hero-proof{position:absolute;z-index:3;right:22px;top:70px;width:300px;background:rgba(255,255,255,.97);box-shadow:0 12px 34px rgba(0,0,0,.13);border-radius:10px;overflow:hidden;backdrop-filter:blur(2px)}
.ref-proof-row{display:grid;grid-template-columns:48px 1fr;gap:13px;padding:20px;border-bottom:1px solid #ededed;align-items:center}.ref-proof-row:last-child{border-bottom:0}
.ref-proof-icon{width:38px;height:38px;display:flex;align-items:center;justify-content:center;color:var(--r-red)}
.ref-proof-icon svg{width:31px;height:31px;stroke:currentColor;fill:none;stroke-width:1.8}
.ref-proof-row strong{display:block;font-size:14px;line-height:1.14}.ref-proof-row span{display:block;font-size:11px;line-height:1.3;color:#555;margin-top:3px}

/* PROCESS */
.ref-process{background:#fff;border-bottom:1px solid var(--r-line)}
.ref-process-inner{display:grid;grid-template-columns:300px minmax(0,1fr);gap:36px;align-items:center;padding-block:24px!important}
.ref-process-title h2{font-size:30px;line-height:.98;margin:0 0 10px;font-weight:900;letter-spacing:-.035em}
.ref-process-title p{font-size:13px;line-height:1.45;color:#555;margin:0;max-width:280px}
.ref-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch}
.ref-step{position:relative;padding:0 18px;min-height:116px;border-left:1px solid #efe4e9}.ref-step:first-child{border-left:0}
.ref-step-no{width:38px;height:38px;border-radius:50%;background:#fbf1f5;color:var(--r-red);display:flex;align-items:center;justify-content:center;font-size:15px;font-weight:900;margin-bottom:12px}
.ref-step strong{display:block;font-size:13px;margin:0 0 6px;line-height:1.15}.ref-step p{font-size:11px;line-height:1.35;color:#67686b;margin:0}

/* TWO LARGE SERVICES */
.ref-duo{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding-top:18px}
.ref-duo-card{position:relative;height:232px;border-radius:4px;overflow:hidden;background-size:cover;background-position:center;text-decoration:none;border:1px solid #ededed}
.ref-duo-card:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.04),rgba(0,0,0,0))}
.ref-duo-panel{position:absolute;z-index:2;right:18px;top:18px;bottom:18px;width:min(56%,430px);background:rgba(255,255,255,.96);padding:22px 24px;display:flex;flex-direction:column;align-items:flex-start;box-shadow:0 5px 20px rgba(0,0,0,.08)}
.ref-duo-panel h3{font-size:25px;line-height:1.04;margin:0 0 10px;font-weight:900;letter-spacing:-.025em}.ref-duo-panel p{font-size:12px;line-height:1.42;color:#46474a;margin:0 0 12px}.ref-duo-panel .ref-btn{min-height:40px;padding:0 18px;margin-top:auto;font-size:12px}

/* SERVICES */
.ref-section{padding:20px 0 24px}.ref-section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:12px}.ref-section-head h2{font-size:30px;margin:0;font-weight:900;letter-spacing:-.025em}.ref-section-head a{text-decoration:none;color:var(--r-red);font-size:13px;font-weight:800;white-space:nowrap}
.ref-services{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.ref-service{border:1px solid var(--r-line);background:#fff;text-decoration:none;min-height:154px;display:grid;grid-template-rows:72px 1fr;overflow:hidden;transition:.16s;border-radius:3px}
.ref-service:hover{border-color:#d8bac8;transform:translateY(-1px);box-shadow:0 8px 22px rgba(64,0,30,.06)}
.ref-service-img{background-size:cover;background-position:center}.ref-service-body{display:grid;grid-template-columns:38px minmax(0,1fr) 22px;gap:10px;align-items:center;padding:12px}
.ref-service-icon{width:34px;height:34px;color:var(--r-red);display:flex;align-items:center;justify-content:center}.ref-service-icon svg{width:29px;height:29px;stroke:currentColor;fill:none;stroke-width:1.9}
.ref-service-body strong{display:block;font-size:13px;line-height:1.13}.ref-service-body span{display:block;color:#666;font-size:10px;line-height:1.25;margin-top:4px}.ref-service-arrow{color:var(--r-red);font-size:19px;font-weight:700}

/* TEAM */
.ref-team{margin-top:2px;background:#fff;border-top:1px solid var(--r-line);border-bottom:1px solid var(--r-line)}
.ref-team-grid{display:grid;grid-template-columns:54% 46%;min-height:342px}
.ref-team-visual{position:relative;overflow:hidden;background-size:cover;background-position:center;min-height:342px}
/* The source team photo contains obsolete text. This deliberate light panel masks it completely. */
.ref-team-visual:before{content:"";position:absolute;z-index:1;left:0;top:0;width:59%;height:43%;background:linear-gradient(90deg,rgba(255,255,255,.99) 0%,rgba(255,255,255,.99) 82%,rgba(255,255,255,.94) 100%)}
.ref-team-image-brand{position:absolute;left:26px;top:24px;z-index:2;display:flex;align-items:center;gap:12px;padding:4px 0}
.ref-team-image-brand img{display:block;width:138px;height:auto;max-height:44px;object-fit:contain}
.ref-team-image-brand span{font-size:14px;line-height:1.05;font-weight:900;color:var(--r-red);white-space:nowrap}
.ref-team-copy{display:grid;grid-template-columns:minmax(0,1fr) 165px;gap:30px;padding:36px 0 30px 38px;align-items:center}
.ref-team-kicker{font-size:10px;letter-spacing:.26em;font-weight:800;margin-bottom:10px}.ref-team-copy h2{font-size:37px;line-height:.98;letter-spacing:-.035em;margin:0 0 14px;font-weight:900}.ref-team-copy p{font-size:12px;line-height:1.45;color:#666;margin:0 0 15px;max-width:480px}.ref-team-copy .ref-btn{min-height:40px;padding:0 18px;font-size:12px}
.ref-stats{border-left:1px solid #e7e7e7;padding-left:24px;display:grid;gap:20px}.ref-stat strong{font-size:34px;line-height:1;font-weight:900;display:block}.ref-stat span{font-size:10px;line-height:1.25;color:#666;display:block;margin-top:5px}

/* SEARCH */
.ref-search{padding:18px 0 8px}.ref-search-top{display:grid;grid-template-columns:auto 1fr auto;align-items:end;gap:28px;border-bottom:1px solid #eee;padding-bottom:8px}.ref-search h2{font-size:29px;margin:0;font-weight:900;letter-spacing:-.025em}.ref-search-tabs{display:flex;gap:28px;justify-content:center}.ref-search-tabs label{font-size:11px;cursor:pointer;color:#777}.ref-search-tabs input{position:absolute;opacity:0}.ref-search-tabs input:checked+span{color:var(--r-red);font-weight:800;border-bottom:2px solid var(--r-red);padding-bottom:10px}.ref-advanced{font-size:11px;color:var(--r-red);text-decoration:none;font-weight:800;white-space:nowrap}
.ref-search-form{display:grid;grid-template-columns:120px 1.05fr 1fr 1.2fr .68fr .68fr 190px;gap:9px;align-items:end;padding:14px 0 7px}.ref-search-thumb{height:68px;background-size:cover;background-position:center;border-radius:3px}.ref-field label{display:block;font-size:9px;color:#777;margin-bottom:5px}.ref-field select,.ref-field input{width:100%;height:38px;border:1px solid #dedede;background:#fff;border-radius:4px;padding:0 10px;font-size:11px}.ref-search-submit{height:48px;border:0;border-radius:4px;background:var(--r-red);color:#fff;font-size:11px;font-weight:800;padding:0 16px;cursor:pointer;line-height:1.2}.ref-popular{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:9px;color:#777;margin-bottom:8px}.ref-popular a{background:#f3f3f3;border-radius:999px;padding:6px 11px;text-decoration:none;color:#555}

/* LISTINGS */
.ref-listings{padding:2px 0 24px}.ref-listing-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.ref-listing{border:1px solid #ececec;background:#fff;display:grid;grid-template-columns:45% 55%;min-height:142px;text-decoration:none;position:relative;border-radius:4px;overflow:hidden}.ref-listing-photo{background:#f2f2f2 center/cover no-repeat}.ref-listing-body{padding:12px 12px 10px}.ref-listing-label{font-size:9px;color:#777;margin-bottom:5px}.ref-listing h3{font-size:13px;line-height:1.15;margin:0 0 6px;font-weight:800}.ref-listing-address{font-size:9px;line-height:1.25;color:#666;min-height:24px}.ref-listing-meta{font-size:9px;color:#666;margin-top:6px}.ref-listing-price{font-size:16px;font-weight:900;margin-top:8px}.ref-listing-go{position:absolute;right:7px;bottom:7px;width:24px;height:24px;border:1px solid #ddd;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:12px}.ref-listing:hover{border-color:#d9bcc9}.ref-listing:hover .ref-listing-go{border-color:var(--r-red);color:var(--r-red)}

/* TABLET */
@media(max-width:1180px){
  :root{--r-gutter:20px}
  .ref-hero-copy{width:50%}.ref-hero-proof{right:10px;width:278px}.ref-hero h1{font-size:46px}
  .ref-process-inner{grid-template-columns:260px 1fr;gap:22px}.ref-step{padding-inline:14px}
  .ref-team-copy{grid-template-columns:1fr 135px;gap:20px;padding-left:28px}
  .ref-search-form{grid-template-columns:100px 1fr 1fr 1fr .7fr .7fr 165px}
}
@media(max-width:980px){
  .ref-hero-shell{min-height:500px}.ref-hero-media{left:39%}.ref-hero-copy{width:55%;padding-top:46px}.ref-hero h1{font-size:41px}.ref-hero-proof{width:245px;top:54px}.ref-proof-row{padding:16px}
  .ref-process-inner{grid-template-columns:1fr;padding-block:20px!important}.ref-process-title p{max-width:none}.ref-steps{grid-template-columns:repeat(2,1fr);gap:0}.ref-step:nth-child(3){border-left:0}
  .ref-services{grid-template-columns:repeat(2,1fr)}
  .ref-team-grid{grid-template-columns:1fr}.ref-team-visual{min-height:320px}.ref-team-copy{padding:28px 0;grid-template-columns:1fr 160px}
  .ref-search-form{grid-template-columns:1fr 1fr 1fr}.ref-search-thumb{display:none}.ref-search-submit{grid-column:1/-1}.ref-listing-grid{grid-template-columns:1fr 1fr}
}

/* MOBILE */
@media(max-width:800px){
  :root{--r-gutter:16px}
  .ref-wrap{width:calc(100% - 32px)!important;margin-inline:16px!important}

  .ref-hero-shell{display:flex;flex-direction:column;min-height:0;overflow:visible}
  .ref-hero-copy{order:1;width:100%;max-width:none;padding:26px 0 22px}
  .ref-hero-media{order:2;position:relative;inset:auto;width:100%;height:300px;border:0;background-position:center 48%}
  .ref-hero-media:after{display:none}
  .ref-hero-proof{order:3;position:relative;right:auto;top:auto;width:100%;margin:12px 0 20px;display:grid;grid-template-columns:1fr;box-shadow:none;border:1px solid #eadfe4;border-radius:8px;background:#fff}
  .ref-proof-row{grid-template-columns:42px 1fr;padding:14px 16px}.ref-proof-icon{width:34px;height:34px}.ref-proof-icon svg{width:27px;height:27px}.ref-proof-row strong{font-size:13px}.ref-proof-row span{font-size:10px}
  .ref-hero h1{max-width:none;font-size:clamp(34px,8vw,43px);line-height:.98}.ref-hero h1 .thin{font-size:.78em}
  .ref-kicker{font-size:10px;letter-spacing:.24em;margin-bottom:14px}.ref-hero-location{font-size:13px;margin-top:14px}.ref-hero-location strong{font-size:17px}.ref-hero-copy p{font-size:13px;max-width:none}.ref-actions{gap:10px}

  .ref-process-inner{display:block;padding:24px 0!important}.ref-process-title{margin-bottom:18px}.ref-process-title h2{font-size:30px;line-height:1.02}.ref-process-title h2 br{display:none}.ref-process-title p{max-width:none;font-size:13px}
  .ref-steps{grid-template-columns:repeat(2,minmax(0,1fr));gap:0}.ref-step{min-height:0;padding:16px;border-top:1px solid #f2e8ed;border-left:0}.ref-step:nth-child(odd){padding-left:0;padding-right:14px;border-right:1px solid #f2e8ed}.ref-step:nth-child(even){padding-right:0;padding-left:14px}.ref-step:nth-child(-n+2){border-top:0}

  .ref-duo{grid-template-columns:1fr;gap:14px;padding-top:14px}.ref-duo-card{height:250px}.ref-duo-panel{right:14px;top:14px;bottom:14px;width:min(70%,430px);padding:18px}.ref-duo-panel h3{font-size:22px}
  .ref-section{padding:18px 0 22px}.ref-section-head{align-items:center}.ref-section-head h2{font-size:27px}.ref-services{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ref-service{min-height:150px;grid-template-rows:68px 1fr}

  .ref-team-grid{grid-template-columns:1fr;min-height:0}.ref-team-visual{min-height:300px;background-position:center 48%}.ref-team-visual:before{width:70%;height:38%}.ref-team-image-brand{left:16px;top:16px;gap:8px}.ref-team-image-brand img{width:108px}.ref-team-image-brand span{font-size:11px}
  .ref-team-copy{display:block;padding:24px 0}.ref-team-copy h2{font-size:32px;line-height:1}.ref-team-copy h2 br{display:none}.ref-team-copy p{font-size:12px}.ref-stats{margin-top:20px;border-left:0;border-top:1px solid #e7e7e7;padding:16px 0 0;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.ref-stat strong{font-size:28px}.ref-stat span{font-size:9px}

  .ref-search{padding-top:18px}.ref-search-top{grid-template-columns:1fr;gap:10px;align-items:start}.ref-search h2{font-size:27px}.ref-search-tabs{justify-content:flex-start;gap:22px}.ref-search-tabs input:checked+span{padding-bottom:6px}.ref-advanced{justify-self:start}.ref-search-form{grid-template-columns:1fr 1fr;gap:10px}.ref-search-thumb{display:none}.ref-search-submit{grid-column:1/-1;width:100%}.ref-popular{margin-top:5px}
  .ref-listing-grid{grid-template-columns:1fr;gap:12px}.ref-listing{min-height:150px}
}

@media(max-width:560px){
  :root{--r-gutter:14px}
  .ref-wrap{width:calc(100% - 28px)!important;margin-inline:14px!important}
  .ref-hero-copy{padding-top:20px}.ref-hero-media{height:250px}.ref-hero h1{font-size:clamp(31px,9.2vw,38px)}
  .ref-actions{flex-direction:column;align-items:stretch}.ref-btn{width:100%;white-space:normal;text-align:center;padding-inline:14px}
  .ref-hero-proof{margin-top:10px}.ref-proof-row{padding:13px 14px}

  .ref-process-title h2{font-size:28px}.ref-steps{grid-template-columns:1fr}.ref-step,.ref-step:nth-child(odd),.ref-step:nth-child(even){padding:16px 0;border-right:0;border-top:1px solid #f2e8ed}.ref-step:first-child{border-top:0}
  .ref-duo-card{height:310px;background-position:center}.ref-duo-panel{left:12px;right:12px;top:auto;bottom:12px;width:auto;min-height:155px;padding:16px}.ref-duo-panel h3{font-size:21px}.ref-duo-panel p{font-size:11px}
  .ref-section-head{gap:10px}.ref-section-head h2{font-size:25px}.ref-section-head a{font-size:11px}.ref-services{grid-template-columns:1fr}.ref-service{grid-template-rows:105px 1fr;min-height:185px}.ref-service-body{padding:13px}.ref-service-body strong{font-size:14px}.ref-service-body span{font-size:11px}

  .ref-team-visual{min-height:250px;background-position:58% 50%}.ref-team-visual:before{width:72%;height:40%}.ref-team-image-brand{left:12px;top:12px;gap:6px}.ref-team-image-brand img{width:88px}.ref-team-image-brand span{font-size:10px;white-space:normal;max-width:100px}.ref-team-copy h2{font-size:29px}.ref-stats{grid-template-columns:1fr;gap:10px}.ref-stat{display:grid;grid-template-columns:70px 1fr;align-items:center}.ref-stat span{margin-top:0;font-size:10px}

  .ref-search h2{font-size:25px}.ref-search-form{grid-template-columns:1fr}.ref-search-submit{grid-column:1}.ref-popular{gap:6px}.ref-popular a{padding:5px 9px}
  .ref-listing{grid-template-columns:1fr}.ref-listing-photo{height:190px}.ref-listing-address{min-height:0}.ref-listing-body{padding:13px 13px 14px}
}

@media(max-width:380px){
  .ref-hero-media{height:225px}.ref-hero h1{font-size:30px}.ref-kicker{letter-spacing:.18em}
  .ref-section-head{align-items:flex-start;flex-direction:column}.ref-section-head a{align-self:flex-start}
  .ref-team-visual:before{width:74%;height:38%}.ref-team-image-brand img{width:80px}.ref-team-image-brand span{font-size:9px;max-width:90px}
}


/* =========================================================
   TEAM SECTION FIX 2026-10-10
   Remove white patch and reveal top of the photo
========================================================= */

/* If any old overlay badge still exists in markup, hide it */
.ref-team-badge,
.ref-team-logo,
.team-badge,
.team-logo {
  display: none !important;
}

/* Make sure the visual photo area shows the full upper part */
.ref-team-media,
.ref-team-photo,
.team-media,
.team-photo {
  background-position: center top !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}

/* If image is inserted as <img>, keep natural crop focused upward */
.ref-team-media img,
.ref-team-photo img,
.team-media img,
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top !important;
  display: block;
}

/* Give the photo a bit more height so heads are not cramped */
@media (min-width: 1024px) {
  .ref-team-media,
  .ref-team-photo,
  .team-media,
  .team-photo {
    min-height: 340px !important;
  }
}



/* =========================================================
   TEAM PHOTO EXACT FIX 2026-10-10
========================================================= */

.ref-team-visual {
  background-position: center top !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
}

/* Remove obsolete white mask completely */
.ref-team-visual::before {
  display: none !important;
  content: none !important;
  background: none !important;
}

/* Old logo overlay must never appear */
.ref-team-image-brand {
  display: none !important;
}

/* Show more of the portrait on desktop */
@media (min-width: 981px) {
  .ref-team-grid {
    min-height: 390px !important;
  }

  .ref-team-visual {
    min-height: 390px !important;
  }
}

/* Tablet */
@media (max-width: 980px) {
  .ref-team-visual {
    min-height: 420px !important;
    background-position: center top !important;
  }
}

/* Mobile */
@media (max-width: 800px) {
  .ref-team-visual {
    min-height: 340px !important;
    background-position: center top !important;
  }
}

@media (max-width: 560px) {
  .ref-team-visual {
    min-height: 300px !important;
    background-position: center top !important;
  }
}


/* Duo cards fine tuning */
.ref-duo-card{
  background-size: cover;
  background-repeat: no-repeat;
}

.ref-duo-card:first-child{
  background-position: 72% center;
}

.ref-duo-card:last-child{
  background-position: center center;
}

@media (max-width: 900px){
  .ref-duo-card:first-child{
    background-position: 68% center;
  }
}

@media (max-width: 640px){
  .ref-duo-card:first-child{
    background-position: 64% center;
  }
}

/* ===== Homepage typography unification ===== */

/* Hero */
.ref-kicker{
  font-size:12px;
  font-weight:700;
  letter-spacing:.26em;
}

.ref-hero h1{
  font-size:50px;
  line-height:.98;
  font-weight:800;
  letter-spacing:-.035em;
}

.ref-hero h1 .thin{
  font-size:.78em;
  line-height:1.08;
  font-weight:500;
  letter-spacing:-.025em;
}

.ref-hero-location strong{
  font-size:20px;
  font-weight:800;
}

.ref-hero-copy p{
  font-size:16px;
  line-height:1.55;
}

/* Section headings */
.ref-process-title h2,
.ref-section-head h2,
.ref-search h2{
  font-size:32px;
  line-height:1.05;
  font-weight:800;
  letter-spacing:-.025em;
}

/* Process */
.ref-process-title p{
  font-size:15px;
  line-height:1.5;
}

.ref-step strong{
  font-size:15px;
  line-height:1.25;
  font-weight:700;
}

.ref-step p{
  font-size:13px;
  line-height:1.45;
}

/* Two main service cards */
.ref-duo-panel h3{
  font-size:24px;
  line-height:1.08;
  font-weight:800;
}

.ref-duo-panel p{
  font-size:14px;
  line-height:1.5;
}

/* Service cards */
.ref-service-body strong{
  font-size:15px;
  line-height:1.25;
  font-weight:700;
}

.ref-service-body span{
  font-size:13px;
  line-height:1.4;
}

/* Team */
.ref-team-kicker{
  font-size:12px;
  font-weight:700;
}

.ref-team-copy h2{
  font-size:34px;
  line-height:1.05;
  font-weight:800;
}

.ref-team-copy p{
  font-size:15px;
  line-height:1.55;
}

.ref-stat strong{
  font-size:32px;
  font-weight:800;
}

.ref-stat span{
  font-size:13px;
  line-height:1.4;
}

/* Search */
.ref-search-tabs label,
.ref-advanced{
  font-size:13px;
}

.ref-field label{
  font-size:12px;
}

.ref-field select,
.ref-field input{
  font-size:14px;
}

.ref-search-submit{
  font-size:13px;
}

.ref-popular{
  font-size:11px;
}

/* Listings */
.ref-listing-label{
  font-size:11px;
}

.ref-listing h3{
  font-size:16px;
  line-height:1.22;
  font-weight:700;
}

.ref-listing-address,
.ref-listing-meta{
  font-size:12px;
  line-height:1.4;
}

.ref-listing-price{
  font-size:18px;
  font-weight:800;
}

/* Mobile */
@media(max-width:760px){

  .ref-hero h1{
    font-size:clamp(34px,8vw,42px);
  }

  .ref-hero h1 .thin{
    font-size:.78em;
    font-weight:500;
  }

  .ref-hero-copy p{
    font-size:16px;
  }

  .ref-process-title h2,
  .ref-section-head h2,
  .ref-search h2{
    font-size:28px;
  }

  .ref-step strong{
    font-size:15px;
  }

  .ref-step p{
    font-size:14px;
  }

  .ref-duo-panel h3{
    font-size:22px;
  }

  .ref-duo-panel p{
    font-size:14px;
  }

  .ref-service-body strong{
    font-size:15px;
  }

  .ref-service-body span{
    font-size:13px;
  }

  .ref-team-copy h2{
    font-size:29px;
  }

  .ref-team-copy p{
    font-size:15px;
  }
}


/* ===== Homepage typography refinement v2 ===== */

/* Hero: less poster-like */
.ref-kicker{
  font-size:11px!important;
  font-weight:700!important;
  letter-spacing:.22em!important;
}

.ref-hero h1{
  font-size:46px!important;
  line-height:1.01!important;
  font-weight:700!important;
  letter-spacing:-.03em!important;
}

.ref-hero h1 .thin{
  font-size:.84em!important;
  line-height:1.08!important;
  font-weight:500!important;
  letter-spacing:-.02em!important;
  margin-top:6px!important;
}

.ref-hero-location strong{
  font-size:18px!important;
  font-weight:700!important;
}

.ref-hero-copy p{
  font-size:15px!important;
  line-height:1.55!important;
}

/* Second level must not compete with H1 */
.ref-process-title h2{
  font-size:27px!important;
  line-height:1.07!important;
  font-weight:700!important;
  letter-spacing:-.02em!important;
}

.ref-section-head h2,
.ref-search h2{
  font-size:29px!important;
  line-height:1.08!important;
  font-weight:700!important;
  letter-spacing:-.02em!important;
}

/* Cards */
.ref-step strong,
.ref-service-body strong{
  font-weight:700!important;
}

.ref-duo-panel h3{
  font-size:23px!important;
  font-weight:700!important;
  line-height:1.1!important;
}

.ref-team-copy h2{
  font-size:32px!important;
  font-weight:700!important;
  line-height:1.07!important;
}

.ref-stat strong,
.ref-listing-price{
  font-weight:700!important;
}

/* Buttons: less visually aggressive */
.ref-btn{
  font-weight:700!important;
}

/* Mobile */
@media(max-width:760px){
  .ref-hero h1{
    font-size:36px!important;
    line-height:1.02!important;
  }

  .ref-hero h1 .thin{
    font-size:.86em!important;
  }

  .ref-process-title h2{
    font-size:26px!important;
  }

  .ref-section-head h2,
  .ref-search h2{
    font-size:27px!important;
  }
}


/* Final hero typography balance */
.ref-hero h1 .thin{
  font-weight:600!important;
}

