/* =============================================================
   Shared chrome for every page: Thadus Group banner, nav,
   discontinued notice and footer. Classes are prefixed `site-`
   so they never collide with a page's own styles.
   Needs the Nunito (800, 900) and Inter fonts loaded by the page.
   ============================================================= */

.site-banner, .site-nav, .site-notice, .site-footer {
  --ch-ink: #0f172a;
  --ch-body: #334155;
  --ch-muted: #64748b;
  --ch-line: #e2e8f0;
  --ch-accent: #2563eb;
  --ch-accent-hover: #1d4ed8;
  --ch-navy: #141b2e;
  --ch-cream: #fbf6ec;
  --ch-gold-tint: #fdf3de;
  --ch-gold-deep: #8a6206;
  --ch-display: "Nunito", "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
  --ch-text: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --ch-ease: cubic-bezier(0.2, 0.6, 0.2, 1);
  font-family: var(--ch-text);
  -webkit-font-smoothing: antialiased;
}
.site-inner { max-width: 1120px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; }

/* Thadus Group banner */
.site-banner { background: var(--ch-navy); color: #c9c3b6; font-size: 13px; line-height: 1.4; }
.site-banner .site-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 36px; }
.site-banner b { color: var(--ch-cream); font-weight: 600; }
.site-banner a { color: var(--ch-cream); text-decoration: none; white-space: nowrap; }
.site-banner a:hover { color: var(--ch-cream); text-decoration: underline; }

/* Nav */
.site-nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--ch-line); }
.site-nav .site-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 64px; }
.site-brand {
  display: flex; align-items: center; gap: 10px;
  font: 900 20px/1 var(--ch-display);
  letter-spacing: -0.02em;
  color: var(--ch-ink);
  text-decoration: none;
}
.site-brand:hover { color: var(--ch-ink); text-decoration: none; }
.site-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--ch-gold-tint);
  color: var(--ch-gold-deep);
  font: 600 12px/1.4 var(--ch-text);
  letter-spacing: 0.02em;
}
.site-links { display: flex; align-items: center; gap: 24px; }
.site-links a { color: var(--ch-body); text-decoration: none; font-weight: 500; font-size: 15px; }
.site-links a:hover { color: var(--ch-ink); text-decoration: none; }
.site-links .site-btn {
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--ch-accent);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  transition: background-color .18s var(--ch-ease);
}
.site-links .site-btn:hover { background: var(--ch-accent-hover); color: #fff; }

/* Discontinued notice (pages other than the home page) */
.site-notice { background: var(--ch-gold-tint); color: var(--ch-gold-deep); font-size: 14px; line-height: 1.5; border-bottom: 1px solid #f1e2bd; }
.site-notice .site-inner { padding-top: 12px; padding-bottom: 12px; }
.site-notice a { color: var(--ch-gold-deep); font-weight: 600; }

/* Footer */
.site-footer { border-top: 1px solid var(--ch-line); padding: 64px 0 48px; font-size: 14px; line-height: 1.6; color: var(--ch-muted); background: #fff; }
.site-footer .site-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; }
.site-footer p { margin: 16px 0 0; max-width: 40ch; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 32px; align-content: start; }
.site-footer a { color: var(--ch-body); text-decoration: none; }
.site-footer a:hover { color: var(--ch-ink); text-decoration: underline; }
.site-footer .site-brand { display: inline-flex; }
.site-footer .site-base { grid-column: 1 / -1; margin: 0; max-width: none; padding-top: 24px; border-top: 1px solid var(--ch-line); }

.site-banner a:focus-visible, .site-nav a:focus-visible, .site-footer a:focus-visible, .site-notice a:focus-visible {
  outline: 2px solid var(--ch-accent); outline-offset: 3px; border-radius: 4px;
}

@media (max-width: 900px) {
  .site-links a:not(.site-btn) { display: none; }
  .site-footer .site-inner { grid-template-columns: 1fr; }
}
@media (min-width: 561px) { .site-short { display: none; } }
@media (max-width: 560px) {
  .site-long, .site-nav .site-tag { display: none; }
  .site-inner { padding: 0 16px; }
  .site-brand { font-size: 18px; white-space: nowrap; }
  .site-links .site-btn { padding: 7px 14px; font-size: 13px; white-space: nowrap; }
}
