/* ============================================
   DontSprayMeBro.com — v3
   Palette matched to graffiti bee logo:
   Golds, blacks, warm amber, red accent
   Fonts: DM Serif Display + DM Sans
   ============================================ */
:root {
  /* Logo-matched palette */
  --gold: #D4A017;
  --gold-bright: #F5C518;
  --gold-dark: #9B7610;
  --gold-glow: #FFD940;
  --black: #111111;
  --black-soft: #1A1A1A;
  --charcoal: #2A2A2A;
  --gray: #4A4A4A;
  --gray-light: #888;
  --red: #C0392B;
  --red-light: #E74C3C;
  --white: #FFFFFF;
  --off-white: #FAF8F5;
  --cream: #F5F0E8;
  --amber: #E8A910;
  --amber-bg: #FFF9E6;
  --danger-bg: #FDE8EC;
  --info-bg: #F0EDE6;

  /* Typography */
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Layout */
  --max-w: 1140px;
  --content-w: 760px;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow: 0 2px 8px rgba(0,0,0,0.12);
  --shadow-lg: 0 6px 24px rgba(0,0,0,0.18);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 20px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-body); color: var(--charcoal); background: var(--off-white); line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-dark); text-decoration: underline; text-underline-offset: 3px; transition: color .2s; }
a:hover { color: var(--gold); }

/* Typography */
h1,h2,h3,h4,h5 { font-family: var(--font-display); color: var(--black); line-height: 1.2; margin-bottom: 1rem; }
h1 { font-size: 2.5rem; font-weight: 400; }
h2 { font-size: 1.75rem; margin-top: 3rem; padding-bottom: .5rem; border-bottom: 3px solid var(--gold); display: inline-block; }
h3 { font-size: 1.25rem; font-weight: 400; color: var(--charcoal); margin-top: 2rem; }
h4 { font-size: 1.05rem; font-weight: 700; font-family: var(--font-body); }
p { margin-bottom: 1rem; max-width: 68ch; }
blockquote { border-left: 4px solid var(--gold); padding: 1rem 1.5rem; margin: 1.5rem 0; background: var(--amber-bg); border-radius: 0 var(--radius) var(--radius) 0; font-style: italic; }

.container { width: 92%; max-width: var(--max-w); margin: 0 auto; }
.content-narrow { max-width: var(--content-w); margin: 0 auto; }
section { padding: 4rem 0; }

/* ---- Header ---- */
.site-header {
  background: var(--black);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,0.4);
  border-bottom: 3px solid var(--gold);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: .4rem 0;
  max-width: var(--max-w);
  width: 92%;
  margin: 0 auto;
  position: relative;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
  color: var(--white);
  flex-shrink: 0;
}
.site-logo .logo-icon { display: none; } /* Hide emoji, using image now */
.site-logo .logo-img {
  height: 55px;
  width: auto;
  border-radius: 50%;
  border: 2px solid var(--gold);
}
.site-logo .logo-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--white);
}
.site-logo .logo-text span { color: var(--gold-bright); }

.main-nav { display: flex; align-items: center; gap: .125rem; }
.main-nav a {
  color: rgba(255,255,255,.8);
  text-decoration: none;
  padding: .4rem .6rem;
  font-size: .8rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: all .2s;
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a.active {
  background: var(--gold);
  color: var(--black);
}

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--gold);
  color: var(--gold);
  font-size: 1.3rem;
  cursor: pointer;
  padding: .25rem .5rem;
  border-radius: var(--radius);
  line-height: 1;
}

/* ---- Announce Bar ---- */
.announce-bar {
  background: var(--gold);
  color: var(--black);
  text-align: center;
  padding: .35rem 1rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .02em;
}
.announce-bar a { color: var(--black); text-decoration: underline; }

/* ---- Hero ---- */
.hero {
  background: var(--black);
  color: var(--white);
  padding: 4rem 0 3.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(212,160,23,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(212,160,23,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.hero-logo {
  width: 280px;
  height: auto;
  margin: 0 auto 2rem;
  border-radius: 50%;
  border: 3px solid var(--gold);
  box-shadow: 0 0 40px rgba(212,160,23,0.25);
  position: relative;
}
.hero h1 {
  font-size: 2.8rem;
  color: var(--white);
  margin-bottom: .75rem;
  position: relative;
}
.hero h1 .highlight { color: var(--gold-bright); }
.hero .subtitle {
  font-size: 1.05rem;
  opacity: .85;
  margin-bottom: 2rem;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}
.hero .badge {
  display: inline-block;
  background: rgba(212,160,23,0.15);
  border: 1px solid rgba(212,160,23,0.3);
  padding: .25rem 1rem;
  border-radius: 50px;
  font-size: .75rem;
  margin-bottom: 1.5rem;
  color: var(--gold-bright);
}
.hero .badge a { color: var(--gold-bright); text-decoration: none; font-weight: 700; }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: .65rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .9rem;
  text-decoration: none;
  transition: transform .15s, box-shadow .15s;
  cursor: pointer;
  border: none;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn-primary { background: var(--gold); color: var(--black); }
.btn-primary:hover { background: var(--gold-bright); }
.btn-secondary { background: transparent; color: var(--gold); border: 2px solid var(--gold); }
.btn-secondary:hover { background: var(--gold); color: var(--black); }
.btn-group { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---- Cards ---- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 1.5rem; margin: 2rem 0; }
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--cream);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.card .card-icon { font-size: 2rem; margin-bottom: .75rem; display: block; }
.card h3 { margin-top: 0; color: var(--black); font-size: 1.1rem; }
.card p { font-size: .9rem; color: var(--gray); }
.card .card-link { display: inline-block; margin-top: .75rem; font-weight: 700; font-size: .85rem; color: var(--gold-dark); font-family: var(--font-body); }

/* ---- Plant meta ---- */
.plant-meta { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-bottom: 1rem; font-size: .9rem; }
.plant-meta dt { font-weight: 700; color: var(--gray); }
.plant-meta dd { margin: 0; }
.pollinator-badge { display: inline-block; background: var(--gold); color: var(--black); padding: 2px 10px; border-radius: 50px; font-size: .75rem; font-weight: 700; }
.pollinator-badge.critical { background: var(--red); color: var(--white); }

/* ---- Stats ---- */
.stats-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; margin: 2rem 0; }
.stat-block { text-align: center; padding: 1.5rem; }
.stat-block .stat-number { font-family: var(--font-display); font-size: 2.5rem; color: var(--gold-dark); line-height: 1; margin-bottom: .5rem; }
.stat-block .stat-label { font-size: .85rem; color: var(--gray); font-weight: 500; }

/* ---- Callouts ---- */
.callout { border-radius: var(--radius); padding: 1.5rem; margin: 1.5rem 0; }
.callout-danger { background: var(--danger-bg); border-left: 4px solid var(--red); }
.callout-success { background: var(--amber-bg); border-left: 4px solid var(--gold); }
.callout-info { background: var(--info-bg); border-left: 4px solid var(--gray); }
.callout-honey { background: var(--amber-bg); border-left: 4px solid var(--amber); }
.callout h4 { margin-bottom: .5rem; }
.callout p:last-child { margin-bottom: 0; }

/* ---- Myth/Truth ---- */
.myth-truth { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin: 1.5rem 0; }
.myth-box, .truth-box { padding: 1.5rem; border-radius: var(--radius); }
.myth-box { background: var(--danger-bg); border-top: 4px solid var(--red); }
.truth-box { background: var(--amber-bg); border-top: 4px solid var(--gold); }
.myth-box h4::before { content: '✗ '; color: var(--red); }
.truth-box h4::before { content: '✓ '; color: var(--gold-dark); }

/* ---- Tables ---- */
.table-wrap { overflow-x: auto; margin: 1.5rem 0; border-radius: var(--radius); border: 1px solid var(--cream); }
table { width: 100%; border-collapse: collapse; font-size: .875rem; }
thead th { background: var(--black); color: var(--gold-bright); padding: .75rem 1rem; text-align: left; font-weight: 700; font-size: .8rem; letter-spacing: .03em; }
tbody td { padding: .75rem 1rem; border-bottom: 1px solid var(--cream); }
tbody tr:nth-child(even) { background: var(--cream); }
tbody tr:hover { background: var(--amber-bg); }

/* ---- Footer ---- */
.site-footer {
  background: var(--black);
  color: var(--white);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
  border-top: 3px solid var(--gold);
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.08); margin-bottom: 0; }
.footer-brand .footer-logo { font-family: var(--font-display); font-size: 1.2rem; color: var(--white); margin-bottom: 1rem; }
.footer-brand .footer-logo span { color: var(--gold-bright); }
.footer-brand p { font-size: .85rem; opacity: .6; line-height: 1.6; max-width: 260px; }
.site-footer h4 { color: var(--gold); font-family: var(--font-body); font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1rem; }
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: .4rem; }
.site-footer ul a { color: rgba(255,255,255,.55); text-decoration: none; font-size: .85rem; transition: color .2s; }
.site-footer ul a:hover { color: var(--gold-bright); }
.footer-bottom { display: flex; flex-direction: column; align-items: center; gap: .5rem; padding-top: 2rem; font-size: .75rem; color: rgba(255,255,255,.35); text-align: center; }
.footer-bottom a { color: var(--gold); }

/* ---- Page Header ---- */
.page-header {
  background: var(--black);
  color: var(--white);
  padding: 3rem 0 2rem;
  border-bottom: 3px solid var(--gold);
  position: relative;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(212,160,23,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.page-header h1 { color: var(--white); margin-bottom: .5rem; position: relative; }
.page-header .page-lead { font-size: 1.05rem; opacity: .75; max-width: 560px; position: relative; }
.breadcrumb { font-size: .8rem; margin-bottom: 1rem; opacity: .5; position: relative; }
.breadcrumb a { color: var(--gold); text-decoration: none; }

/* ---- Article ---- */
.article-content { padding: 3rem 0; }
.article-content h2 { margin-top: 4rem; }
.article-content ul, .article-content ol { margin: 1rem 0; padding-left: 1.5rem; }
.article-content li { margin-bottom: .5rem; }

/* ---- STBN Banner ---- */
.stbn-banner {
  background: var(--charcoal);
  color: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  margin: 3rem 0;
  border: 2px solid var(--gold);
  position: relative;
  overflow: hidden;
}
.stbn-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(212,160,23,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.stbn-banner h3 { color: var(--gold-bright); margin-top: 0; position: relative; }
.stbn-banner p { color: rgba(255,255,255,.8); margin-left: auto; margin-right: auto; position: relative; }
.stbn-banner .btn { margin-top: 1rem; background: var(--gold); color: var(--black); position: relative; }

/* ---- Bloom Calendar ---- */
.bloom-grid { display: grid; grid-template-columns: 160px repeat(12,1fr); gap: 1px; background: var(--cream); border-radius: var(--radius); overflow: hidden; margin: 1.5rem 0; font-size: .75rem; }
.bloom-grid .month-header { background: var(--black); color: var(--gold-bright); padding: .2rem; text-align: center; font-weight: 700; }
.bloom-grid .plant-name { background: var(--white); padding: .2rem .4rem; font-weight: 600; display: flex; align-items: center; }
.bloom-grid .bloom-cell { background: var(--white); padding: .2rem; }
.bloom-grid .bloom-cell.active { background: var(--amber-bg); }
.bloom-grid .bloom-cell.peak { background: var(--gold); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 960px) {
  .hero h1 { font-size: 2.2rem; }
  .hero-logo { width: 160px; }
  h1 { font-size: 2rem; }
  .stats-row { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 700px) {
  html { font-size: 18px; }
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--black);
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 8px 24px rgba(0,0,0,.5);
    border-top: 2px solid var(--gold);
    z-index: 999;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: .75rem 1rem; font-size: .95rem; border-bottom: 1px solid rgba(255,255,255,.06); }
  .main-nav a:last-child { border-bottom: none; }
  .hero { padding: 2.5rem 0; }
  .hero h1 { font-size: 1.8rem; }
  .hero-logo { width: 200px; }
  .hero .subtitle { font-size: .95rem; }
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.3rem; }
  .page-header { padding: 2rem 0 1.5rem; }
  .card-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .stat-block { padding: 1rem; }
  .stat-block .stat-number { font-size: 1.8rem; }
  .myth-truth { grid-template-columns: 1fr; }
  .plant-meta { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .btn { width: 100%; text-align: center; }
  .btn-group { flex-direction: column; gap: .75rem; }
  .table-wrap { margin-left: -4%; margin-right: -4%; border-radius: 0; }
  table { font-size: .8rem; }
  thead th, tbody td { padding: .5rem .625rem; }
  .site-logo .logo-img { height: 44px; }
}

@media (max-width: 400px) {
  .hero h1 { font-size: 1.5rem; }
  h1 { font-size: 1.4rem; }
  .stats-row { grid-template-columns: 1fr; }
  .container { width: 94%; }
  .hero-logo { width: 160px; }
}

@media print {
  .site-header,.site-footer,.announce-bar,.btn,.nav-toggle { display: none; }
  body { color: #000; background: #fff; font-size: 11pt; }
  .hero { background: #ddd; color: #000; padding: 1rem 0; }
  .hero h1,.hero .subtitle { color: #000; }
}

:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; top: -100%; left: 1rem; background: var(--gold); color: var(--black); padding: .5rem 1rem; border-radius: var(--radius); font-weight: 700; z-index: 9999; transition: top .2s; }
.skip-link:focus { top: .5rem; }
