/* ============================================================
   NEIGHBORS FOR NIWOT — BRAND STYLESHEET (single source of truth)
   Import this into any HTML asset instead of re-writing tokens.

   <link href="https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400;1,700&family=Source+Sans+3:wght@300;400;500;600;700&display=swap" rel="stylesheet">
   <link rel="stylesheet" href="/brand/brand.css">

   Two typefaces only:
     - Playfair Display  → display / headlines / wordmark  (serif)
     - Source Sans 3     → body / labels / UI              (sans)
   ============================================================ */

:root {
  /* ---- Core greens ---- */
  --forest:       #2D4A2E;  /* primary brand green */
  --forest-deep:  #1B2E1C;  /* darkest — backgrounds */
  --sage:         #6B8F71;
  --sage-light:   #8DB893;
  --moss:         #A4BE7B;  /* bright accent green — italic headlines */

  /* ---- Earth & warm neutrals ---- */
  --bark:         #5C4033;
  --bark-light:   #8B6914;
  --earth:        #C4A46C;  /* dividers, gold hairlines */
  --wheat:        #E8DCC8;  /* headline text on dark */
  --cream:        #F5F0E8;
  --warm-white:   #FDFBF7;  /* page background (light) */

  /* ---- Accent / action ---- */
  --clay:         #B85C38;  /* CTA buttons, "NO" emphasis */
  --clay-hover:   #C9673F;

  /* ---- Text ---- */
  --text:         #2C2416;
  --text-light:   #5A4E3C;

  /* ---- Type ---- */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Source Sans 3', system-ui, sans-serif;

  /* ---- Radii ---- */
  --radius-sm: 6px;
  --radius-md: 12px;
}

/* ============================================================
   WORDMARK  (typographic — no monogram)
   Usage:
     <span class="nfn-wordmark">Neighbors <em>for</em> Niwot</span>
   Add .on-dark when placed over forest backgrounds.
   ============================================================ */
.nfn-wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--forest);
  line-height: 1;
  white-space: nowrap;
}
.nfn-wordmark em {
  font-style: italic;
  font-weight: 400;
  color: var(--sage);
}
.nfn-wordmark.on-dark        { color: var(--moss); }
.nfn-wordmark.on-dark em     { color: var(--wheat); }

/* ============================================================
   BUTTONS
   ============================================================ */
.nfn-btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, background 0.2s ease;
}
.nfn-btn:hover { transform: translateY(-1px); }
.nfn-btn--primary   { background: var(--clay);  color: var(--warm-white); }
.nfn-btn--primary:hover { background: var(--clay-hover); }
.nfn-btn--secondary { background: var(--forest); color: var(--wheat); }
.nfn-btn--outline   { background: transparent; color: var(--forest); box-shadow: inset 0 0 0 1.5px var(--forest); }

/* ============================================================
   SURFACES
   ============================================================ */
.nfn-surface-dark {
  background:
    radial-gradient(ellipse at 20% 80%, rgba(164,190,123,0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(196,164,108,0.10) 0%, transparent 50%),
    linear-gradient(175deg, var(--forest-deep) 0%, var(--forest) 45%, #3A5C3B 100%);
  color: var(--wheat);
}
.nfn-surface-light { background: var(--warm-white); color: var(--text); }

/* Gold hairline divider */
.nfn-divider {
  height: 1.5px;
  border: 0;
  background: linear-gradient(90deg, transparent, var(--earth), transparent);
}

/* ============================================================
   PRINT SCAFFOLDING
   Decorative faint rings used across flyers/hangers.
   ============================================================ */
.nfn-rings::before,
.nfn-rings::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(164,190,123,0.08);
  pointer-events: none;
}
.nfn-rings::before { top: -2in;  right: -2in; width: 6in; height: 6in; }
.nfn-rings::after  { bottom: -1.5in; left: -1.5in; width: 5in; height: 5in; border-color: rgba(164,190,123,0.06); }

/* Legally-required disclaimer chip — keep on every public piece */
.nfn-disclaimer {
  border: 1px solid rgba(164,190,123,0.3);
  border-radius: var(--radius-sm);
  padding: 0.1in 0.25in;
  font-family: var(--font-body);
  font-size: 8.5pt;
  letter-spacing: 0.04em;
  color: rgba(232,220,200,0.55);
  text-align: center;
}

/* QR treatment (cream tile so codes stay scannable) */
.nfn-qr {
  background: var(--wheat);
  border-radius: var(--radius-md);
  padding: 10px;
  display: inline-block;
  line-height: 0;
}
