/* Components — Pulaski County Home Buyers */
/* Hard edges, high contrast, brutalist grid */

/* ═══ HEADER ═══ */
.site-header { background:var(--black); color:#fff; border-bottom:3px solid var(--amber); }

.topbar { background:var(--black-soft); border-bottom:1px solid rgba(255,255,255,0.06); padding:8px 0; }
.topbar .container { display:flex; justify-content:space-between; align-items:center; }
.topbar-left { font-family:var(--sans); font-size:11px; color:rgba(255,255,255,0.45); letter-spacing:0.06em; }
.topbar-right { display:flex; gap:20px; }
.topbar-right a { font-family:var(--sans); font-size:11px; color:rgba(255,255,255,0.45); transition:color 0.15s; }
.topbar-right a:hover { color:var(--amber); }
.topbar-right .cta-link { color:var(--amber); font-weight:700; }

.masthead { padding:0; }
.masthead .container { display:flex; align-items:stretch; height:80px; gap:0; }

.brand-logo { display:flex; align-items:center; gap:16px; text-decoration:none; flex:1; }
.brand-icon {
  width:80px; height:80px; background:var(--amber); flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
  transition:background 0.15s;
}
.brand-icon:hover { background:var(--amber-deep); }
.brand-text { display:flex; flex-direction:column; gap:3px; }
.brand-name { font-family:var(--display); font-size:28px; color:#fff; line-height:1; letter-spacing:0.04em; }
.brand-sub { font-family:var(--sans); font-size:10px; font-weight:600; letter-spacing:0.2em; text-transform:uppercase; color:rgba(255,255,255,0.4); }

.masthead-actions { display:flex; align-items:center; gap:0; border-left:1px solid rgba(255,255,255,0.08); margin-left:auto; }
.masthead-stat { padding:0 24px; border-right:1px solid rgba(255,255,255,0.08); height:100%; display:flex; flex-direction:column; justify-content:center; }
.masthead-stat-num { font-family:var(--display); font-size:24px; color:var(--amber); line-height:1; }
.masthead-stat-label { font-family:var(--sans); font-size:9px; font-weight:600; letter-spacing:0.14em; text-transform:uppercase; color:rgba(255,255,255,0.4); margin-top:2px; }
.masthead-cta { background:var(--amber); color:var(--black); font-family:var(--sans); font-size:12px; font-weight:700; letter-spacing:0.1em; text-transform:uppercase; padding:0 24px; height:100%; display:flex; align-items:center; white-space:nowrap; transition:background 0.15s; }
.masthead-cta:hover { background:var(--amber-deep); color:#fff; }

/* ═══ NAV ═══ */
.nav { background:var(--black-mid); border-bottom:1px solid rgba(255,255,255,0.06); }
.nav-inner { max-width:var(--maxw); margin:0 auto; padding:0 var(--gutter); display:flex; overflow-x:auto; scrollbar-width:none; }
.nav-inner::-webkit-scrollbar { display:none; }
.nav-inner a { font-family:var(--sans); font-size:12px; font-weight:600; color:rgba(255,255,255,0.5); padding:12px 16px; white-space:nowrap; letter-spacing:0.06em; text-transform:uppercase; border-bottom:3px solid transparent; margin-bottom:-1px; transition:color 0.15s, border-color 0.15s; }
.nav-inner a:hover { color:#fff; }
.nav-inner a.is-active { color:var(--amber); border-bottom-color:var(--amber); }

/* ═══ TICKER ═══ */
.ticker-band { background:var(--amber); padding:9px 0; overflow:hidden; }
.ticker-inner { display:flex; align-items:center; max-width:var(--maxw); margin:0 auto; padding:0 var(--gutter); gap:0; overflow:hidden; }
.ticker-label { background:var(--black); color:#fff; font-family:var(--sans); font-size:9px; font-weight:700; letter-spacing:0.2em; text-transform:uppercase; padding:4px 14px; white-space:nowrap; margin-right:20px; flex-shrink:0; }
.ticker-scroll { display:flex; gap:24px; white-space:nowrap; animation:ticker 35s linear infinite; font-family:var(--sans); font-size:12px; font-weight:600; color:rgba(255,255,255,0.8); mask-image:linear-gradient(to right, transparent, black 3%, black 97%, transparent); }

/* ═══ HERO ═══ */
.hero { background:var(--black); color:#fff; padding:0; }
.hero-grid { display:grid; grid-template-columns:1fr 420px; min-height:520px; }
.hero-content { padding:48px 40px 48px 0; display:flex; flex-direction:column; justify-content:space-between; border-right:1px solid rgba(255,255,255,0.06); }
.hero-eyebrow { display:flex; align-items:center; gap:12px; margin-bottom:20px; }
.hero-title { font-family:var(--display); font-size:clamp(48px,6vw,88px); color:#fff; line-height:0.92; letter-spacing:0.02em; margin:0 0 20px; }
.hero-title .accent { color:var(--amber); }
.hero-dek { font-family:var(--body); font-size:18px; line-height:1.65; color:rgba(255,255,255,0.7); max-width:520px; margin:0 0 24px; }
.hero-byline { font-family:var(--sans); font-size:12px; color:var(--ink-3); display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.hero-byline strong { color:var(--ink); }
.hero-byline .dot { color:var(--border-mid); }
.hero-read-more { display:inline-flex; align-items:center; gap:10px; background:transparent; border:2px solid rgba(255,255,255,0.2); color:#fff; font-family:var(--sans); font-size:12px; font-weight:700; letter-spacing:0.1em; text-transform:uppercase; padding:12px 20px; transition:border-color 0.15s, color 0.15s, background 0.15s; margin-top:auto; align-self:flex-start; }
.hero-read-more:hover { border-color:var(--amber); color:var(--amber); }

.hero-sidebar { background:var(--black-soft); display:flex; flex-direction:column; }
.hero-img-wrap { flex:1; overflow:hidden; position:relative; }
.hero-sidebar-widgets { padding:20px; display:flex; flex-direction:column; gap:0; border-top:1px solid rgba(255,255,255,0.06); }

/* ═══ MARKET TICKER STRIP ═══ */
.market-strip { background:var(--paper-2); border-top:2px solid var(--black); border-bottom:2px solid var(--black); }
.market-strip .container { display:flex; overflow-x:auto; scrollbar-width:none; }
.market-strip::-webkit-scrollbar { display:none; }
.market-item { flex-shrink:0; padding:16px 28px; border-right:1px solid var(--border-mid); display:flex; flex-direction:column; gap:3px; }
.market-item:last-child { border-right:none; }
.market-item-label { font-family:var(--sans); font-size:9px; font-weight:700; letter-spacing:0.18em; text-transform:uppercase; color:var(--ink-4); }
.market-item-val { font-family:var(--display); font-size:26px; color:var(--black); line-height:1; letter-spacing:0.02em; }
.market-item-change { font-family:var(--sans); font-size:11px; font-weight:600; }
.market-item-change.up { color:var(--green); }
.market-item-change.down { color:var(--red); }

/* ═══ STORY GRID ═══ */
.section-head { display:flex; justify-content:space-between; align-items:flex-end; }
.section-title { font-family:var(--display); font-size:clamp(32px,4vw,56px); color:var(--black); line-height:0.95; letter-spacing:0.02em; margin:8px 0 0; }
.section-title-white { color:#fff; }
.see-all { font-family:var(--sans); font-size:11px; font-weight:700; letter-spacing:0.12em; text-transform:uppercase; color:var(--amber-deep); border-bottom:2px solid var(--amber); padding-bottom:2px; transition:color 0.15s; }
.see-all:hover { color:var(--black); }

.story-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:2px; background:var(--black); margin-top:2px; }
.story { background:var(--paper); display:flex; flex-direction:column; gap:0; transition:background 0.15s; }
.story:hover { background:var(--amber-pale); }
.story-img { overflow:hidden; }
.story-content { padding:16px 18px 20px; display:flex; flex-direction:column; gap:8px; flex:1; }
.story-cat { font-family:var(--sans); font-size:9px; font-weight:700; letter-spacing:0.18em; text-transform:uppercase; color:var(--amber-deep); }
.story h3 { font-family:var(--display); font-size:20px; color:var(--black); line-height:1.1; margin:0; letter-spacing:0.02em; }
.story h3 a:hover { color:var(--amber-deep); }
.story-dek { font-family:var(--sans); font-size:12.5px; color:var(--ink-3); line-height:1.5; margin:0; flex:1; }
.story-byline { font-family:var(--sans); font-size:11px; color:var(--ink-4); border-top:1px solid var(--border); padding-top:10px; }

/* Feature story */
.feature-story { display:grid; grid-template-columns:1fr 1fr; gap:2px; background:var(--black); margin-top:2px; margin-bottom:2px; }
.feature-img { overflow:hidden; }
.feature-content { background:var(--paper); padding:32px 32px 32px; display:flex; flex-direction:column; justify-content:center; gap:14px; }
.feature-content h3 { font-family:var(--display); font-size:clamp(26px,3vw,40px); color:var(--black); line-height:1.0; margin:0; letter-spacing:0.02em; }
.feature-content h3 a:hover { color:var(--amber-deep); }
.feature-content p { font-family:var(--sans); font-size:14px; color:var(--ink-3); line-height:1.6; margin:0; }

/* ═══ NEIGHBORHOOD GRID ═══ */
.nbhd-grid { display:grid; grid-template-columns:repeat(6,1fr); gap:2px; background:var(--black); margin-top:2px; }
.nbhd-card { background:var(--black-soft); text-decoration:none; display:flex; flex-direction:column; transition:background 0.15s; }
.nbhd-card:hover { background:var(--charcoal); }
.nbhd-img { aspect-ratio:1; overflow:hidden; }
.nbhd-info { padding:12px 14px; border-top:2px solid var(--amber); }
.nbhd-name { font-family:var(--display); font-size:16px; color:#fff; letter-spacing:0.04em; line-height:1; }
.nbhd-meta { font-family:var(--sans); font-size:10px; color:rgba(255,255,255,0.4); margin-top:4px; letter-spacing:0.06em; }

/* ═══ RANKINGS BAND ═══ */
.rankings-band { background:var(--amber); padding:56px 0; }
.rankings-band .label { color:var(--black); opacity:0.6; margin-bottom:10px; display:block; }
.rankings-band h2 { font-family:var(--display); font-size:clamp(40px,6vw,80px); color:var(--black); line-height:0.9; margin:0 0 16px; letter-spacing:0.02em; }
.rankings-band p { font-family:var(--sans); font-size:15px; color:rgba(10,10,10,0.65); max-width:500px; line-height:1.6; margin:0 0 28px; }
.rankings-btn { display:inline-flex; align-items:center; gap:10px; background:var(--black); color:#fff; font-family:var(--sans); font-size:12px; font-weight:700; letter-spacing:0.12em; text-transform:uppercase; padding:15px 28px; transition:background 0.15s, box-shadow 0.15s, transform 0.15s; }
.rankings-btn:hover { background:var(--black-mid); transform:translate(-3px,-3px); box-shadow:var(--shadow-lg); }

/* ═══ GUIDE GRID ═══ */
.guide-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:32px; margin-top:28px; }
.guide-col { border-top:3px solid var(--amber); padding-top:16px; }
.guide-col h4 { font-family:var(--display); font-size:22px; color:var(--black); margin:0 0 16px; letter-spacing:0.04em; }
.guide-col ul { list-style:none; padding:0; margin:0; }
.guide-col ul li { border-bottom:1px solid var(--border); }
.guide-col ul li a { display:block; padding:9px 0; font-family:var(--sans); font-size:13px; color:var(--ink-2); line-height:1.4; transition:color 0.15s, padding-left 0.15s; }
.guide-col ul li a:hover { color:var(--amber-deep); padding-left:8px; }

/* ═══ NEWSLETTER ═══ */
.newsletter-band { background:var(--black); padding:60px 0; border-top:3px solid var(--amber); }
.newsletter-inner { display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center; }
.newsletter-band .label-white { display:block; margin-bottom:10px; }
.newsletter-band h3 { font-family:var(--display); font-size:clamp(36px,5vw,64px); color:#fff; line-height:0.92; margin:0 0 14px; letter-spacing:0.02em; }
.newsletter-band p { font-family:var(--sans); font-size:14px; color:rgba(255,255,255,0.55); line-height:1.65; margin:0 0 24px; }
.newsletter-form { display:flex; gap:0; border:2px solid rgba(255,255,255,0.15); }
.newsletter-input { flex:1; padding:14px 16px; background:rgba(255,255,255,0.05); border:none; outline:none; font-family:var(--sans); font-size:14px; color:#fff; }
.newsletter-input::placeholder { color:rgba(255,255,255,0.3); }
.newsletter-input:focus { background:rgba(255,255,255,0.08); }
.newsletter-btn { background:var(--amber); color:var(--black); font-family:var(--sans); font-size:12px; font-weight:700; letter-spacing:0.1em; text-transform:uppercase; padding:14px 20px; border:none; cursor:pointer; transition:background 0.15s; white-space:nowrap; }
.newsletter-btn:hover { background:var(--amber-deep); color:#fff; }
.newsletter-mission { border-left:3px solid rgba(255,255,255,0.1); padding-left:32px; }
.newsletter-mission blockquote { font-family:var(--display); font-size:clamp(22px,3vw,36px); color:rgba(255,255,255,0.85); margin:0 0 12px; line-height:1.1; letter-spacing:0.02em; }
.newsletter-mission cite { font-family:var(--sans); font-size:12px; color:rgba(255,255,255,0.3); font-style:normal; letter-spacing:0.08em; }

/* ═══ FOOTER ═══ */
.site-footer { background:var(--black-soft); color:rgba(255,255,255,0.6); padding:52px 0 24px; border-top:1px solid rgba(255,255,255,0.06); }
.footer-top { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:40px; margin-bottom:40px; }
.footer-brand-row { display:flex; align-items:center; gap:14px; margin-bottom:14px; }
.footer-icon { width:48px; height:48px; background:var(--amber); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.footer-brand-name { font-family:var(--display); font-size:22px; color:#fff; letter-spacing:0.04em; }
.footer-col h5 { font-family:var(--sans); font-size:9px; font-weight:700; letter-spacing:0.22em; text-transform:uppercase; color:var(--amber); margin:0 0 14px; }
.footer-col ul { list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:9px; }
.footer-col ul li a { font-family:var(--sans); font-size:13px; color:rgba(255,255,255,0.45); transition:color 0.15s; }
.footer-col ul li a:hover { color:var(--amber); }
.footer-bottom { border-top:1px solid rgba(255,255,255,0.06); padding-top:20px; display:flex; justify-content:space-between; font-family:var(--sans); font-size:11px; color:rgba(255,255,255,0.25); flex-wrap:wrap; gap:8px; }

/* ═══ POST ═══ */
.post { max-width:100%; }
.post-hero { background:var(--black); color:#fff; padding:40px 0 32px; }
.post-eyebrow { display:flex; align-items:center; gap:10px; margin-bottom:18px; }
.post-title { font-family:var(--display); font-size:clamp(36px,5vw,72px); color:#fff; line-height:0.9; letter-spacing:0.02em; margin:0 0 18px; }
.post-title em { color:var(--amber); font-style:normal; }
.post-dek { font-family:var(--body); font-size:19px; line-height:1.65; color:rgba(255,255,255,0.7); margin:0 0 24px; max-width:640px; }
.post-byline { display:flex; align-items:center; gap:12px; font-family:var(--sans); font-size:12.5px; padding:16px 0; border-top:1px solid rgba(255,255,255,0.12); }
.byline-avatar.photo { width:36px; height:36px; border-radius:0; border:2px solid var(--amber); flex-shrink:0; }
.byline-avatar.photo::after, .byline-avatar.photo::before { display:none !important; }
.byline-authors { display:flex; }
.byline-text { flex:1; }
.byline-names { font-weight:600; color:var(--ink); margin-bottom:2px; }
.byline-meta { color:var(--ink-3); font-size:11.5px; }
.byline-actions { display:flex; gap:6px; }
.icon-btn { font-family:var(--sans); font-size:11px; font-weight:600; color:rgba(255,255,255,0.5); background:rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.12); padding:5px 10px; cursor:pointer; transition:color 0.15s, border-color 0.15s; }
.icon-btn:hover { color:var(--amber); border-color:var(--amber); }

.post-hero-img { margin: 0 calc(-50vw + 50%); width: 100vw; }
.post-hero-img figcaption { background:var(--black-mid); padding:8px 18px; font-family:var(--sans); font-size:11px; color:rgba(255,255,255,0.35); font-style:italic; }

.post-body-wrap { padding:44px 0 80px; }
.post-grid { display:grid; grid-template-columns:1fr 300px; gap:52px; align-items:start; }
.post-sidebar { display:flex; flex-direction:column; gap:20px; position:sticky; top:16px; }
.post-body { font-family:var(--body); font-size:18px; line-height:1.75; color:var(--ink-2); }
.post-body p { margin:0 0 20px; }
.post-body a { color:var(--amber-deep); border-bottom:1px solid var(--amber-light); }
.post-h2 { font-family:var(--display); font-size:32px; color:var(--black); margin:40px 0 18px; letter-spacing:0.02em; border-left:4px solid var(--amber); padding-left:16px; }
.lede { font-size:20px; line-height:1.7; color:var(--ink); }

.post-toc { background:var(--black); border:2px solid var(--amber); padding:18px; }
.post-toc .eyebrow-mute { color:var(--amber); margin-bottom:10px; display:block; }
.post-toc ol { margin:0; padding-left:18px; display:flex; flex-direction:column; gap:7px; }
.post-toc ol li { font-family:var(--sans); font-size:13px; color:rgba(255,255,255,0.7); }
.post-toc ol li a { color:var(--amber-light); }
.post-toc ol li a:hover { text-decoration:underline; }

.share-rail { border:2px solid var(--black); padding:16px 18px; background:var(--paper-2); }
.share-btns { display:flex; gap:8px; margin-top:10px; }
.share-btns button { flex:1; padding:8px 4px; border:2px solid var(--black); background:var(--white); font-family:var(--sans); font-size:11px; font-weight:700; color:var(--ink); cursor:pointer; transition:background 0.15s, color 0.15s; }
.share-btns button:hover { background:var(--amber); border-color:var(--amber); color:var(--black); }
.sticky-rec { position:sticky; top:16px; }

/* ═══ RESPONSIVE ═══ */
@media(max-width:1024px) {
  .hero-grid { grid-template-columns:1fr; }
  .hero-sidebar { display:none; }
  .stats-grid { grid-template-columns:repeat(2,1fr); }
  .nbhd-grid { grid-template-columns:repeat(3,1fr); }
  .feature-story { grid-template-columns:1fr; }
}
@media(max-width:768px) {
  .story-grid { grid-template-columns:repeat(2,1fr); }
  .guide-grid { grid-template-columns:1fr; }
  .newsletter-inner { grid-template-columns:1fr; }
  .footer-top { grid-template-columns:1fr 1fr; }
  .post-grid { grid-template-columns:1fr; }
  .post-sidebar { position:static; }
  .masthead-stat { display:none; }
  .nbhd-grid { grid-template-columns:repeat(2,1fr); }
}
@media(max-width:480px) {
  .story-grid { grid-template-columns:1fr; }
  .footer-top { grid-template-columns:1fr; }
}


/* === GLOBAL UX IMPROVEMENTS === */

/* Smooth transitions everywhere */
a, button { transition: all 0.15s ease; }

/* Story cards - clean and consistent */
.story {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.story:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.09); transform: translateY(-3px); }
.story-content { padding: 16px 18px 20px; }
.story-cat { font-size: 10px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 6px; }
.story h3 { font-size: 18px; line-height: 1.25; margin: 0 0 8px; }
.story-dek { font-size: 13.5px; line-height: 1.55; margin: 0 0 12px; color: var(--ink-3); }
.story-byline { font-size: 11.5px; color: var(--ink-4); padding-top: 10px; border-top: 1px solid var(--border); }

/* Story images - proper aspect ratio */
.story-img { aspect-ratio: 16/9; overflow: hidden; }
.story-img .photo { height: 100%; width: 100%; }

/* Section titles */
.section-title { font-size: clamp(22px, 3vw, 36px); margin: 6px 0 0; line-height: 1.15; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 12px; }

/* Newsletter - clean and simple */
.newsletter-band { padding: 52px 0; }
.newsletter-input {
  border-radius: 6px 0 0 6px;
  border-right: none;
}
.newsletter-btn {
  border-radius: 0 6px 6px 0;
}

/* Footer - consistent */
.site-footer { padding: 48px 0 24px; }
.footer-grid { gap: 32px; }
.footer-bottom { 
  margin-top: 36px;
  padding-top: 20px; 
  border-top: 1px solid var(--border);
  font-size: 12px;
}

/* Breadcrumb */
.breadcrumb { background: var(--bg-2, var(--cream)); border-bottom: 1px solid var(--border); padding: 10px 0; }
.breadcrumb a { font-family:var(--sans); font-size:12px; color:var(--ink-3); }
.breadcrumb a:hover { color:var(--ink); }
.breadcrumb .sep { font-size:12px; color:var(--ink-4); margin:0 2px; }
.breadcrumb .current { font-family:var(--sans); font-size:12px; color:var(--ink-2); }

/* Neighborhood / county cards */
.nbhd-card, .county-card {
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
  border: 1px solid var(--border);
}
.nbhd-card:hover, .county-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.09); transform: translateY(-2px); }

/* Guide columns */
.guide-col ul li a { transition: color 0.15s, padding-left 0.15s; }

/* See all links */
.see-all { text-decoration: none; font-size: 13px; font-weight: 600; }
.see-all:hover { text-decoration: underline; }

/* Progress bar */
.progress-bar { height: 3px; }


/* Make honey-rec in INDEX sidebar less dominant */
.lead-sidebar .honey-rec,
.hero-sidebar .honey-rec {
  font-size: 0.88em;
  padding: 16px;
}
.lead-sidebar .honey-rec-name,
.hero-sidebar .honey-rec-name {
  font-size: 16px !important;
}
.lead-sidebar .honey-rec-quote,
.hero-sidebar .honey-rec-quote {
  font-size: 12.5px;
}
.lead-sidebar .honey-rec-cta,
.hero-sidebar .honey-rec-cta {
  font-size: 11px !important;
  padding: 9px 14px !important;
}
/* Remove the big ::before badge on index pages */
.lead-sidebar .honey-rec::before,
.hero-sidebar .honey-rec::before {
  font-size: 8px;
  padding: 2px 8px;
}

/* ══ V4 UX FIXES ══════════════════════════════════════════════════ */

/* TICKER — proper structure, no broken animation */
.ticker-band { background:var(--amber); padding:8px 0; overflow:hidden; }
.ticker-inner { display:flex; align-items:center; max-width:var(--maxw); margin:0 auto; gap:0; overflow:hidden; }
.ticker-label { background:var(--ink); color:#fff; font-family:var(--sans); font-size:9px; font-weight:700; letter-spacing:0.22em; text-transform:uppercase; padding:5px 16px; white-space:nowrap; flex-shrink:0; z-index:2; }
.ticker-track { flex:1; overflow:hidden; -webkit-mask-image:linear-gradient(to right, transparent 0, black 5%, black 95%, transparent 100%); mask-image:linear-gradient(to right, transparent 0, black 5%, black 95%, transparent 100%); }
.ticker-scroll { display:inline-flex; align-items:center; white-space:nowrap; animation:ticker-move 50s linear infinite; will-change:transform; }
.ticker-scroll:hover { animation-play-state:paused; }
.ticker-item { font-family:var(--sans); font-size:12px; font-weight:500; color:rgba(255,255,255,0.8); padding:0 20px; display:inline-block; }
.ticker-item strong { font-weight:700; color:#fff; }
.ticker-dot { color:rgba(26,21,16,0.35); font-size:14px; line-height:1; flex-shrink:0; }
@keyframes ticker-move { 0% { transform:translateX(0); } 100% { transform:translateX(-50%); } }

/* NEIGHBORHOOD GRID — amber borders, no black gaps */
.nbhd-grid { display:grid; grid-template-columns:repeat(6,1fr); gap:0; margin-top:16px; border:2px solid var(--amber); }
.nbhd-card { background:var(--ink-2); text-decoration:none; display:flex; flex-direction:column; transition:background 0.18s; border-right:2px solid var(--amber); overflow:hidden; }
.nbhd-card:last-child { border-right:none; }
.nbhd-card:hover { background:var(--ink); }
.nbhd-img { aspect-ratio:1; overflow:hidden; transition:transform 0.4s ease; }
.nbhd-card:hover .nbhd-img { transform:scale(1.04); }
.nbhd-info { padding:14px 14px 16px; border-top:3px solid var(--amber); background:var(--ink); }
.nbhd-name { font-family:var(--display); font-size:15px; color:var(--amber); letter-spacing:0.04em; line-height:1.1; }
.nbhd-meta { font-family:var(--sans); font-size:10px; color:rgba(255,255,255,0.38); margin-top:4px; letter-spacing:0.06em; }

/* FEATURE STORY — amber border, no black gap */
.feature-story { display:grid; grid-template-columns:1fr 1fr; margin-top:2px; margin-bottom:2px; border:2px solid var(--ink); }
.feature-content { background:var(--bg-2); padding:36px; display:flex; flex-direction:column; justify-content:center; gap:14px; border-left:2px solid var(--ink); }

/* HERO READ-MORE button solid */
.hero-read-more { background:var(--ink); color:#fff; border:2px solid var(--ink); }
.hero-read-more:hover { background:var(--amber); color:var(--ink); border-color:var(--amber); transform:translate(-2px,-2px); }

/* RANKINGS button pop */
.rankings-btn:hover { transform:translate(-3px,-3px); box-shadow:5px 5px 0 rgba(0,0,0,0.25); }

@media(max-width:1024px) { .nbhd-grid { grid-template-columns:repeat(3,1fr); } }
@media(max-width:768px)  { .nbhd-grid { grid-template-columns:repeat(2,1fr); } }

/* ══════════════════════════════════════════════════════
   MOBILE — Complete responsive overhaul
   Primary breakpoint: 640px (phones)
   Secondary: 480px (small phones)
══════════════════════════════════════════════════════ */

@media (max-width: 640px) {

  /* ── TOPBAR: hide on mobile, not needed ── */
  .topbar { display: none; }

  /* ── MASTHEAD: compact 2-row layout ── */
  .masthead .container {
    height: auto;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 0;
    align-items: stretch;
  }

  /* Logo takes full width minus CTA button */
  .brand-logo {
    flex: 1;
    padding: 12px 14px;
    gap: 10px;
    min-width: 0;
  }

  .brand-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
  }

  .brand-icon svg { width: 28px; height: 28px; }

  .brand-name {
    font-size: 16px;
    letter-spacing: 0.03em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brand-sub { font-size: 8px; letter-spacing: 0.1em; }

  /* Stats: hidden on mobile */
  .masthead-stat { display: none; }

  /* CTA button: right side, full height */
  .masthead-cta {
    font-size: 11px;
    padding: 0 16px;
    letter-spacing: 0.06em;
    border-left: 1px solid rgba(0,0,0,0.15);
    white-space: nowrap;
    height: auto;
    min-height: 64px;
  }

  /* ── NAV: hamburger-style collapsible ── */
  .nav { position: relative; }

  /* Hide all nav links by default on mobile */
  .nav-inner {
    display: none;
    flex-direction: column;
    padding: 0;
    background: #1A1510;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 200;
    border-top: 2px solid var(--amber);
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  }

  .nav-inner.mobile-open {
    display: flex;
  }

  .nav-inner a {
    padding: 13px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    border-bottom-width: 1px;
    border-left: 3px solid transparent;
    font-size: 13px;
    letter-spacing: 0.04em;
  }

  .nav-inner a.is-active {
    border-left-color: var(--amber);
    color: var(--amber);
    border-bottom-color: rgba(255,255,255,0.06);
  }

  .nav-inner a:last-child { border-bottom: none; }

  /* Mini logo in nav: hide on mobile (we have full logo) */
  #nav-mini-logo { display: none !important; }

  /* Hamburger button */
  .nav-hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 100%;
    background: #1A1510;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 0 14px;
    flex-shrink: 0;
  }
  .nav-hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background: #fff;
    transition: transform 0.2s, opacity 0.2s;
  }
  .nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-hamburger.open span:nth-child(2) { opacity: 0; }
  .nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* Nav outer wrapper needs flex to fit hamburger */
  .nav > div.nav-inner { /* already handled above */ }

  /* ── TICKER: smaller text ── */
  .ticker-band { padding: 6px 0; }
  .ticker-label { font-size: 8px; padding: 4px 10px; }
  .ticker-item { font-size: 11px; padding: 0 14px; }

  /* ── HERO ── */
  .hero-grid { grid-template-columns: 1fr; }
  .hero-sidebar { display: none; }
  .hero-content { padding: 28px 0 32px; border-right: none; }
  .hero-title { font-size: clamp(36px, 10vw, 56px); }
  .hero-dek { font-size: 15px; }
  .hero-read-more { font-size: 11px; padding: 12px 20px; }

  /* ── MARKET STRIP ── */
  .market-item { min-width: 110px; padding: 12px 14px; }
  .market-item-val { font-size: 20px; }

  /* ── STORY GRID: single column ── */
  .story-grid { grid-template-columns: 1fr; gap: 0; }
  .story { border-radius: 0; }

  /* ── SECTION HEADS ── */
  .section-title { font-size: clamp(26px, 8vw, 40px); }
  .section { padding: 36px 0; }
  .section-amber { padding: 36px 0; }
  .section-paper { padding: 36px 0; }
  .section-black { padding: 36px 0; }

  /* ── NEIGHBORHOOD GRID: 2 cols on phone ── */
  .nbhd-grid {
    grid-template-columns: repeat(2, 1fr);
    border-width: 1px;
  }
  .nbhd-card { border-right-width: 1px; }
  .nbhd-name { font-size: 12px; }
  .nbhd-meta { font-size: 9px; }

  /* ── RANKINGS BAND ── */
  .rankings-band { padding: 36px 0; }
  .rankings-band h2 { font-size: clamp(32px, 9vw, 52px); }

  /* ── GUIDE GRID ── */
  .guide-grid { grid-template-columns: 1fr; gap: 24px; }

  /* ── NEWSLETTER ── */
  .newsletter-inner { grid-template-columns: 1fr; gap: 32px; }
  .newsletter-mission { border-left: none; border-top: 2px solid rgba(255,255,255,0.08); padding-left: 0; padding-top: 24px; }
  .newsletter-form { flex-direction: column; border: none; gap: 0; }
  .newsletter-input { border: 2px solid rgba(255,255,255,0.15); padding: 13px 14px; }
  .newsletter-btn { padding: 13px; }

  /* ── FOOTER ── */
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand-name { font-size: 18px; }
  .footer-bottom { flex-direction: column; gap: 6px; font-size: 10px; }

  /* ── FEATURE STORY ── */
  .feature-story { grid-template-columns: 1fr; }
  .feature-content { padding: 20px 16px; }
  .feature-content h3 { font-size: clamp(20px, 6vw, 30px); }

  /* ── DATA STRIP numbers ── */
  .masthead-stat-num { font-size: 20px; }

  /* ── POST ── */
  .post-title { font-size: clamp(24px, 7vw, 38px) !important; }
  .post-dek { font-size: 15px !important; }
  .post-hero { padding: 24px 0 20px; }
  .post-body { font-size: 16px; }
  .post-h2 { font-size: 22px; }
  .lede { font-size: 17px; }
  .pull-quote p { font-size: 1.2em; }
  .honey-rec-name { font-size: 17px; }
  .breadcrumb { display: none; }
}

@media (max-width: 400px) {
  .brand-name { font-size: 13px; }
  .masthead-cta { font-size: 10px; padding: 0 12px; }
  .nbhd-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Nav hamburger — hidden on desktop */
.nav-hamburger { display: none; }

@media (max-width: 640px) {
  /* Nav bar row: hamburger left + hidden links */
  .nav { display: flex; align-items: center; position: relative; }
  .nav-hamburger { display: flex; min-height: 44px; }

  /* Shrunken state: nav still shows hamburger */
  .site-header.shrunken .nav { position: relative; }
}
