/* Suite 444 shared visual system (loaded after each page's own styles).
   Keeps the black / gold / cream / pink identity and gives every public page the same:
   fonts, buttons, form fields, focus + hover states, and readable gold on light backgrounds.
   Rules: rounded gold = primary action, gold outline = secondary action,
   gold-to-pink gradients are decoration only, script fonts are for short accents only. */

:root {
  --bs-black: #030303;
  --bs-ink: #11100f;
  --bs-cream: #fbfaf6;
  --bs-gold: #c99b2f;
  --bs-gold-light: #f4d77a;
  --bs-gold-dark: #a97f1f;
  /* Gold that stays readable (>= 4.5:1) on cream and white backgrounds. */
  --bs-gold-ink: #7a5710;
  --bs-pink: #e6498b;
  --bs-pink-ink: #a3376a;
  --bs-font-body: "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --bs-font-head: Georgia, "Times New Roman", serif;
  --bs-font-script: "Pinyon Script", "Snell Roundhand", "Brush Script MT", cursive;
  --bs-radius-btn: 999px;
  --bs-radius-card: 16px;
  --bs-radius-field: 12px;
  --bs-line: rgba(201, 155, 47, 0.55);
  --bs-space: clamp(16px, 4vw, 28px);
}

/* ---------- Buttons: primary = rounded gold ---------- */
body .gold-button,
body .discovery-button,
body .btn.btn--gold,
body .wk2-btn:not(.wk2-btn-line),
body .skx-actions .discovery-button {
  border: 1px solid var(--bs-gold-light);
  border-radius: var(--bs-radius-btn);
  color: #140f03;
  background: linear-gradient(135deg, var(--bs-gold-light), var(--bs-gold) 62%, var(--bs-gold-dark));
  background-size: 100% 100%;
  box-shadow: 0 8px 24px -12px rgba(201, 155, 47, 0.75);
  animation: none;
  white-space: normal;
  text-align: center;
  line-height: 1.3;
  padding-top: 12px;
  padding-bottom: 12px;
  max-width: 100%;
}
body .gold-button:hover,
body .gold-button:focus-visible,
body .discovery-button:hover,
body .discovery-button:focus-visible,
body .btn.btn--gold:hover,
body .btn.btn--gold:focus-visible,
body .wk2-btn:not(.wk2-btn-line):hover,
body .wk2-btn:not(.wk2-btn-line):focus-visible {
  color: #140f03;
  filter: brightness(1.07);
  box-shadow: 0 12px 30px -10px rgba(201, 155, 47, 0.85);
}

/* ---------- Buttons: secondary = gold outline ---------- */
body .outline-button,
body .btn.btn--line,
body .wk2-btn.wk2-btn-line {
  border: 1.5px solid var(--bs-gold);
  border-radius: var(--bs-radius-btn);
  background: transparent;
  color: var(--bs-gold-light);
  white-space: normal;
  text-align: center;
  line-height: 1.3;
  max-width: 100%;
}
body .outline-button:hover,
body .outline-button:focus-visible,
body .btn.btn--line:hover,
body .btn.btn--line:focus-visible,
body .wk2-btn.wk2-btn-line:hover,
body .wk2-btn.wk2-btn-line:focus-visible {
  background: rgba(201, 155, 47, 0.14);
  border-color: var(--bs-gold-light);
  color: var(--bs-gold-light);
}
/* Secondary buttons on cream / white backgrounds use the dark gold ink. */
body .on-light .outline-button,
body .on-light .btn.btn--line,
body .section-light .outline-button,
body .section-light .btn.btn--line,
body #main-work .wk2-btn.wk2-btn-line {
  color: var(--bs-gold-ink);
  border-color: var(--bs-gold-ink);
}
body .on-light .outline-button:hover,
body .section-light .outline-button:hover,
body #main-work .wk2-btn.wk2-btn-line:hover {
  color: var(--bs-black);
  border-color: var(--bs-black);
  background: rgba(201, 155, 47, 0.16);
}

/* ---------- Focus (keyboard) on every interactive element ---------- */
body a:focus-visible,
body button:focus-visible,
body summary:focus-visible,
body [role="button"]:focus-visible,
body input:focus-visible,
body select:focus-visible,
body textarea:focus-visible {
  outline: 2px solid var(--bs-gold-light);
  outline-offset: 3px;
}
body .on-light a:focus-visible,
body .on-light button:focus-visible,
body .section-light a:focus-visible,
body .section-light button:focus-visible {
  outline-color: var(--bs-gold-ink);
}

/* ---------- Form fields ---------- */
body input,
body select,
body textarea,
body button {
  font-family: var(--bs-font-body);
}
body input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]):not([type="hidden"]):not([type="submit"]):not([type="button"]),
body select,
body textarea {
  border-radius: var(--bs-radius-field);
  border-color: var(--bs-line);
}
body input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):focus,
body select:focus,
body textarea:focus {
  border-color: var(--bs-gold-light);
  box-shadow: 0 0 0 3px rgba(244, 215, 122, 0.28);
}

/* ---------- Cards ---------- */
body .tier,
body .gs2-card,
body .sv2-card,
body .svx-start,
body .skx-planner-card,
body .skx-reward,
body .skx-earn {
  border-radius: var(--bs-radius-card);
}

/* ---------- Script accents stay short; descriptions, prices and forms use readable fonts ---------- */
body .skx-table td,
body .skx-table th,
body .tier p,
body .tier li {
  font-family: var(--bs-font-body);
}

/* ---------- Footer: entity note + readable links ---------- */
.site-footer .footer-entities {
  flex: 1 1 100%;
  max-width: 62ch;
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--soft, #d8d0c1);
}
.site-footer .social-links a:focus-visible {
  outline: 2px solid var(--bs-gold-light);
  outline-offset: 3px;
}

/* ---------- Full-nav rewards / society / directory pages ---------- */
body.sk-fullnav .sk-main {
  padding-top: 0;
}
body.sk-fullnav .sk-main > :first-child {
  margin-top: 0;
}

/* ---------- Never let one long label force sideways scrolling on phones ---------- */
@media (max-width: 640px) {
  body .gold-button,
  body .discovery-button,
  body .outline-button,
  body .btn {
    letter-spacing: 0.1em;
    padding-left: 18px;
    padding-right: 18px;
  }
}

/* Contrast fixes found in the audit */
body .ss-sticky a.gold-button { color: #140f03; }
body .rs-lu-tag:not(.rs-lu-tag-next) { background: var(--bs-pink-ink); color: #fff; }
