/* LJ Residential — site styles. Written for this site; no third-party CSS. */
:root {
  --ink: #16201c;
  --body: #3e4743;
  --muted: #5a6460;
  --accent: #2f4a3a;
  --accent-dark: #1e3328;
  --sand: #f4f1ea;
  --stone: #dcd6ca;
  --line: #e5e1d8;
  --white: #fff;
  --radius: 20px;
  --wrap: 1240px;
  --head: "Manrope", "Inter", system-ui, sans-serif;
  --text: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--text); color: var(--ink); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.12; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid #c58b2b; outline-offset: 2px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; font-family: var(--text); transition: background .15s, color .15s; }
.btn-solid { background: var(--accent); color: #fff; }
.btn-solid:hover { background: var(--accent-dark); color: #fff; }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--sand); color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }
.link-arrow { font-weight: 600; font-size: 15px; text-decoration: none; }
.link-arrow::after { content: " →"; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent); }
.nav .btn { min-height: 44px; padding: 0 22px; color: #fff; }
.nav-toggle { display: none; background: none; border: 1.5px solid var(--ink); border-radius: 999px; min-height: 44px; padding: 0 18px; font: 600 15px var(--text); color: var(--ink); cursor: pointer; }
@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 24px; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 16px; border-bottom: 0; }
}

/* sections */
.section { padding: 88px 0; }
.section-sand { background: var(--sand); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 40px; }
.section-head h2, .h2 { font-size: clamp(30px, 4vw, 42px); font-weight: 800; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.lede { font-size: 18px; color: var(--body); max-width: 640px; }
.prose p { font-size: 17px; color: var(--body); margin-bottom: 18px; }
.prose p:last-child { margin-bottom: 0; }
.highlights { padding-left: 20px; margin: 0 0 18px; color: var(--body); }
.highlights li { margin-bottom: 8px; }

/* hero */
.hero .wrap { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 48px; }
.hero-text { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero-text h1 { font-size: clamp(40px, 5.4vw, 60px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.04; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-photo { flex: 1 1 480px; min-width: 0; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 3.4; background: var(--stone); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

/* page banner (inner pages) */
.banner { background: var(--sand); padding: 72px 0 56px; }
.banner h1 { font-size: clamp(36px, 5vw, 54px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 16px; }

/* off-market panel */
.panel-dark { background: var(--ink); color: #fff; border-radius: 24px; padding: 44px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
.panel-dark .eyebrow { color: #b9c7be; }
.panel-dark h2 { font-size: 32px; font-weight: 700; margin-bottom: 10px; }
.panel-dark p { color: #d5dcd8; max-width: 620px; }
.panel-text { flex: 1 1 420px; min-width: 0; }

/* meet LJ */
.meet { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.meet-photo { border-radius: 24px; overflow: hidden; background: var(--stone); }
.meet-photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 4.4; }
.meet h2 { margin-bottom: 20px; }
.meet .prose { margin-bottom: 24px; }
@media (max-width: 860px) { .meet { grid-template-columns: 1fr; gap: 32px; } }
.quote-pull { font-family: var(--head); font-size: 22px; line-height: 1.45; color: var(--ink); border-top: 2px solid var(--accent); padding-top: 20px; margin: 28px 0; font-weight: 600; }

/* tiles */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.tile { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; background: #fff; }
.tile h3 { font-size: 20px; font-weight: 700; }
.tile p { font-size: 15px; color: var(--body); }
.tile svg { width: 32px; height: 32px; stroke: var(--accent); }
.tile a { margin-top: auto; }

/* services detail */
.service { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px; padding: 40px 0; border-top: 1px solid var(--line); }
.service:last-child { border-bottom: 1px solid var(--line); }
.service h2 { font-size: 26px; font-weight: 700; }
@media (max-width: 760px) { .service { grid-template-columns: 1fr; gap: 16px; } }

/* property cards */
.props { display: flex; flex-wrap: wrap; gap: 20px; }
.props-side { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.card { flex: 2 1 520px; min-width: 0; background: #fff; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; border: 1px solid var(--line); transition: transform .15s, box-shadow .15s; }
.card:hover { color: var(--ink); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(22,32,28,.08); }
.card-img { position: relative; background: var(--stone); aspect-ratio: 16 / 10; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.props-side .card-img { aspect-ratio: 16 / 8; }
.props > .card .card-img { flex: 1; aspect-ratio: auto; min-height: 300px; }
.badge { position: absolute; top: 16px; left: 16px; background: #fff; color: var(--ink); border-radius: 999px; padding: 6px 14px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.card-body { padding: 22px 24px; display: flex; flex-direction: column; gap: 4px; }
.card-price { font-family: var(--head); font-size: 22px; font-weight: 700; }
.card-meta { font-size: 14px; color: var(--muted); }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.grid-3 .card { flex: none; }

/* testimonials */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 20px; }
.quote { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 16px; background: #fff; }
.quote blockquote { margin: 0; font-size: 17px; line-height: 1.65; color: var(--ink); }
.quote figcaption { font-weight: 600; font-size: 14px; color: var(--accent); }
.quote details summary { cursor: pointer; font-weight: 600; font-size: 14px; color: var(--accent); list-style: none; }
.quote details summary::-webkit-details-marker { display: none; }
.quote details[open] summary { display: none; }
.quote:has(details[open]) .short { display: none; }

/* contact band */
.contact-band { background: var(--accent); color: #fff; padding: 88px 0; }
.contact-band .wrap { display: flex; flex-wrap: wrap; gap: 56px; }
.contact-info { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.contact-info h2 { font-size: clamp(32px, 4vw, 42px); font-weight: 800; }
.contact-info p { color: #d5dcd8; font-size: 17px; }
.contact-lines { display: flex; flex-direction: column; gap: 8px; font-size: 16px; }
.contact-lines a { color: #fff; }
.contact-lines span { color: #d5dcd8; }

/* forms */
.form-card { flex: 1.4 1 420px; min-width: 0; background: #fff; color: var(--ink); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.form-row { display: flex; flex-wrap: wrap; gap: 16px; }
.field { flex: 1 1 200px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.field input, .field textarea, .field select { min-height: 48px; border: 1px solid #c9c3b8; border-radius: 12px; padding: 0 14px; font: 16px var(--text); color: var(--ink); background: #fff; width: 100%; }
.field textarea { padding: 12px 14px; resize: vertical; min-height: 120px; }
.form-card > .field { flex: none; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12px; line-height: 1.5; color: var(--muted); font-weight: 400; }
.consent input { margin-top: 3px; width: 18px; height: 18px; flex: none; }
.hp { position: absolute; left: -5000px; }
.form-note { font-size: 14px; font-weight: 600; }
.form-note.ok { color: var(--accent); }
.form-note.err { color: #a12d2d; }

/* property detail */
.prop-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 28px; }
.prop-head h1 { font-size: clamp(32px, 4.5vw, 48px); font-weight: 800; }
.prop-facts { display: flex; flex-wrap: wrap; gap: 12px; }
.fact { background: var(--sand); border-radius: 14px; padding: 12px 18px; font-size: 14px; color: var(--body); }
.fact strong { display: block; font-family: var(--head); font-size: 20px; color: var(--ink); }
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; gap: 10px; border-radius: 24px; overflow: hidden; margin-bottom: 12px; }
.gallery button { padding: 0; border: 0; cursor: zoom-in; background: var(--stone); overflow: hidden; }
.gallery button:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .thumbs { grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 6px; } .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 140px 140px; } .gallery button:first-child { grid-column: span 2; grid-row: auto; } }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; margin-top: 8px; }
.thumbs button { padding: 0; border: 0; border-radius: 10px; overflow: hidden; cursor: zoom-in; aspect-ratio: 4/3; background: var(--stone); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.prop-layout { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 48px; margin-top: 48px; }
@media (max-width: 900px) { .prop-layout { grid-template-columns: 1fr; } }
.agent-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 14px; align-self: start; position: sticky; top: 100px; }
.agent-card img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; object-position: top; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; margin-top: 40px; }
.features h3 { font-size: 18px; margin-bottom: 12px; }
.features dl { margin: 0; }
.features dl > div { display: grid; grid-template-columns: 1fr 1.3fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.features dt { color: var(--muted); }
.features dd { margin: 0; color: var(--ink); }

/* lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(10,14,12,.92); display: none; align-items: center; justify-content: center; z-index: 200; padding: 56px 16px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 100%; max-width: 100%; border-radius: 12px; }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; border-radius: 999px; width: 48px; height: 48px; font-size: 22px; cursor: pointer; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* neighborhoods */
.nh-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 20px; }
.nh-card { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 3; display: block; color: #fff; text-decoration: none; background: var(--stone); }
.nh-card img { width: 100%; height: 100%; object-fit: cover; }
.nh-card span { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px; background: linear-gradient(transparent, rgba(0,0,0,.65)); font: 700 28px var(--head); }
.nh-card:hover { color: #fff; }
.nh-hero { border-radius: 24px; overflow: hidden; aspect-ratio: 21 / 9; margin-bottom: 48px; background: var(--stone); }
.nh-hero img { width: 100%; height: 100%; object-fit: cover; }

/* valuation */
.val-wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
@media (max-width: 860px) { .val-wrap { grid-template-columns: 1fr; } }
.val-wrap .form-card { border: 1px solid var(--line); }

/* legal */
.legal { max-width: 820px; }
.legal h2 { font-size: 24px; margin: 40px 0 12px; }
.legal p, .legal li { font-size: 16px; color: var(--body); margin-bottom: 12px; }
.legal ul { padding-left: 20px; }

/* footer */
.site-footer { background: var(--ink); color: #d5dcd8; padding: 72px 0 40px; font-size: 15px; }
.foot-top { display: flex; flex-wrap: wrap; gap: 48px; justify-content: space-between; margin-bottom: 48px; }
.foot-brand { flex: 1 1 300px; display: flex; flex-direction: column; gap: 16px; }
.foot-brand img { width: 220px; }
.foot-col { flex: 0 1 220px; display: flex; flex-direction: column; gap: 10px; }
.foot-col h3 { font: 600 13px var(--text); letter-spacing: .12em; text-transform: uppercase; color: #a9b4ae; margin-bottom: 4px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.news { flex: 1 1 340px; display: flex; flex-direction: column; gap: 12px; }
.news h3 { font: 700 22px var(--head); color: #fff; }
.news .row { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.news label { flex: 1 1 220px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.news input[type=email] { min-height: 48px; border: 1px solid #4a5650; background: #1f2b26; color: #fff; border-radius: 999px; padding: 0 18px; font: 15px var(--text); }
.news .consent { color: #a9b4ae; flex-direction: row; flex: none; font-size: 12px; }
.news .consent a { color: #d5dcd8; text-decoration: underline; }
.foot-bottom { border-top: 1px solid #33403a; padding-top: 24px; display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; font-size: 13px; color: #a9b4ae; }
.foot-bottom img { height: 40px; width: auto; }
.foot-legal { display: flex; flex-wrap: wrap; gap: 16px; }

/* simple landing pages (QR / contact capture) */
.landing { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.landing-photo { background: var(--stone); }
.landing-photo img { width: 100%; height: 100%; object-fit: cover; }
.landing-body { padding: 56px 40px; display: flex; flex-direction: column; justify-content: center; gap: 24px; max-width: 620px; }
@media (max-width: 860px) { .landing { grid-template-columns: 1fr; } .landing-photo { height: 280px; } }
