/* ---------- Theme 2: "Magazine Feature" — editorial, narrative, asymmetric ---------- */
:root {
  --cream: #f7f2ea;
  --paper: #fffdf9;
  --ink: #201b14;
  --forest: #2f3b2f;
  --clay: #b4693e;
  --clay-dark: #8f4f2c;
  --line: #e2d7c3;
  --gray-700: #5c5648;
  --gray-500: #8a8271;
  --serif: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .07em; border: 1px solid var(--ink); cursor: pointer; transition: all .2s ease; background: transparent; color: var(--ink); }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--clay); border-color: var(--clay); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-clay { background: var(--clay); color: #fff; border-color: var(--clay); }
.btn-clay:hover { background: var(--clay-dark); }

/* ---------- Nav ---------- */
.mag-nav { position: sticky; top: 0; z-index: 50; background: rgba(247,242,234,.94); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.mag-nav .wrap { display: flex; align-items: center; justify-content: space-between; padding: 22px 32px; }
.mag-logo { font-family: var(--serif); font-size: 22px; letter-spacing: .01em; }
.mag-links { display: flex; align-items: center; gap: 30px; font-size: 12.5px; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.mag-links a:hover { color: var(--clay-dark); }
.mag-links a.active { color: var(--clay-dark); border-bottom: 1.5px solid var(--clay); padding-bottom: 4px; }
.mag-phone { font-family: var(--serif); font-size: 15px; }

/* ---------- Hero (full bleed, text bottom-left) ---------- */
.mag-hero { position: relative; height: 92vh; min-height: 560px; display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.mag-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mag-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,10,7,.1) 0%, rgba(12,10,7,.45) 40%, rgba(12,10,7,.94) 78%, rgba(12,10,7,.96) 100%); }
.mag-hero-content { position: relative; z-index: 2; padding: 0 32px 64px; max-width: 1180px; margin: 0 auto; width: 100%; }
.mag-issue { font-family: var(--sans); font-size: 11.5px; text-transform: uppercase; letter-spacing: .2em; color: #e8d9bd; margin-bottom: 18px; }
.mag-hero h1 { font-family: var(--serif); font-weight: 400; font-size: 76px; line-height: 1.02; margin: 0 0 20px; max-width: 820px; }
.mag-hero p { font-size: 18px; max-width: 460px; color: #ecdfc9; line-height: 1.55; margin: 0 0 28px; }

/* ---------- Spotlight (asymmetric two-col feature) ---------- */
.spotlight { padding: 90px 0; border-bottom: 1px solid var(--line); }
.spotlight .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.spotlight-media { position: relative; }
.spotlight-media img { width: 100%; height: 560px; object-fit: cover; }
.spotlight-media .stamp { position: absolute; top: 24px; left: -18px; background: var(--ink); color: var(--paper); padding: 10px 20px; font-family: var(--sans); font-size: 11.5px; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.spotlight-copy .eyebrow { font-family: var(--sans); text-transform: uppercase; letter-spacing: .18em; font-size: 11.5px; font-weight: 700; color: var(--clay-dark); }
.spotlight-copy h2 { font-family: var(--serif); font-weight: 400; font-size: 42px; margin: 16px 0 6px; line-height: 1.1; }
.spotlight-copy .addr { font-size: 15.5px; color: var(--gray-700); margin-bottom: 22px; }
.spotlight-price { font-family: var(--serif); font-size: 34px; margin-bottom: 22px; }
.spotlight-specs { display: flex; gap: 26px; margin-bottom: 26px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.spotlight-specs div strong { display: block; font-family: var(--serif); font-size: 22px; }
.spotlight-specs div span { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--gray-500); }
.spotlight-copy p.desc { font-size: 15px; line-height: 1.75; color: var(--gray-700); margin-bottom: 28px; }
.spotlight-cta { display: flex; gap: 12px; }

/* ---------- Filmstrip (horizontal scroll) ---------- */
.filmstrip-section { padding: 90px 0; border-bottom: 1px solid var(--line); background: var(--cream); }
.filmstrip-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 34px; }
.filmstrip-head .eyebrow { font-family: var(--sans); text-transform: uppercase; letter-spacing: .18em; font-size: 11.5px; font-weight: 700; color: var(--clay-dark); }
.filmstrip-head h2 { font-family: var(--serif); font-weight: 400; font-size: 36px; margin: 12px 0 0; }
.film-arrows { display: flex; gap: 8px; }
.film-arrows button { width: 42px; height: 42px; border: 1px solid var(--ink); background: transparent; font-size: 16px; cursor: pointer; }
.film-arrows button:hover { background: var(--ink); color: var(--paper); }
.filmstrip { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; margin: 0 -32px; padding-left: 32px; padding-right: 32px; scrollbar-width: thin; }
.film-card { flex: 0 0 340px; scroll-snap-align: start; background: var(--paper); border: 1px solid var(--line); }
.film-card img { width: 100%; height: 230px; object-fit: cover; }
.film-card .fc-body { padding: 18px 20px 22px; }
.film-card .fc-price { font-family: var(--serif); font-size: 22px; }
.film-card .fc-specs { font-size: 12.5px; color: var(--gray-700); margin: 6px 0 8px; letter-spacing: .02em; }
.film-card .fc-addr { font-size: 13.5px; color: var(--gray-700); }
.film-card .fc-tag { display: inline-block; font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--clay-dark); margin-bottom: 8px; }

/* ---------- Search band ---------- */
.search-band { padding: 76px 0; text-align: center; border-bottom: 1px solid var(--line); }
.search-band .eyebrow { font-family: var(--sans); text-transform: uppercase; letter-spacing: .18em; font-size: 11.5px; font-weight: 700; color: var(--clay-dark); }
.search-band h2 { font-family: var(--serif); font-weight: 400; font-size: 38px; margin: 14px 0 30px; }
.search-band form { display: flex; max-width: 640px; margin: 0 auto 24px; border: 1px solid var(--ink); }
.search-band input { flex: 1; border: none; padding: 18px 20px; font-size: 15px; font-family: var(--sans); background: transparent; }
.search-band input:focus { outline: none; }
.search-band button { border: none; border-left: 1px solid var(--ink); background: var(--ink); color: var(--paper); padding: 18px 30px; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; cursor: pointer; }
.city-chips { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.city-chips span { font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--gray-500); padding: 8px 4px; }

/* ---------- Story split (alternating rows) ---------- */
.story-row { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 70px 0; border-bottom: 1px solid var(--line); }
.story-row.reverse .story-media { order: 2; }
.story-media img { width: 100%; height: 420px; object-fit: cover; }
.story-copy .num { font-family: var(--serif); font-size: 60px; color: var(--line); line-height: 1; margin-bottom: 6px; }
.story-copy h3 { font-family: var(--serif); font-weight: 400; font-size: 30px; margin: 0 0 16px; }
.story-copy p { font-size: 15.5px; color: var(--gray-700); line-height: 1.75; max-width: 440px; }

/* ---------- Pull quote ---------- */
.quote-block { padding: 100px 0; text-align: center; background: var(--ink); color: var(--cream); }
.quote-block blockquote { font-family: var(--serif); font-size: 36px; line-height: 1.3; max-width: 780px; margin: 0 auto 28px; font-style: italic; }
.quote-block cite { font-family: var(--sans); font-style: normal; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: #cbbfa0; }

/* ---------- Sell band ---------- */
.sell-band { padding: 80px 0; border-bottom: 1px solid var(--line); }
.sell-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.sell-band .eyebrow { font-family: var(--sans); text-transform: uppercase; letter-spacing: .18em; font-size: 11.5px; font-weight: 700; color: var(--clay-dark); }
.sell-band h2 { font-family: var(--serif); font-weight: 400; font-size: 32px; margin: 12px 0 0; max-width: 480px; }
.sell-band form { display: flex; gap: 0; border: 1px solid var(--ink); flex: 0 0 auto; }
.sell-band form input { border: none; padding: 16px 18px; font-size: 14.5px; width: 180px; font-family: var(--sans); }
.sell-band form input:focus { outline: none; }
.sell-band form button { border: none; border-left: 1px solid var(--ink); background: var(--ink); color: var(--paper); padding: 16px 24px; font-weight: 700; font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; cursor: pointer; }

/* ---------- Footer ---------- */
.mag-footer { padding: 40px 0; }
.mag-footer .wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-size: 13px; color: var(--gray-700); }
.mag-footer .f-links { display: flex; gap: 24px; }
.mag-footer .f-links a:hover { color: var(--clay-dark); }

/* ---------- Property detail (magazine feature article) ---------- */
.article-hero { position: relative; height: 70vh; min-height: 460px; color: #fff; display: flex; align-items: flex-end; overflow: hidden; }
.article-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.article-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,10,7,.05) 0%, rgba(12,10,7,.4) 45%, rgba(12,10,7,.92) 82%, rgba(12,10,7,.94) 100%); }
.article-hero-content { position: relative; z-index: 2; padding: 0 32px 56px; max-width: 1180px; margin: 0 auto; width: 100%; }
.article-hero .tag { display: inline-block; background: var(--clay); padding: 7px 16px; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; margin-bottom: 18px; }
.article-hero h1 { font-family: var(--serif); font-weight: 400; font-size: 48px; margin: 0 0 10px; }
.article-hero .price-row { display: flex; gap: 22px; align-items: baseline; font-family: var(--serif); font-size: 22px; }

.article-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 60px; padding: 70px 0; }
.article-body p.lede { font-family: var(--serif); font-size: 21px; line-height: 1.6; color: var(--ink); margin-bottom: 30px; }
.article-body p { font-size: 15.5px; line-height: 1.8; color: var(--gray-700); margin-bottom: 22px; }
.article-body blockquote { font-family: var(--serif); font-style: italic; font-size: 24px; line-height: 1.5; border-left: 3px solid var(--clay); padding-left: 24px; margin: 36px 0; color: var(--ink); }
.article-strip { display: flex; gap: 14px; overflow-x: auto; margin: 36px 0; }
.article-strip img { width: 220px; height: 150px; object-fit: cover; flex: 0 0 auto; }
.stat-row { display: flex; gap: 0; margin: 36px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat-row div { flex: 1; padding: 20px 10px 20px 0; border-right: 1px solid var(--line); }
.stat-row div:last-child { border-right: none; }
.stat-row div strong { display: block; font-family: var(--serif); font-size: 26px; }
.stat-row div span { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--gray-500); }
.article-facts { margin-top: 8px; }
.article-facts h3 { font-family: var(--serif); font-weight: 400; font-size: 22px; margin-bottom: 16px; }
.article-facts dl { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; }
.article-facts dl div { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.article-facts dl b { color: var(--ink); }
.article-facts dl span { color: var(--gray-500); }

.article-agent { position: sticky; top: 110px; border-top: 3px solid var(--ink); padding-top: 22px; }
.article-agent .agent-name { font-family: var(--serif); font-size: 19px; margin-bottom: 4px; }
.article-agent .agent-role { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--gray-500); margin-bottom: 22px; }
.article-agent input, .article-agent textarea { width: 100%; border: none; border-bottom: 1px solid var(--gray-500); background: transparent; padding: 12px 2px; font-family: var(--sans); font-size: 14.5px; margin-bottom: 16px; }
.article-agent input:focus, .article-agent textarea:focus { outline: none; border-color: var(--ink); }
.article-agent textarea { resize: vertical; min-height: 80px; }
.article-agent .disclaimer { font-size: 11px; color: var(--gray-500); margin-top: 14px; line-height: 1.6; }

.more-homes { padding: 70px 0; border-top: 1px solid var(--line); background: var(--cream); }

@media (max-width: 980px) {
  .spotlight .wrap { grid-template-columns: 1fr; }
  .spotlight-media img { height: 380px; }
  .story-row { grid-template-columns: 1fr; }
  .story-row.reverse .story-media { order: 0; }
  .article-layout { grid-template-columns: 1fr; }
  .article-agent { position: static; margin-top: 30px; }
  .mag-hero h1 { font-size: 48px; }
  .article-hero h1 { font-size: 34px; }
  .sell-band .wrap { flex-direction: column; align-items: flex-start; }
  .sell-band form { flex-wrap: wrap; }
  .stat-row { flex-wrap: wrap; }
  .stat-row div { flex: 0 0 50%; border-bottom: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .mag-links { display: none; }
  .mag-hero h1 { font-size: 36px; }
  .film-card { flex: 0 0 280px; }
  .search-band form { flex-direction: column; border: none; gap: 10px; }
  .search-band input, .search-band form button { border: 1px solid var(--ink); }
}

/* ---------- Rentals additions ---------- */
.mo { font-family: var(--sans); font-size: 13px; color: var(--gray-500); }
.avail-line { font-size: 12.5px; color: var(--gray-700); margin-top: 6px; }
.rent-hero { height: 52vh; min-height: 380px; }
.rent-hero h1 { font-size: 52px; }
.rent-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 980px) { .rent-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .rent-grid { grid-template-columns: 1fr; } }
