/* ============================================================
   Estate Bid Finder — warm-amber & charcoal editorial system
   ============================================================ */

:root {
  /* Charcoal & paper */
  --ink: #1c1815;
  --ink-soft: #3a342d;
  --ink-mid: #5a5147;
  --ink-muted: #837868;
  --paper: #faf6ed;
  --paper-2: #f4ecd9;
  --bone: #efe5cc;
  --bone-2: #e7d9b6;
  --line: #d8c8a3;
  --line-soft: #ece2c8;

  /* Warm amber accents */
  --amber: #c1801c;          /* primary brand amber */
  --amber-deep: #8a4f0e;     /* hover, text on light */
  --amber-soft: #e8c578;
  --amber-glow: #f6e3b3;
  --ember: #a83a14;          /* live / hot accent */
  --ember-soft: #d6633a;

  --shadow-sm: 0 1px 2px rgba(28, 24, 21, .06);
  --shadow: 0 1px 2px rgba(28, 24, 21, .07), 0 14px 38px rgba(28, 24, 21, .08);
  --shadow-lg: 0 24px 60px rgba(28, 24, 21, .14);
  --radius: 4px;
  --radius-lg: 10px;
  --maxw: 1200px;

  --serif: "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif;
  --display: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", "Helvetica Neue", system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  --mono: "SF Mono", "JetBrains Mono", "Menlo", monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--amber-deep); text-decoration: none; transition: color .12s; }
a:hover { color: var(--ember); text-decoration: underline; text-underline-offset: 3px; }

h1, h2, h3, h4, h5 {
  font-family: var(--display);
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 .5em;
  line-height: 1.12;
  letter-spacing: -.012em;
}
h1 { font-size: clamp(2.1rem, 3.6vw, 3rem); font-weight: 600; }
h2 { font-size: clamp(1.6rem, 2.4vw, 2.05rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.05rem; font-family: var(--sans); font-weight: 700; letter-spacing: .02em; }

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

/* ---------- Top bar / nav ---------- */
.topbar { background: var(--ink); color: var(--paper); font-size: .8rem; letter-spacing: .02em; }
.topbar .wrap { display: flex; gap: 22px; padding: 9px 28px; align-items: center; flex-wrap: wrap; }
.topbar a { color: var(--paper); opacity: .78; }
.topbar a:hover { opacity: 1; color: var(--amber-soft); text-decoration: none; }
.topbar .pill { background: var(--amber); color: var(--ink); padding: 2px 11px; border-radius: 999px; font-weight: 700; font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; }
.topbar .sep { opacity: .35; }

.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; backdrop-filter: saturate(140%) blur(6px); background: rgba(250, 246, 237, .94); }
.site-header .wrap { display: flex; align-items: center; gap: 30px; padding: 16px 28px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 14px; font-family: var(--display); font-size: 1.55rem; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.brand .mark { width: 42px; height: 42px; border-radius: 6px; background: linear-gradient(135deg, var(--ink) 0%, var(--ink-soft) 100%); color: var(--amber-soft); display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 1.4rem; box-shadow: inset 0 0 0 1px rgba(232,197,120,.25); letter-spacing: -.04em; }
.brand .mark span { transform: translateY(-1px); }
.brand-text { line-height: 1; }
.brand-text small { display: block; font-family: var(--sans); font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-muted); margin-top: 5px; font-weight: 600; }
nav.primary { display: flex; gap: 26px; flex-wrap: wrap; flex: 1; }
nav.primary a { color: var(--ink-soft); font-weight: 500; font-size: .94rem; padding: 4px 0; border-bottom: 2px solid transparent; }
nav.primary a:hover { color: var(--ink); border-bottom-color: var(--amber); text-decoration: none; }

.btn { display: inline-block; padding: 11px 20px; border-radius: var(--radius); font-weight: 600; font-size: .92rem; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: all .15s; letter-spacing: .01em; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--amber-deep); box-shadow: var(--shadow); }
.btn-amber { background: var(--amber); color: var(--ink); font-weight: 700; }
.btn-amber:hover { background: var(--amber-deep); color: var(--paper); box-shadow: var(--shadow); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-block { display: block; width: 100%; text-align: center; }
.btn-lg { padding: 14px 26px; font-size: 1rem; }

/* ---------- Hero (editorial) ---------- */
.hero { position: relative; background: var(--ink); color: var(--paper); overflow: hidden; }
.hero-img { position: absolute; inset: 0; opacity: .35; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; filter: sepia(.25) contrast(1.05); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28,24,21,.55) 0%, rgba(28,24,21,.92) 100%); }
.hero .wrap { position: relative; z-index: 2; padding: 92px 28px 84px; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--amber-soft); font-size: .76rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; margin-bottom: 18px; }
.hero-eyebrow::before, .hero-eyebrow::after { content: ""; width: 28px; height: 1px; background: var(--amber-soft); opacity: .6; }
.hero h1 { color: var(--paper); font-size: clamp(2.4rem, 5vw, 4rem); max-width: 880px; margin: 0 0 18px; font-weight: 600; letter-spacing: -.018em; line-height: 1.05; }
.hero h1 em { font-style: italic; color: var(--amber-soft); font-weight: 500; }
.hero p.lede { font-size: 1.18rem; max-width: 680px; margin: 0 0 32px; opacity: .9; line-height: 1.55; font-family: var(--display); font-weight: 400; }
.hero .center-block { text-align: center; }
.hero .center-block h1, .hero .center-block p.lede { margin-left: auto; margin-right: auto; }
.hero-search { background: var(--paper); color: var(--ink); border-radius: var(--radius-lg); padding: 18px; max-width: 820px; margin: 0; box-shadow: var(--shadow-lg); display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; text-align: left; border: 1px solid var(--bone-2); }
.hero-search label { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-muted); margin-bottom: 5px; font-weight: 700; }
.hero-search select, .hero-search input { width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: var(--radius); font: inherit; background: white; color: var(--ink); }
.hero-search select:focus, .hero-search input:focus { outline: 2px solid var(--amber); outline-offset: 1px; }
.hero-search button { align-self: end; padding: 11px 22px; }
@media (max-width: 760px) { .hero-search { grid-template-columns: 1fr; } .hero .wrap { padding: 64px 28px 56px; } }

.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 34px; max-width: 820px; }
.hero-stats .stat { color: var(--paper); }
.hero-stats .stat strong { display: block; font-family: var(--display); font-size: 1.85rem; color: var(--amber-soft); font-weight: 600; }
.hero-stats .stat small { font-size: .76rem; opacity: .8; letter-spacing: .04em; }
@media (max-width: 700px) { .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 16px; } }

/* ---------- Sections ---------- */
section { padding: 72px 0; }
section.tight { padding: 44px 0; }
section.cream { background: var(--paper-2); }
section.bone { background: var(--bone); }
section.dark { background: var(--ink); color: var(--paper); }
section.dark h2, section.dark h3 { color: var(--paper); }
section.dark a { color: var(--amber-soft); }

.section-eyebrow { font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--amber-deep); font-weight: 700; margin-bottom: 8px; display: inline-flex; align-items: center; gap: 10px; }
.section-eyebrow::before { content: "§"; font-family: var(--display); font-size: 1.1rem; color: var(--amber); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 22px; margin-bottom: 32px; flex-wrap: wrap; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.section-head h2 { margin-bottom: 0; }
.section-head a { font-weight: 600; font-size: .92rem; color: var(--amber-deep); }

/* ---------- Cards / grid ---------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }

.card { background: white; border: 1px solid var(--line-soft); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s, border-color .15s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line); }
.card .thumb { aspect-ratio: 16/10; background: linear-gradient(135deg, var(--bone) 0%, var(--bone-2) 100%); position: relative; overflow: hidden; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; filter: sepia(.08); }
.card .thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(28,24,21,.18) 100%); pointer-events: none; }
.card .body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.card .meta-row { font-size: .78rem; color: var(--ink-muted); display: flex; gap: 10px; align-items: center; letter-spacing: .04em; text-transform: uppercase; font-weight: 600; }
.card h3 { font-size: 1.22rem; margin: 4px 0 4px; font-weight: 600; line-height: 1.25; }
.card h3 a { color: var(--ink); }
.card h3 a:hover { color: var(--amber-deep); text-decoration: none; }
.card .cats { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.card .cats span { background: var(--bone); color: var(--ink-soft); font-size: .7rem; padding: 3px 10px; border-radius: 999px; letter-spacing: .03em; font-weight: 500; }
.card .foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); font-size: .8rem; color: var(--ink-muted); }

.badge { display: inline-block; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; background: var(--bone); color: var(--ink-soft); font-weight: 700; }
.badge.is-live { background: var(--ember); color: white; }
.badge.is-soon { background: var(--amber); color: var(--ink); }
.badge.is-completed { background: #d8d2c4; color: var(--ink-muted); }
.badge.is-upcoming { background: var(--ink); color: var(--amber-soft); }
.badge.is-amber { background: var(--amber-soft); color: var(--ink); }

/* ---------- Tile grid ---------- */
.tile-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 820px) { .tile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tile { display: block; background: white; border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 16px 18px; color: var(--ink); transition: all .15s; border-left: 3px solid var(--bone-2); }
.tile:hover { background: var(--paper); border-left-color: var(--amber); transform: translateX(2px); text-decoration: none; box-shadow: var(--shadow-sm); }
.tile strong { display: block; font-family: var(--display); font-size: 1.18rem; color: var(--ink); font-weight: 600; }
.tile span { font-size: .8rem; color: var(--ink-muted); display: block; margin-top: 2px; }

/* ---------- Hub cards (richer category-hub) ---------- */
.hub-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 980px) { .hub-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .hub-grid { grid-template-columns: 1fr; } }
.hub-card { background: white; border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: 26px 26px 22px; display: block; color: var(--ink); transition: all .18s; position: relative; overflow: hidden; }
.hub-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--amber); transform: scaleY(0); transform-origin: top; transition: transform .2s; }
.hub-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); text-decoration: none; }
.hub-card:hover::before { transform: scaleY(1); }
.hub-card .num { font-family: var(--display); font-size: .82rem; color: var(--amber-deep); font-weight: 600; letter-spacing: .12em; }
.hub-card h3 { font-size: 1.55rem; margin: 6px 0 8px; color: var(--ink); }
.hub-card p { color: var(--ink-mid); font-size: .94rem; line-height: 1.55; margin: 0 0 14px; }
.hub-card .arrow { color: var(--amber-deep); font-weight: 600; font-size: .88rem; letter-spacing: .04em; }

/* ---------- Lead form ---------- */
.lead-card { background: linear-gradient(170deg, #fbf3df 0%, #f4e4b6 100%); border: 1px solid var(--amber-soft); border-radius: var(--radius-lg); padding: 28px 26px; box-shadow: var(--shadow-sm); }
.lead-card .eyebrow { color: var(--ember); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .72rem; margin-bottom: 6px; }
.lead-card h3 { font-size: 1.5rem; margin: 0 0 8px; color: var(--ink); line-height: 1.2; }
.lead-card p { color: var(--ink-soft); margin: 0 0 16px; font-size: .94rem; }
.lead-form .row { display: grid; gap: 10px; margin-bottom: 11px; }
.lead-form input, .lead-form textarea, .lead-form select { width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: var(--radius); font: inherit; background: white; color: var(--ink); }
.lead-form input:focus, .lead-form textarea:focus { outline: 2px solid var(--amber); outline-offset: 1px; border-color: var(--amber); }
.lead-form textarea { min-height: 80px; resize: vertical; }
.lead-form .trust { font-size: .74rem; color: var(--ink-mid); margin-top: 10px; display: flex; align-items: center; gap: 6px; }

/* ---------- Sponsored / ad slots ---------- */
.ad-slot { background: repeating-linear-gradient(45deg, #f5ecd1, #f5ecd1 8px, #ede1bf 8px, #ede1bf 16px); border: 1px dashed var(--amber-soft); color: var(--ink-mid); border-radius: var(--radius); text-align: center; padding: 18px 12px; margin: 28px 0; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
.ad-slot small { display: block; font-size: .68rem; opacity: .8; font-weight: 400; letter-spacing: 0; text-transform: none; margin-top: 4px; }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--paper-2); padding: 32px 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.trust-strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; text-align: center; }
@media (max-width: 820px) { .trust-strip .wrap { grid-template-columns: repeat(2, 1fr); } }
.trust-strip .seal { font-size: 1.85rem; font-family: var(--display); color: var(--ink); font-weight: 600; }
.trust-strip .seal small { display: block; font-size: .7rem; color: var(--ink-muted); letter-spacing: .14em; text-transform: uppercase; font-weight: 600; margin-top: 4px; }

/* ---------- Testimonials ---------- */
.quote-card { background: white; border-left: 3px solid var(--amber); border-radius: 0 var(--radius) var(--radius) 0; padding: 24px 26px 20px; box-shadow: var(--shadow-sm); }
.quote-card p.q { font-family: var(--display); font-size: 1.22rem; line-height: 1.45; margin: 0 0 14px; color: var(--ink); font-weight: 500; }
.quote-card p.q::before { content: "“"; font-size: 2.4rem; color: var(--amber); line-height: 0; vertical-align: -.4em; margin-right: 4px; font-family: var(--display); }
.quote-card .who { font-size: .82rem; color: var(--ink-muted); }
.quote-card .who strong { color: var(--ink); display: block; font-size: .9rem; }

/* ---------- Detail page layout ---------- */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 44px; align-items: start; }
@media (max-width: 980px) { .layout { grid-template-columns: 1fr; } }
.crumbs { font-size: .8rem; color: var(--ink-muted); margin-bottom: 16px; letter-spacing: .03em; }
.crumbs a { color: var(--ink-mid); }
.crumbs a:hover { color: var(--amber-deep); }
.crumbs span { margin: 0 7px; opacity: .5; }
.detail-hero { background: white; border: 1px solid var(--line-soft); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 32px; }
.detail-hero img { aspect-ratio: 16/8; object-fit: cover; filter: sepia(.08); }
.detail-hero .pad { padding: 24px 28px 28px; }
.detail-meta { display: flex; gap: 20px; font-size: .9rem; color: var(--ink-mid); flex-wrap: wrap; margin-top: 10px; }
.detail-meta strong { color: var(--ink); }
.kv { display: grid; grid-template-columns: 170px 1fr; gap: 9px 22px; font-size: .94rem; margin: 22px 0; padding: 18px 22px; background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius); }
.kv dt { color: var(--ink-muted); font-weight: 600; font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; }
.kv dd { margin: 0; color: var(--ink); }
.tag { display: inline-block; padding: 4px 12px; background: var(--bone); color: var(--ink); border-radius: 999px; font-size: .8rem; margin: 0 5px 5px 0; font-weight: 500; }
.tag:hover { background: var(--amber); color: var(--ink); text-decoration: none; }
.item-list { columns: 2; column-gap: 32px; padding-left: 20px; }
@media (max-width: 620px) { .item-list { columns: 1; } }
.item-list li { break-inside: avoid; margin-bottom: 7px; color: var(--ink-soft); }

/* ---------- Pagination ---------- */
.pagination { display: flex; gap: 6px; justify-content: center; align-items: center; margin: 36px 0 0; flex-wrap: wrap; }
.pagination a, .pagination span { padding: 8px 13px; border: 1px solid var(--line-soft); border-radius: var(--radius); background: white; color: var(--ink-soft); font-size: .88rem; font-weight: 500; }
.pagination .current { background: var(--ink); color: var(--paper); border-color: var(--ink); font-weight: 600; }
.pagination a:hover { background: var(--bone); border-color: var(--line); text-decoration: none; }

/* ---------- Recommended Reading (PBN block) ---------- */
.recommended { background: var(--paper-2); padding: 56px 0 44px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.recommended .head { text-align: center; max-width: 640px; margin: 0 auto 36px; }
.recommended .head .section-eyebrow { color: var(--amber-deep); }
.recommended .head h2 { font-size: 1.75rem; margin: 6px 0 8px; }
.recommended .head p { color: var(--ink-mid); font-size: .98rem; }
.rec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .rec-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .rec-grid { grid-template-columns: 1fr; } }

@media (max-width: 760px) {
  .topbar .wrap { gap: 10px; padding: 8px 18px; font-size: .72rem; }
  .topbar .sep, .topbar a[href="/sell-your-estate"] { display: none; }
  .topbar .wrap > span:last-child { margin-left: auto; opacity: .65; font-size: .68rem; }
  .site-header .wrap { padding: 12px 18px; gap: 12px; flex-wrap: nowrap; justify-content: space-between; }
  .brand { font-size: 1.15rem; gap: 10px; flex-shrink: 1; min-width: 0; }
  .brand .mark { width: 36px; height: 36px; font-size: 1.05rem; flex-shrink: 0; }
  .brand-text small { font-size: .55rem; letter-spacing: .18em; margin-top: 3px; }
  .site-header nav.primary { display: none; }
  .site-header .btn-amber { padding: 9px 14px; font-size: .82rem; flex-shrink: 0; white-space: nowrap; }
}
@media (max-width: 760px) {
  .mobile-nav { display: flex; gap: 4px; overflow-x: auto; padding: 8px 18px; background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 60px; z-index: 49; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .mobile-nav::-webkit-scrollbar { display: none; }
  .mobile-nav a { font-family: var(--sans); font-size: .78rem; font-weight: 600; color: var(--ink-muted); padding: 6px 12px; border-radius: 999px; white-space: nowrap; text-decoration: none; border: 1px solid var(--line); }
  .mobile-nav a:hover, .mobile-nav a.active { color: var(--ink); background: var(--paper-warm); border-color: var(--amber); }
}
.mobile-nav { display: none; }
.rec-card { background: white; border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 18px 20px; transition: all .15s; display: block; color: var(--ink); }
.rec-card:hover { border-color: var(--amber); transform: translateY(-2px); box-shadow: var(--shadow-sm); text-decoration: none; }
.rec-card .pub { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--amber-deep); font-weight: 700; margin-bottom: 6px; }
.rec-card h4 { font-family: var(--display); font-size: 1.08rem; line-height: 1.3; margin: 0 0 6px; color: var(--ink); font-weight: 600; }
.rec-card p { margin: 0; font-size: .85rem; color: var(--ink-mid); line-height: 1.45; }

/* ---------- Footer ---------- */
footer.site { background: var(--ink); color: var(--paper); padding: 60px 0 26px; margin-top: 0; }
footer.site a { color: var(--paper); opacity: .78; }
footer.site a:hover { opacity: 1; color: var(--amber-soft); }
footer.site .grid-foot { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 36px; }
@media (max-width: 820px) { footer.site .grid-foot { grid-template-columns: 1fr 1fr; } }
footer.site h4 { color: var(--amber-soft); font-family: var(--sans); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 14px; }
footer.site ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; font-size: .92rem; }
footer.site .legal { border-top: 1px solid rgba(232,197,120,.15); padding-top: 18px; font-size: .8rem; opacity: .65; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
footer.site .brand { color: var(--paper); }
footer.site .brand .mark { background: linear-gradient(135deg, var(--amber-deep) 0%, var(--amber) 100%); color: var(--ink); }

/* ---------- Prose / long-form ---------- */
.prose { max-width: 740px; }
.prose p, .prose li { font-size: 1.04rem; line-height: 1.75; color: var(--ink-soft); }
.prose p { margin: 0 0 1.15em; }
.prose h2 { margin-top: 1.7em; padding-top: 0; font-size: 1.65rem; color: var(--ink); }
.prose h2::before { content: ""; display: block; width: 36px; height: 2px; background: var(--amber); margin-bottom: 14px; }
.prose h3 { margin-top: 1.4em; font-size: 1.2rem; color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose blockquote { border-left: 3px solid var(--amber); padding: 4px 0 4px 22px; margin: 1.2em 0; font-family: var(--display); font-size: 1.18rem; color: var(--ink); font-style: italic; }
.prose strong { color: var(--ink); font-weight: 700; }
.prose a { color: var(--amber-deep); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--amber-soft); }
.prose a:hover { color: var(--ember); text-decoration-color: var(--ember); }

/* Editorial drop-cap on category/hub intros */
.prose.lede-cap > p:first-of-type::first-letter { font-family: var(--display); font-size: 3.6rem; font-weight: 600; float: left; line-height: .9; padding: 6px 12px 0 0; color: var(--amber-deep); }

/* ---------- Misc ---------- */
.muted { color: var(--ink-muted); }
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 36px; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; } .mb-4 { margin-bottom: 36px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }
.divider-rule { display: flex; align-items: center; gap: 16px; margin: 40px 0; color: var(--ink-muted); font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; }
.divider-rule::before, .divider-rule::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---------- Hub / item-type intro hero ---------- */
.topic-hero { background: linear-gradient(180deg, var(--paper-2) 0%, var(--paper) 100%); padding: 56px 0 40px; border-bottom: 1px solid var(--line-soft); }
.topic-hero .crumbs { margin-bottom: 18px; }
.topic-hero .topic-eyebrow { color: var(--amber-deep); font-size: .76rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; margin-bottom: 10px; }
.topic-hero h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); margin-bottom: 14px; }
.topic-hero h1 em { font-style: italic; color: var(--amber-deep); font-weight: 500; }
.topic-hero .lede { font-family: var(--display); font-size: 1.25rem; color: var(--ink-soft); max-width: 740px; line-height: 1.5; }
.topic-hero .meta-row { margin-top: 16px; display: flex; gap: 18px; flex-wrap: wrap; font-size: .85rem; color: var(--ink-muted); }
.topic-hero .meta-row strong { color: var(--ink); font-weight: 600; }

/* ---------- Inline link list inside content ---------- */
.cross-links { background: var(--paper); border: 1px solid var(--line-soft); border-left: 3px solid var(--amber); padding: 18px 22px; margin: 28px 0; border-radius: 0 var(--radius) var(--radius) 0; }
.cross-links h4 { font-family: var(--sans); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--amber-deep); margin: 0 0 10px; }
.cross-links ul { margin: 0; padding-left: 18px; }
.cross-links li { margin-bottom: 4px; font-size: .94rem; }

/* ---------- Companies list ---------- */
.company-row { display: grid; grid-template-columns: 1fr auto; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line-soft); align-items: center; }
.company-row h3 { margin: 0 0 4px; font-size: 1.2rem; }
.company-row .meta { font-size: .85rem; color: var(--ink-muted); }
.company-row .count { color: var(--amber-deep); font-weight: 700; font-size: .85rem; }
