/* Rare Vegas — additions on top of the richlends design system.
   Brokerage / license / contact values live in config.js */

/* Load the type the design system actually names */
/* (fonts are requested from the HTML head) */

/* ---- Header: no BFG lockup, simpler nav, keep desktop links longer ---- */
.site-header .brand-text small{letter-spacing:.14em}
.desktop-nav .nav-trigger{
  text-decoration:none;
}
.desktop-nav .nav-item > a.nav-trigger{
  display:flex;
  align-items:center;
}

@media (max-width:1439px){
  .desktop-nav{display:flex}
  .menu-toggle{display:none}
}
@media (max-width:980px){
  .desktop-nav{display:none}
  .menu-toggle{display:block}
}
@media (max-width:699px){
  .header-cta{display:none}
}

/* ---- Three path cards (Buy / Sell / Invest) ---- */
.paths-grid.three{grid-template-columns:repeat(3,1fr)}
.paths-grid.three .path-card{min-height:560px}
@media (max-width:1100px){
  .paths-grid.three{grid-template-columns:1fr;gap:20px}
  .paths-grid.three .path-card{min-height:420px}
}

/* ---- Service sections (Buy, Sell, Invest) ---- */
.service{background:var(--ivory)}
.service.is-paper{background:var(--paper);border-block:1px solid var(--line)}
.service-grid{
  display:grid;
  grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);
  gap:clamp(40px,6vw,96px);
  align-items:center;
}
.service-grid.reverse{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr)}
.service-grid.reverse .service-copy{order:2}
.service-grid.reverse .service-visual{order:1}
.service-copy .eyebrow{margin-bottom:0}
.service-copy h2{margin-top:22px}
.service-copy > p{margin-top:18px;color:var(--muted);font-weight:300;font-size:18px;max-width:620px}
.service-copy .button{margin-top:32px}
.service-visual{position:relative;margin:0}
.service-visual img{
  width:100%;
  aspect-ratio:4/5;
  object-fit:cover;
  display:block;
  box-shadow:0 40px 80px rgba(13,14,16,.16);
}
.service-visual:before{
  content:'';
  position:absolute;
  inset:14px;
  border:1px solid rgba(205,209,214,.7);
  z-index:1;
  pointer-events:none;
}
.service-visual figcaption{
  position:absolute;
  left:0;right:0;bottom:0;
  padding:80px 28px 24px;
  color:var(--ivory);
  font-family:var(--serif);
  font-size:22px;
  line-height:1.25;
  background:linear-gradient(180deg,rgba(8,9,11,0),rgba(8,9,11,.88) 60%);
  z-index:1;
}
.service-visual figcaption span{
  display:block;
  font-family:var(--sans);
  font-size:12px;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:var(--champagne);
  margin-bottom:6px;
}
.service-points{margin-top:32px;border-top:1px solid var(--line)}
.service-points li{
  display:grid;
  grid-template-columns:52px 1fr;
  gap:12px;
  padding:20px 0;
  border-bottom:1px solid var(--line);
}
.service-points li > span{
  font-family:var(--serif);
  font-style:italic;
  font-size:22px;
  color:var(--gold);
  line-height:1.3;
}
.service-points strong{
  display:block;
  font-family:var(--serif);
  font-size:24px;
  font-weight:400;
  color:var(--ink);
  margin-bottom:4px;
}
.service-points p{margin:0;color:var(--muted);font-size:16px;line-height:1.65}

@media (max-width:900px){
  .service-grid,.service-grid.reverse{grid-template-columns:1fr}
  .service-grid.reverse .service-copy,
  .service-grid.reverse .service-visual{order:0}
  .service-visual{max-width:520px;width:100%}
  .service-visual img{aspect-ratio:5/4}
}

/* ---- Financing note (NMLS line lives with this mention) ---- */
.financing-note{
  margin-top:28px;
  padding:22px 24px;
  background:var(--paper);
  border-left:2px solid var(--gold);
}
.service.is-paper .financing-note{background:var(--ivory)}
.financing-note p{margin:0;font-size:15px;color:var(--muted);line-height:1.7;max-width:none}
.financing-note a{color:var(--ink);border-bottom:1px solid var(--gold)}
.nmls-line{display:block;margin-top:10px;font-size:13px;color:var(--muted)}

.experience .financing-note{
  background:rgba(243,243,241,.06);
  border-left-color:var(--champagne);
  margin-top:36px;
}
.experience .financing-note p,
.experience .financing-note .nmls-line{color:rgba(243,243,241,.8)}
.experience .financing-note a{color:var(--champagne);border-bottom-color:rgba(205,209,214,.6)}

/* ---- Placeholders ---- */
.placeholder-value{
  color:var(--champagne);
  border-bottom:1px dashed rgba(205,209,214,.55);
  font-family:var(--sans);
  letter-spacing:.04em;
}
.contact-methods .placeholder-value,
.footer-office .placeholder-value,
.footer-service .placeholder-value{
  color:inherit;
  border-bottom-color:rgba(205,209,214,.4);
}
a.is-placeholder-link{cursor:default;pointer-events:none}

/* Hide call/text UI until a real phone is in config.js */
.no-agent-phone .phone-only{display:none!important}

/* ---- Footer marks: Equal Housing + REALTOR® ---- */
.footer-marks{
  display:grid;
  grid-template-columns:minmax(0,1.4fr) minmax(0,.6fr);
  gap:40px 56px;
  align-items:start;
  padding-block:40px;
  border-bottom:1px solid var(--line-dark);
}
.footer-eho{
  display:grid;
  grid-template-columns:72px 1fr;
  gap:20px;
  align-items:start;
}
.footer-eho img{
  width:72px;
  height:auto;
  display:block;
}
.footer-eho p{
  margin:0;
  font-size:13px;
  line-height:1.7;
  color:var(--muted-light);
}
.footer-realtor{
  display:flex;
  align-items:flex-start;
  justify-content:flex-end;
}
.footer-realtor img{
  width:120px;
  height:auto;
  display:block;
}
.footer-office p{color:var(--ivory);line-height:1.6}

@media (max-width:800px){
  .footer-marks{grid-template-columns:1fr;gap:28px}
  .footer-realtor{justify-content:flex-start}
  .footer-eho{grid-template-columns:64px 1fr}
  .footer-eho img{width:64px}
}

/* Subpages share the same footer; tighten legal pages a little */
.legal-page .lg-callout strong{color:var(--ink)}
/* Thank-you page */
.thanks-wrap{min-height:70vh}
.thanks-actions{display:flex;flex-wrap:wrap;gap:16px;margin-top:32px}

/* Year + footer brand size */
.footer-brand .brand{color:var(--ivory)}
.footer-brand .brand-text small{color:var(--muted-light)}

/* Keep compound names from splitting awkwardly */
.nobr{white-space:nowrap}

/* Service and path photos: show the most useful part of each frame */
.photo-pos-modern{object-position:center 72%}
.photo-pos-interior{object-position:center 45%}
.service-visual img.photo-pos-modern,
.service-visual img.photo-pos-interior{aspect-ratio:4/5}

/* Equal Housing logo must be large enough to read the words */
.footer-eho{grid-template-columns:132px 1fr;gap:24px}
.footer-eho img{width:132px}
.footer-realtor img{width:132px}
@media (max-width:800px){
  .footer-eho{grid-template-columns:100px 1fr}
  .footer-eho img{width:100px}
  .footer-realtor img{width:112px}
}

/* Offset in-page anchors for the sticky header. */
html{scroll-padding-top:96px}

/* Address and phone inside the contact block should not inherit the tiny uppercase labels */
.contact-methods p span,
.contact-methods p a,
.contact-methods .office-address a {
  display: inline;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: inherit;
  line-height: 1.3;
}
.contact-methods .office-address a:hover span,
.contact-methods .office-address a:hover {
  color: var(--champagne);
}
