/* ============================================================================
 *  site.css — shared design system for lot3320.info (Realty Resource Connection)
 *  Loaded by home.html, about.html, contact.html. Matches search.css exactly so
 *  the masthead, palette, type and buttons are identical across the whole site.
 * ========================================================================== */

:root {
  --paper:      #f4efe6;
  --paper-2:    #ece4d6;
  --card:       #fffdf8;
  --ink:        #211e19;
  --ink-soft:   #514b41;
  --muted:      #8d8474;
  --line:       rgba(33, 30, 25, 0.10);
  --line-2:     rgba(33, 30, 25, 0.16);
  --pine:       #2f5446;
  --pine-700:   #234539;
  --pine-300:   #6f9384;
  --brass:      #b3894e;
  --brass-soft: #d8b988;
  --rose:       #a6483b;
  --shadow-sm:  0 1px 2px rgba(33,30,25,.06), 0 2px 8px rgba(33,30,25,.06);
  --shadow-md:  0 6px 22px rgba(33,30,25,.12), 0 2px 6px rgba(33,30,25,.08);
  --shadow-lg:  0 22px 60px rgba(33,30,25,.22);
  --r-card: 16px;
  --r-pill: 999px;
  --head-h: 64px;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --ui: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;
  --wrap: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ui);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-optical-sizing: auto; font-weight: 500; line-height: 1.08; letter-spacing: .2px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 26px; }

/* type helpers ------------------------------------------------------------- */
.eyebrow {
  font-family: var(--ui); font-size: 12px; font-weight: 700;
  letter-spacing: 2.6px; text-transform: uppercase; color: var(--brass);
}
.lead { font-size: 19px; line-height: 1.6; color: var(--ink-soft); }
.section { padding: 92px 0; }
.section--tight { padding: 64px 0; }
.center { text-align: center; }
.muted { color: var(--muted); }

/* buttons ------------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 24px; border-radius: var(--r-pill);
  font-size: 14.5px; font-weight: 600; letter-spacing: .3px;
  border: 1.5px solid transparent; transition: transform .15s, background .2s, border-color .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--pine); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--pine-700); }
.btn-ghost { background: none; border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--pine); color: var(--pine); }
.btn-brass { background: var(--brass); color: #fff; box-shadow: var(--shadow-sm); }
.btn-brass:hover { background: #9c763f; }

/* ============================================================ masthead ===== */
.masthead {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 28px; height: var(--head-h);
  padding: 0 26px; background: rgba(244,239,230,.86); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark {
  width: 34px; height: 34px; flex: none; display: grid; place-items: center;
  border: 1.5px solid var(--pine); border-radius: 9px; color: var(--pine);
  font-family: var(--display); font-weight: 600; font-size: 15px; letter-spacing: .5px;
}
.brand__name { font-family: var(--display); font-weight: 500; font-size: 19px; line-height: 1; }
.brand__name small {
  display: block; font-family: var(--ui); font-weight: 600; font-size: 9.5px;
  letter-spacing: 2.4px; text-transform: uppercase; color: var(--muted); margin-top: 4px;
}
.nav { display: flex; gap: 26px; margin-left: 14px; }
.nav a {
  font-size: 14px; font-weight: 500; color: var(--ink-soft);
  padding: 6px 0; position: relative; letter-spacing: .2px; transition: color .18s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px;
  height: 1.5px; background: var(--pine); transition: right .22s ease;
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after, .nav a.is-active::after { right: 0; }
.nav a.is-active { color: var(--ink); }
.masthead__right { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.phone { font-family: var(--display); font-weight: 500; font-size: 16px; color: var(--ink); white-space: nowrap; }
.btn-contact {
  background: var(--pine); color: #fff; border: none; padding: 10px 18px;
  border-radius: var(--r-pill); font-size: 13.5px; font-weight: 600; letter-spacing: .3px;
  box-shadow: var(--shadow-sm); transition: transform .15s, background .2s;
}
.btn-contact:hover { background: var(--pine-700); transform: translateY(-1px); }
.nav-toggle {
  display: none; margin-left: auto; width: 42px; height: 42px; border-radius: 11px;
  border: 1px solid var(--line-2); background: var(--card); color: var(--ink);
  align-items: center; justify-content: center;
}
.mobile-menu {
  display: none; flex-direction: column; gap: 4px;
  position: fixed; top: var(--head-h); left: 0; right: 0; z-index: 49;
  background: var(--paper); border-bottom: 1px solid var(--line); padding: 12px 26px 18px;
  box-shadow: var(--shadow-md);
}
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 12px 0; font-size: 16px; font-weight: 500; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 12px; justify-content: center; }

/* ============================================================== footer ===== */
.footer { background: var(--ink); color: #d8cfbf; padding: 64px 0 30px; }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.footer__brand .brand__mark { border-color: var(--brass-soft); color: var(--brass-soft); }
.footer__brand .brand__name { color: var(--paper); }
.footer__brand p { margin: 16px 0 0; max-width: 320px; color: #b5ab9a; font-size: 14.5px; line-height: 1.65; }
.footer h4 { font-family: var(--ui); font-size: 11px; letter-spacing: 1.8px; text-transform: uppercase; color: var(--brass-soft); font-weight: 700; margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer ul a { color: #cabfae; font-size: 14.5px; transition: color .16s; }
.footer ul a:hover { color: #fff; }
.footer__socials { display: flex; gap: 12px; margin-top: 6px; }
.footer__socials a {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.16);
  display: grid; place-items: center; color: #cabfae; transition: all .18s;
}
.footer__socials a:hover { background: var(--brass); border-color: var(--brass); color: #fff; }
.footer__bottom {
  margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12.5px; color: #9d9484;
}

/* ============================================ scroll reveal animations ===== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* preview ribbon ----------------------------------------------------------- */
.ribbon {
  position: fixed; bottom: 14px; left: 14px; z-index: 70;
  background: rgba(33,30,25,.9); color: var(--paper); backdrop-filter: blur(8px);
  font-size: 11px; letter-spacing: .4px; padding: 7px 13px; border-radius: var(--r-pill);
  box-shadow: var(--shadow-md); pointer-events: none;
}
.ribbon b { color: var(--brass-soft); }

/* responsive --------------------------------------------------------------- */
@media (max-width: 860px) {
  .nav, .masthead__right { display: none; }
  .nav-toggle { display: inline-flex; }
  .section { padding: 64px 0; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .footer__top { grid-template-columns: 1fr; }
}
