/* Rendr Media refresh, Nov 2026: calmer header + "Built to sell." hero.
   Loaded after the main stylesheet on every page. */

/* ---------- Header: smaller, quieter ---------- */
.nav{height:clamp(60px,calc(64*var(--u)),72px)}
.nav.scrolled{height:60px}
.is-home .nav:not(.scrolled){border-bottom-color:transparent}
.logo{font-size:clamp(20px,calc(22*var(--u)),24px)}
.nav-links{gap:clamp(22px,calc(28*var(--u)),32px)}
.nl{font-size:clamp(14px,calc(14*var(--u)),15px);opacity:.78;transition:color .25s,opacity .25s}
.nl:hover{opacity:1}
.nav-cta.btn-gold{background:transparent;color:var(--white);border:1px solid rgba(243,241,236,.32);font-size:14px;padding:9px 16px;gap:8px}
.nav-cta.btn-gold:hover{background:transparent;border-color:var(--gold);color:var(--gold2)}

/* ---------- Hero headline ---------- */
.hero .h1{font-size:clamp(64px,calc(132*var(--u)),168px);line-height:.9;letter-spacing:-.05em}
.hero .h1 .w{display:inline-block;overflow:hidden;vertical-align:top;padding-bottom:.08em;margin-bottom:-.08em}
.hero .h1 .w>span{display:inline-block;animation:rm-word 1s var(--ease) both;animation-delay:calc(.35s + var(--i,0)*.13s)}
.hero .h1 em{font-style:normal;color:var(--gold)}
.hero .h1 .sell{position:relative}
.hero .h1 .sell:after{content:"";position:absolute;left:.02em;right:.32em;bottom:.07em;height:calc(6*var(--u));min-height:4px;background:var(--gold);transform-origin:left center;animation:rm-sweep .9s var(--ease) both;animation-delay:1.15s}
@keyframes rm-word{from{transform:translateY(108%)}}
@keyframes rm-sweep{from{transform:scaleX(0)}}

/* ---------- Hero motion: a house drafts itself, then sells ---------- */
/* Sits just under the header and always above the text beside the buttons. */
.hero-build{position:absolute;z-index:1;pointer-events:none;right:calc(80*var(--u));
  top:calc(1000*var(--u) - clamp(calc(720*var(--u)),100svh,calc(1000*var(--u))) + 76px);bottom:auto;
  height:min(128px,calc(110*var(--u)))}
.hero-build svg{display:block;height:100%;width:auto;overflow:visible}
.hb-grid{opacity:.07;animation:rm-fade 1.2s ease both;animation-delay:.2s}
.hb-ln{fill:none;stroke:rgba(243,241,236,.78);stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke;
  stroke-dasharray:1;stroke-dashoffset:0;animation:rm-draw 1.2s cubic-bezier(.6,.05,.2,1) both;animation-delay:var(--d,0s)}
.hb-dim{stroke:rgba(243,241,236,.38)}
.hb-win{fill:var(--gold);fill-opacity:.42;stroke:none;animation:rm-glow 1.6s ease both;animation-delay:var(--d,0s)}
.hb-sign{transform-box:fill-box;transform-origin:50% 0;animation:rm-drop 1.1s cubic-bezier(.3,1.5,.5,1) both,rm-sway 7s ease-in-out 4.6s infinite;animation-delay:3.4s,4.6s}
.hb-sign rect{fill:var(--gold)}
.hb-sign text{fill:var(--ink);font:800 12.5px/1 Inter,system-ui,sans-serif;letter-spacing:.14em}
.hb-ring{fill:none;stroke:var(--gold);stroke-width:1.5;transform-box:fill-box;transform-origin:center;opacity:0;animation:rm-ring 1.6s ease-out both;animation-delay:3.9s}
@keyframes rm-draw{from{stroke-dashoffset:1}}
@keyframes rm-fade{from{opacity:0}}
@keyframes rm-glow{from{fill-opacity:0}}
@keyframes rm-drop{from{opacity:0;transform:translateY(-26px) rotate(-9deg)}}
@keyframes rm-sway{0%,100%{transform:rotate(0)}50%{transform:rotate(1.6deg)}}
@keyframes rm-ring{from{opacity:.9;transform:scale(.6)}to{opacity:0;transform:scale(1.9)}}

@media (min-width:901px) and (max-height:700px){.hero-build{display:none}}
@media (min-width:901px) and (max-width:1023px){.hero-build{display:none}}
@media (max-width:900px){
  .hero .h1{font-size:clamp(56px,17vw,96px)}
  .hero-build{top:76px;bottom:auto;right:20px;height:max(0px,calc(max(96px,30svh) - 96px))}
}

/* Reduced motion: show the finished state (the site's global rule stops all animation). */
@media (prefers-reduced-motion:reduce){
  .hero .rv-h{opacity:1;transform:none}
  .hb-ring{display:none}
}
