/* =========================================================
   Premier Nsabodie — base.css
   Shared design tokens + resets. Matches the homepage:
   kuntunkuni brown-black, kobene red, unbleached cotton,
   brass accent. Load this before page-specific stylesheets.
   ========================================================= */

:root {
  --ink:        #201612;   /* kuntunkuni brown-black */
  --ink-soft:   #3a2c24;
  --cloth:      #f1e9db;   /* unbleached cotton */
  --cloth-dim:  #e4d8c4;
  --kobene:     #a31f24;   /* mourning red */
  --kobene-dk:  #7e161b;
  --brass:      #c8963e;   /* brass gold, used sparingly */

  --font-display: "Young Serif", Georgia, serif;
  --font-body:    "Instrument Sans", system-ui, sans-serif;
  --font-mono:    "Spline Sans Mono", ui-monospace, monospace;

  --max-w: 1080px;

  /* Adinkrahene stamp texture for dark panels */
  --adinkra-stamp: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='none' stroke='%23f1e9db' stroke-opacity='0.07' stroke-width='2.5'%3E%3Ccircle cx='36' cy='36' r='22'/%3E%3Ccircle cx='36' cy='36' r='13'/%3E%3Ccircle cx='36' cy='36' r='4'/%3E%3C/g%3E%3C/svg%3E");
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cloth);
  color: var(--ink);
  line-height: 1.6;
}

img, svg { display: block; }
a { color: inherit; }

/* ---------- Buttons (shared with homepage) ---------- */
.btn,
button[type="submit"] {
  display: inline-block;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  border: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  background: var(--kobene);
  color: var(--cloth);
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.btn:hover,
button[type="submit"]:hover {
  background: var(--kobene-dk);
  transform: translateY(-1px);
}

.btn:focus-visible,
button[type="submit"]:focus-visible,
input:focus-visible {
  outline: 3px solid var(--brass);
  outline-offset: 2px;
}

/* ---------- Form messages ---------- */
.form-error {
  padding: 0.7rem 1rem;
  border-radius: 10px;
  background: rgba(163, 31, 36, 0.09);
  border: 1px solid rgba(163, 31, 36, 0.35);
  color: var(--kobene-dk);
  font-size: 0.92rem;
}

.form-success {
  font-family: var(--font-display);
  color: var(--brass);
}

/* ---------- Utilities ---------- */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, button[type="submit"] { transition: none; }
}