/* cities/assets/cluster.css — shared stylesheet for all programmatic city
   pages. Uses the same design tokens as the live flat pages (about.php etc.)
   so the cluster reads as native fifsee.com. */

:root {
  --cream:     #f5f1ea;
  --cream-d:   #ede7dc;
  --navy:      #1a1a2e;
  --orange:    #c8622a;
  --orange-h:  #b35524;
  --green:     #3a7849;
  --muted:     #5c5649;
  --subtle:    #8a8373;
  --border:    rgba(26,26,46,.1);
  --f-display: 'Fraunces', Georgia, serif;
  --f-ui:      'Instrument Sans', -apple-system, sans-serif;
  --max:       840px;
  --max-wide:  1200px;
  --g:         24px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--f-ui); background: var(--cream); color: var(--navy); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--orange); text-decoration: none; }
a:hover { color: var(--orange-h); text-decoration: underline; }
::selection { background: var(--orange); color: #fff; }
img { max-width: 100%; }

/* NAV (mirrors flat pages) */
.site-nav { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--border); overflow: visible; }
.site-nav::before { content: ''; position: absolute; inset: 0; background: rgba(245,241,234,.92); backdrop-filter: blur(12px); z-index: -1; }
.nav-inner { max-width: var(--max-wide); margin: 0 auto; padding: 14px var(--g); display: flex; align-items: center; gap: var(--g); }
.nav-center { display: flex; gap: 22px; margin: 0 auto; }
.nav-link { color: var(--navy); font-size: 15px; font-weight: 500; }
.nav-link:hover { color: var(--orange); text-decoration: none; }
.nav-cta { background: var(--orange); color: #fff; padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; white-space: nowrap; }
.nav-cta:hover { background: var(--orange-h); color: #fff; text-decoration: none; }
@media (max-width: 860px) { .nav-center { display: none; } }

/* DRAFT signalling */
.draft-banner { background: #8a2be2; color: #fff; text-align: center; padding: 8px 16px; font-size: 13px; font-weight: 600; }
.draft-banner code { background: rgba(255,255,255,.2); padding: 1px 5px; border-radius: 4px; }
.draft-tag { display: inline-block; background: #8a2be2; color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .08em; padding: 2px 8px; border-radius: 4px; margin-bottom: 8px; }

/* BREADCRUMBS */
.crumbs { border-bottom: 1px solid var(--border); background: var(--cream-d); }
.crumbs-inner { max-width: var(--max-wide); margin: 0 auto; padding: 8px var(--g); font-size: 13px; color: var(--subtle); display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: var(--muted); }

/* PAGE LAYOUT */
.page { max-width: var(--max); margin: 0 auto; padding: 48px var(--g) 80px; }
.page-hub { max-width: var(--max-wide); }
.hero { padding: 24px 0 32px; }
.kicker { color: var(--orange); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; }
.hero h1 { font-family: var(--f-display); font-size: clamp(32px, 5vw, 52px); font-weight: 600; line-height: 1.1; margin-bottom: 16px; }
.subtitle { font-size: 18px; color: var(--muted); max-width: 640px; line-height: 1.55; }
.asof { font-size: 13px; color: var(--subtle); margin-top: 10px; }

/* CONTENT BLOCKS */
.block { margin: 36px 0; }
.block h2, .faq h2, .interlinks h2, .key-facts h2 { font-family: var(--f-display); font-size: 26px; font-weight: 600; margin-bottom: 14px; }
.prose { line-height: 1.7; color: var(--navy); }
.prose p { margin-bottom: 14px; }
.prose ul, .prose ol { margin: 0 0 14px 22px; }

/* CTA */
.cta-card { background: var(--navy); color: #fff; border-radius: 16px; padding: 32px; text-align: center; }
.cta-card h2 { color: #fff; }
.cta-card p { color: rgba(255,255,255,.75); margin: 10px 0 18px; }
.cta-btn { display: inline-block; background: var(--orange); color: #fff; padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 16px; }
.cta-btn:hover { background: var(--orange-h); color: #fff; text-decoration: none; }
.cta-hero { margin-top: 20px; }
.cta-note { font-size: 13px; color: var(--subtle); margin-top: 10px; }

/* TABLES */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 12px; }
.stats-table { width: 100%; border-collapse: collapse; font-size: 15px; background: #fff; }
.stats-table th, .stats-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.stats-table thead th { background: var(--cream-d); font-weight: 600; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.stats-table tbody tr:last-child td { border-bottom: none; }

/* KEY FACTS (AI citation block) */
.key-facts { background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--green); border-radius: 12px; padding: 24px 28px; margin: 36px 0; }
.key-facts ul { margin: 0 0 0 20px; line-height: 1.8; }

/* FAQ */
.faq { margin: 48px 0; }
.faq details { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 16px 20px; margin-bottom: 10px; }
.faq summary { font-weight: 600; cursor: pointer; }
.faq details p { margin-top: 10px; color: var(--muted); line-height: 1.6; }

/* INTERLINKS */
.interlinks { margin: 48px 0 0; border-top: 1px solid var(--border); padding-top: 32px; }
.interlinks-money { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-bottom: 28px; }
.money-link { display: block; background: var(--navy); border-radius: 12px; padding: 18px 20px; }
.money-link:hover { text-decoration: none; transform: translateY(-2px); transition: transform .15s; }
.money-link-kicker { display: block; color: var(--orange); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; }
.money-link-title { color: #fff; font-weight: 600; }
.related-list { margin-left: 20px; line-height: 2; }

/* HUB */
.hub-group { margin: 44px 0; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.page-card { display: block; background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 22px; color: var(--navy); transition: transform .15s, box-shadow .15s; }
.page-card:hover { text-decoration: none; transform: translateY(-3px); box-shadow: 0 10px 26px rgba(26,26,46,.08); }
.page-card h3 { font-family: var(--f-display); font-size: 19px; margin-bottom: 8px; }
.page-card p { font-size: 14px; color: var(--muted); line-height: 1.5; }
.page-card.is-draft { opacity: .75; }

/* FOOTER (mirrors flat pages) */
.site-footer { background: var(--navy); color: rgba(255,255,255,.8); margin-top: 60px; }
.footer-inner { max-width: var(--max-wide); margin: 0 auto; padding: 56px var(--g) 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.footer-tagline { font-size: 14px; color: rgba(255,255,255,.6); }
.footer-col-title { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 12px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: rgba(255,255,255,.8); font-size: 14px; }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: rgba(255,255,255,.5); }
.footer-legal { display: flex; gap: 16px; }
.footer-legal a { color: rgba(255,255,255,.6); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* footer disclaimer (all city pages) */
.footer-disclaimer{max-width:1100px;margin:0 auto;padding:18px 24px 0;border-top:1px solid rgba(255,255,255,.12)}
.footer-disclaimer p{font-size:12px;line-height:1.6;color:rgba(255,255,255,.55);margin:0 0 6px}
.footer-disclaimer a{color:rgba(255,255,255,.75);text-decoration:underline}
