/* Ranked Realty, light layout from Tony's 2026-11-25 kit (rankedrealty.com.zip), built on the live PHP templates.
   M.O.R.R.I.S. tasklist 2026-11-25, key rankedrealty-com-build-1125. ASCII only.
   Loaded AFTER style.css. It does three things:
   1. Page colors go light (Pearl #FAFAFA page, ivory #F6F3EB bands) while the brand stays black and gold. The kit's
      evergreen and bronze palette is marked "proposed" in the kit, so it is not used.
   2. Dark islands keep the original black-card values: the video heroes (Tony 2026-07-18: hero video on every page),
      the top strip, the contact band before the footer, and the floating back-to-top and translate buttons.
   3. The kit's layout pieces: top strip, hero grid with illustration, feature strip, path cards, people cards,
      price cards, facts table, footer columns.
   Undo: remove the one <link> to this file in inc/head.php. */

:root{
  --ink:#fafafa; --panel:#fffefb; --panel2:#f6f3eb; --line:#e3ded3; --paper:#f6f3eb;
  --gold:#84652f; --gold-2:#73551f; --text:#1a1a1a; --muted:#4e535c; --white:#0a0a0a;
  --ghost-line:#9c8f74; --field-line:#8b8579;
  --cta-1:#e3c489; --cta-2:#c6a15b; --cta-ink:#1a1408;
}
.hero,.page-hero,.rr-topbar,.contact,.rr-dark,.totop,.rr-translate-rail{
  --ink:#0b0b0d; --panel:#141519; --panel2:#1b1d23; --line:#2c2f38; --paper:#141519;
  --gold:#c6a15b; --gold-2:#e3c489; --text:#eef0f4; --muted:#a7adba; --white:#ffffff;
  --ghost-line:rgba(238,240,244,.42); --field-line:#2c2f38;
  color:var(--text);
}
.hero,.page-hero{background-color:#0b0b0d}

/* Buttons: the gold CTA keeps its own colors everywhere; the ghost button reads on light and dark */
.btn{background:linear-gradient(180deg,var(--cta-1),var(--cta-2));border-color:var(--cta-2);color:var(--cta-ink)}
.btn:hover,.btn:focus{box-shadow:0 12px 30px rgba(132,101,47,.22)}
.btn-ghost{background:transparent;color:var(--text);border:1px solid var(--ghost-line)}
.btn-ghost:hover,.btn-ghost:focus{border-color:var(--gold);color:var(--white)}
.skip{background:var(--cta-2);color:var(--cta-ink)}

/* Top strip (kit) */
.rr-topbar{background:#0a0a0a;font-size:.82rem;line-height:1.4;border-bottom:1px solid #1f2026}
.rr-topbar-row{display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:36px;padding-top:6px;padding-bottom:6px}
.rr-topbar-row span{color:#d7dbe4}
.rr-topbar a{color:var(--gold-2);font-weight:600;white-space:nowrap}

/* Header goes light */
.site-head{background:rgba(250,250,250,.96);border-bottom:1px solid var(--line)}
.nav-menu a{color:var(--text);font-weight:600}
.nav-menu a:hover{color:var(--gold)}
.nav-menu a.btn{color:var(--cta-ink)}
.head-phone{border-color:var(--ghost-line);color:var(--gold)}
.head-phone:hover,.head-phone:focus{color:var(--white)}
/* Desktop: the number lives in the top strip (kit); phones keep the tappable sticky pill */
@media(min-width:901px){.head-phone{display:none}}

/* Sections and surfaces */
.compare,.proof,.page-section:nth-of-type(even){background:var(--paper)}
.score{background:var(--ink)}
.crumbs{background:var(--paper)}
.crumbs .sep{color:var(--ghost-line)}
.price.feat{box-shadow:0 18px 40px rgba(26,20,8,.10)}
.price .tag,.agent-badge{background:var(--cta-2);color:var(--cta-ink)}
.compare-card li:before{background:#c9c2b2}
.cmp-table .yes{color:#1d6b45}
.form-ok{color:#1d6b45;background:#eaf5ee;border-color:#b9dcc6}
.form-err{color:#9b2620;background:#fbeceb;border-color:#efc2bf}
.contact .form-ok{color:#7dd0a3;background:rgba(125,208,163,.1);border-color:rgba(125,208,163,.3)}
.contact .form-err{color:#f0a3a0;background:rgba(240,120,120,.1);border-color:rgba(240,120,120,.3)}
.lead input,.lead select,.rr-form input,.rr-form select,.rr-form textarea,.agent-search input,.awt-captcha input{border-color:var(--field-line)}
.demo-modal-card{box-shadow:0 30px 80px rgba(10,10,10,.35)}
.site-foot{background:var(--paper)}
.foot-legal{color:var(--muted)}

/* Contact band before the footer = the kit's dark band */
.contact{background:#0a0a0a}
.contact .eyebrow{color:#e5cf98}
.contact-facts a{color:var(--gold-2)}

/* Home hero grid (kit): copy left, illustration right, over the hero video */
.rr-hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:46px;align-items:center}
.rr-hero-grid .hero-badge{margin:18px 0 0}
.rr-small{font-size:.9rem;color:var(--muted);margin:14px 0 0}
.rr-art{position:relative;padding-bottom:42px}
.rr-art>img{width:100%;height:auto;display:block;border-radius:20px;box-shadow:0 24px 60px rgba(0,0,0,.45)}
.rr-floatcard{position:absolute;bottom:0;right:12px;width:63%;padding:18px 19px;background:#fafafa;color:#1a1a1a;border:1px solid #e3ded3;border-radius:14px;box-shadow:0 9px 35px rgba(10,10,10,.28)}
.rr-floatcard .eyebrow{color:#84652f;margin:0 0 4px}
.rr-floatcard strong{display:block;font-size:1.05rem;line-height:1.3}
.rr-bars{display:flex;gap:5px;align-items:flex-end;height:35px;margin:8px 0 6px}
.rr-bars i{display:block;width:12%;background:#3a3d46;border-radius:3px}
.rr-bars i:nth-child(even){background:#c6a15b}
.rr-floatcard .rr-note{font-size:.8rem;color:#4e535c;margin:0}

/* Feature strip (kit) */
.rr-strip{border-bottom:1px solid var(--line);background:var(--ink);padding:20px 0}
.rr-strip .wrap{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;text-align:center;font-weight:700;font-size:.92rem;color:var(--text)}

/* Kit sections, headings, cards */
.rr-sec{padding:72px 0}
.rr-sec.rr-muted{background:var(--paper);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.rr-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:22px;margin-bottom:26px}
.rr-heading h2{margin:0}
.rr-heading p{margin:0}
.rr-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.rr-card{border:1px solid var(--line);border-radius:12px;padding:25px;background:var(--panel);min-width:0;display:flex;flex-direction:column}
.rr-card h3{color:var(--white);margin:0 0 10px}
.rr-card p{color:var(--muted);margin:0 0 14px}
.rr-card>a:last-child{margin-top:auto;font-weight:700;color:var(--text);text-decoration:underline;text-underline-offset:4px}
.rr-card>a:last-child:hover{color:var(--gold)}
.rr-num{font-size:.75rem;color:var(--gold);font-weight:700;letter-spacing:.14em;text-transform:uppercase;display:block;margin-bottom:22px}
.rr-price{font-family:'Playfair Display',Georgia,serif;font-size:2rem;font-weight:700;color:var(--white);margin:6px 0 8px;line-height:1.1}

/* People cards (kit directory look) */
.rr-people{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.rr-person{border:1px solid var(--line);border-radius:12px;padding:17px;display:flex;align-items:flex-start;gap:12px;background:var(--panel);min-width:0}
.rr-initial{flex:0 0 48px;width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:#efe6d2;color:#5a4319;font-weight:700;overflow:hidden}
.rr-initial img{width:100%;height:100%;object-fit:cover}
.rr-person h3{font-size:1rem;margin:0 0 4px;color:var(--white)}
.rr-person p{font-size:.9rem;color:var(--muted);margin:0;overflow-wrap:anywhere}
.rr-person a{font-size:.9rem;font-weight:700;color:var(--text);text-decoration:underline;text-underline-offset:3px}

/* Case study (kit: keep the verified case study) */
.rr-proof{display:grid;grid-template-columns:1.2fr .8fr;gap:28px;align-items:center}
.rr-proof blockquote{margin:0;font-size:1.08rem;color:var(--text)}
.rr-proof cite{display:block;margin-top:14px;color:var(--muted);font-style:normal;font-size:.95rem}
.rr-proof .proof-vs{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.rr-more{display:flex;flex-wrap:wrap;gap:12px;margin-top:22px}

/* Facts table (kit business facts) */
.rr-facts{border-collapse:collapse;width:100%;background:var(--panel);border:1px solid var(--line);border-radius:12px;overflow:hidden}
.rr-facts th,.rr-facts td{border-bottom:1px solid var(--line);text-align:left;padding:13px 16px;vertical-align:top}
.rr-facts tr:last-child th,.rr-facts tr:last-child td{border-bottom:0}
.rr-facts th{width:34%;color:var(--white);font-weight:700}
.rr-facts td{color:var(--text);overflow-wrap:anywhere}
.rr-facts .bf-src{margin-top:4px}

/* Agent directory (kit look on the live search and cards) */
.rr-search-label{display:block;font-size:.9rem;font-weight:600;margin:20px 0 0;color:var(--text)}
.agent-search{margin-top:18px;flex-wrap:wrap}
.agent-search input{min-width:0}
.rr-results{font-size:.95rem;color:var(--muted);margin:0 0 16px}
.agent-card{border-radius:12px}
.agent-av,.agent-photo{background:#efe6d2;color:#5a4319}
.agent-hero .agent-photo{background:#1b1d23;color:#e3c489}

/* Footer columns (kit) */
.rr-foot-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;gap:26px}
.rr-foot-grid .brand{margin-bottom:10px}
.rr-foot-h{font-family:'Inter',system-ui,sans-serif;font-size:.95rem;font-weight:700;color:var(--white);margin:0 0 10px;letter-spacing:0}
.rr-foot-col{display:flex;flex-direction:column;gap:8px}
.rr-foot-col a{color:var(--text)}
.rr-foot-col a:hover{color:var(--gold)}
.rr-foot-contact{display:flex;flex-direction:column;gap:6px;margin:0 0 14px}
.rr-foot-contact a{color:var(--gold-2);font-weight:600}
.foot-tag{color:var(--gold)}
.site-foot .brand-name{display:inline}

/* Alternatives "at a glance" list: its page style colors the answers #f4ecd8 for the old dark page, which is
   unreadable on the light band (measured 1.17:1, P.I.V.O.T. 2026-11-25, key pivot-build-rankedrealty-com-1125). */
.cmp-list .cmp-item dd{color:var(--text)}

/* 404 */
.rr-404{padding:80px 0 90px}
.rr-404 .hero-cta{margin-top:20px}

@media(max-width:900px){
  .rr-hero-grid,.rr-proof{grid-template-columns:1fr;gap:26px}
  .rr-cards,.rr-people{grid-template-columns:1fr 1fr}
  .rr-strip .wrap{grid-template-columns:1fr 1fr}
  .rr-heading{display:block}
  .rr-heading p{margin-top:6px}
  .rr-foot-grid{grid-template-columns:1fr 1fr}
  .rr-foot-grid>div:first-child{grid-column:1/-1}
  .rr-sec{padding:52px 0}
}
@media(max-width:600px){
  .rr-topbar-row{flex-wrap:wrap;justify-content:center;text-align:center}
  .rr-cards,.rr-people,.rr-foot-grid{grid-template-columns:1fr}
  .rr-floatcard{width:80%;padding:13px}
  .rr-hero-grid .hero-cta .btn{width:100%}
  .rr-proof .proof-vs{grid-template-columns:1fr 1fr}
  .rr-facts th{width:40%}
  .rr-facts th,.rr-facts td{padding:11px 12px}
}
@media(max-width:400px){
  .rr-facts th,.rr-facts td{display:block;width:auto;border-bottom:0}
  .rr-facts td{border-bottom:1px solid var(--line);padding-top:0}
}
