/* Olivia Tabish Realty — Spokane Homeco */

:root {
  --forest: #042825;
  --forest-light: #0d3f3a;
  --cream: #faf7f5;
  --sand: #e8e1d9;
  --sand-line: #d6d3d1;
  --ink: #1c1c1c;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

h1, h2, h3 { font-family: var(--serif); font-weight: 500; margin: 0 0 18px; color: var(--forest); }
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1.1; }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); line-height: 1.2; }
h3 { font-size: 1.5rem; }
p { line-height: 1.7; margin: 0 0 16px; color: #3a3a3a; }

.eyebrow {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--forest-light);
  margin: 0 0 10px;
  letter-spacing: 0.02em;
}
.eyebrow.center, .center { text-align: center; }
.services-lead { max-width: 620px; margin: 0 auto 44px; }

.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 2px;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid var(--forest);
  transition: background 0.2s ease, color 0.2s ease;
}
.btn-primary { background: var(--forest); color: var(--cream); }
.btn-primary:hover { background: var(--forest-light); }
.btn-ghost { background: transparent; color: var(--forest); margin-left: 14px; }
.btn-ghost:hover { background: var(--forest); color: var(--cream); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,247,245,0.92);
  backdrop-filter: saturate(180%) blur(6px);
  border-bottom: 1px solid var(--sand-line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.brand {
  font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--forest);
}
.nav { display: flex; gap: 26px; }
.nav a { font-size: 0.92rem; letter-spacing: 0.03em; text-transform: uppercase; color: var(--ink); }
.nav a:hover { color: var(--forest); }
.header-phone { font-size: 0.92rem; letter-spacing: 0.02em; color: var(--forest); border-bottom: 1px solid var(--forest); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--forest); margin: 5px 0; }

/* Hero */
.hero { padding: 64px 0 80px; overflow: hidden; }
.hero-inner {
  display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 48px;
}
.hero-sub { max-width: 480px; }
.hero-actions { margin-top: 28px; }
.hero-media {
  border-radius: 4px;
  overflow: hidden;
  max-height: 560px;
  box-shadow: 0 24px 60px -24px rgba(4,40,37,0.45);
}
.hero-media img { width: 100%; height: 100%; max-height: 560px; object-fit: cover; }

/* About */
.about { background: var(--sand); padding: 88px 0; }
.about-inner {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center;
}
.about-media img { border-radius: 4px; box-shadow: 0 20px 50px -20px rgba(4,40,37,0.4); }
.pull-quote {
  font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--forest);
  border-left: 3px solid var(--forest); padding-left: 18px; margin: 26px 0;
}

.style-strip {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 64px;
}
.style-strip img {
  border-radius: 4px; aspect-ratio: 2 / 3; object-fit: cover;
  box-shadow: 0 20px 50px -24px rgba(4,40,37,0.35);
}

/* Services */
.services { padding: 96px 0; }
.service-cards {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 820px; margin: 0 auto 64px;
}
.service-card {
  background: var(--cream); border: 1px solid var(--sand-line); border-radius: 4px; padding: 34px;
}
.instagram-cta { text-align: center; }
.instagram-cta p { margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.85rem; color: #7a756e; }
.instagram-cta a { font-family: var(--serif); font-size: 1.4rem; color: var(--forest); border-bottom: 1px solid var(--forest); }

/* Listings */
.listings { background: var(--sand); padding: 96px 0; }
.listings-inner {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center;
}
.listings-media img { border-radius: 4px; box-shadow: 0 20px 50px -20px rgba(4,40,37,0.4); }
.listings-empty {
  background: var(--cream); border: 1px solid var(--sand-line); border-radius: 4px; padding: 36px 36px;
  margin-top: 8px;
}
.listings-empty p { margin-bottom: 24px; }

/* Contact */
.contact { background: var(--forest); color: var(--cream); padding: 90px 0; text-align: center; }
.contact h2 { color: var(--cream); }
.contact p { color: #cfe0dc; }

.contact-form {
  max-width: 560px; margin: 40px auto 0; text-align: left;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 20px; }
.field label {
  display: block; font-size: 0.82rem; letter-spacing: 0.05em; text-transform: uppercase;
  color: #cfe0dc; margin-bottom: 8px;
}
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border: 1px solid rgba(250,247,245,0.35);
  background: rgba(250,247,245,0.06); color: var(--cream); border-radius: 2px;
  font-family: var(--sans); font-size: 0.95rem; resize: vertical;
}
.field select { appearance: none; -webkit-appearance: none; }
.field select option { color: var(--ink); }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--cream);
}
.field input::placeholder, .field textarea::placeholder { color: #7fa19a; }
.contact-form .btn { width: 100%; }
.form-status { margin-top: 14px; font-size: 0.9rem; color: #cfe0dc; min-height: 1.4em; }
.contact-alt { margin-top: 28px; font-size: 0.92rem; }
.contact-alt a { border-bottom: 1px solid rgba(250,247,245,0.5); }
.contact-alt a:hover { border-color: var(--cream); }

/* Footer */
.site-footer { background: #031e1b; color: #cfe0dc; padding: 40px 0 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; padding-bottom: 28px; }
.footer-name { font-family: var(--serif); font-size: 1.15rem; color: var(--cream); margin-bottom: 6px; }
.footer-info a:hover { text-decoration: underline; }
.footer-brokerage { display: flex; align-items: center; gap: 10px; opacity: 0.9; }
.footer-brokerage strong { font-family: var(--serif); font-size: 1.1rem; font-weight: 600; color: var(--cream); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 18px 0; font-size: 0.82rem; text-align: center; color: #8fa8a3; }
.footer-bottom p { margin: 0; }

/* Responsive */
@media (max-width: 860px) {
  .nav { position: absolute; top: 76px; left: 0; right: 0; background: var(--cream); flex-direction: column; gap: 0; border-bottom: 1px solid var(--sand-line); max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
  .nav.open { max-height: 320px; }
  .nav a { padding: 16px 28px; border-top: 1px solid var(--sand-line); }
  .nav-toggle { display: block; }
  .header-phone { display: none; }
  .hero-inner, .about-inner, .listings-inner { grid-template-columns: 1fr; }
  .hero-media { order: -1; max-height: 380px; }
  .hero-media img { max-height: 380px; }
  .service-cards { grid-template-columns: 1fr; }
  .btn-ghost { margin-left: 0; margin-top: 12px; display: block; text-align: center; }
  .lg-only { display: none; }
  .style-strip { grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .listings-empty { padding: 36px 24px; }
}
