/* ============================================
   Sussex Networking: palette tokens
   ============================================
   Every colour the site uses is defined here and nowhere else. css/style.css
   only references these tokens. To stand up another region, change this file
   (and keep config/site.json "theme" in step for emails and generated PNGs).

   Sussex palette: martlet and chalk. The blue and gold of the county flag
   (six gold martlets on blue) as a deep Channel-navy ink, a flag-blue accent
   and martlet gold on dark, on pale South Downs chalk paper. Rules: never
   gold text on paper (gold is for dark surfaces; the CTA is the blue with
   white text); links on light surfaces are the darker blue. */
:root {
  /* Ink (dark chrome: header, hero, subscribe, footer) */
  --site-ink: #0E1E3A;
  --site-ink-soft: #152A4D;
  --site-ink-card: #1F3A66;
  --site-ink-hairline: rgba(255, 255, 255, 0.10);
  --site-ink-rgb: 14, 30, 58;

  /* Paper (the listing) */
  --site-bg: #F4F6FA;
  --site-surface: #FFFFFF;
  --site-surface-alt: #E5EAF2;
  --site-surface-past: #EDF1F7;
  --site-border: #D3DAE6;
  --site-border-light: #E1E6EF;

  --site-text: #18202E;
  --site-text-muted: #556175;
  --site-heading: #0B1630;

  /* Flag-blue accent: selection, links and positive state on light surfaces */
  --site-accent: #1D4F9A;
  --site-accent-light: #2A62B5;
  --site-accent-dark: #173F7C;
  --site-accent-rgb: 29, 79, 154;
  --site-accent-glow: rgba(29, 79, 154, 0.08);

  /* Martlet gold: the accent on ink (wordmark, eyebrows, links on dark) */
  --site-gold: #F2C230;
  --site-gold-light: #F7D872;
  --site-gold-rgb: 242, 194, 48;

  /* Primary call to action: blue with white text */
  --site-cta: #1D4F9A;
  --site-cta-hover: #173F7C;
  --site-cta-deep: #12336A;
  --site-on-cta: #FFFFFF;

  /* Semantic */
  --site-confirmed: #1F6B3F;
  --site-confirmed-rgb: 31, 107, 63;
  --site-verified: #1F3A66;
  --site-verified-rgb: 31, 58, 102;
  --site-likely: #A3472D;
  --site-likely-rgb: 163, 71, 45;
  --site-free: #1F6B3F;
  --site-expo: #A3472D;
  --site-sandstone: #A3472D;

  /* Badge backgrounds */
  --site-badge-neutral: #E5EAF2;

  /* Hero */
  --site-hero-text: #F4F6FA;
  --site-hero-muted: rgba(244, 246, 250, 0.82);

  /* Subscribe + footer sit on ink */
  --site-subscribe-bg: var(--site-ink-soft);
  --site-footer-bg: var(--site-ink);
  --site-footer-text: rgba(244, 246, 250, 0.9);
  --site-footer-muted: rgba(244, 246, 250, 0.6);
  /* Region artwork. The martlet is single-colour, so the header mark is
     the icon used as a mask, filled with the accent */
  --site-mark-image: url("/r/sussex/images/icon.svg");
  --site-mark-fill: var(--site-gold);
  --site-mark-mask: var(--site-mark-image) center / contain no-repeat;
  --site-mark-radius: 0;
  --site-promo-logo: url("/images/wingenious-logo.svg");
  --site-promo-logo-fill: #FFFFFF;
  --site-promo-logo-mask: var(--site-promo-logo) left center / contain no-repeat;

  /* Shadows: hairline ring + soft blur */
  --shadow-card: 0 0 0 1px rgba(14, 30, 58, 0.06), 0 2px 12px rgba(14, 30, 58, 0.06);
  --shadow-card-hover: 0 0 0 1px rgba(29, 79, 154, 0.35), 0 10px 28px rgba(14, 30, 58, 0.12);
  --shadow-btn: 0 8px 24px -10px rgba(29, 79, 154, 0.55);
}
