/* ============================================================
   The Backniners Club: brand system
   Stone ground, deep pine panels, cream, sage. Fraunces + Inter.
   ============================================================ */

@font-face { font-family: "Fraunces"; font-weight: 300; font-display: swap; src: url(fonts/fraunces-latin-300-normal.woff2) format("woff2"); }
@font-face { font-family: "Fraunces"; font-weight: 400; font-display: swap; src: url(fonts/fraunces-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Fraunces"; font-weight: 600; font-display: swap; src: url(fonts/fraunces-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url(fonts/inter-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url(fonts/inter-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url(fonts/inter-latin-600-normal.woff2) format("woff2"); }

:root {
  --stone: #f1eee6;
  --white: #fffefb;
  --char: #21221d;
  --muted: #62615a;
  --border: #ddd7c8;
  --pine: #22352a;
  --pine-deep: #1a2a21;
  --cream: #f3edda;
  --cream-soft: rgba(243, 237, 218, 0.75);
  --sage: #8ba081;
  --sage-deep: #4d5c48;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", "Segoe UI", -apple-system, Arial, sans-serif;
  --base-size: 17px;
}
html { font-size: var(--base-size); scroll-behavior: smooth; }
html.size-lg { --base-size: 20px; }
html.size-xl { --base-size: 23px; }

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--stone);
  color: var(--char);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
}

.wrap { width: min(1200px, calc(100vw - 40px)); margin: 0 auto; }

.kicker {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--sage-deep);
}

/* ---- nav ---- */
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 26px 0; }
.wordmark { font-family: var(--serif); font-weight: 600; font-size: 1.5rem; color: var(--char); text-decoration: none; }
.wordmark span { color: var(--sage-deep); }
.nav .links { display: flex; align-items: center; gap: 34px; font-size: 0.9rem; font-weight: 500; }
.nav .links a { color: var(--muted); text-decoration: none; }
.nav .links a:hover, .nav .links a[aria-current="page"] { color: var(--char); }
.nav .join {
  background: var(--char); color: var(--stone) !important;
  padding: 12px 26px; border-radius: 999px;
}
.nav .join:hover { background: #000; }
@media (max-width: 880px) { .nav .links a:not(.join) { display: none; } }

/* ---- shared bits ---- */
a:focus-visible, button:focus-visible, input:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--sage-deep);
  outline-offset: 2px;
}
.btn-dark {
  display: inline-block;
  background: var(--char); color: var(--stone);
  border: 0; border-radius: 12px;
  padding: 16px 32px;
  font: 500 0.95rem var(--sans);
  cursor: pointer; text-decoration: none;
}
.btn-dark:hover { background: #000; }

/* ---- footer (grip leather) ---- */
.site-footer {
  margin-top: 100px;
  margin-bottom: 24px;
  border-radius: 28px;
  padding: 36px 40px 42px;
  background:
    linear-gradient(rgba(14, 16, 15, 0.42), rgba(14, 16, 15, 0.5)),
    url("img/textures/grip.jpg") center / cover no-repeat var(--char);
}
.site-footer .inner { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; color: rgba(243, 237, 218, 0.72); font-size: 0.85rem; }
.site-footer a { color: var(--cream); text-decoration: none; font-weight: 500; }
.site-footer a:hover { text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
