/*
 * Product-facing brand styles scoped to .site-brand.
 * Ink (#173f35) is identity: headings, wordmark, card offset.
 * Accent (#d94b2b) is action: buttons, links, focus, the W mark.
 * Do not add global body or :root overrides here.
 */

.site-brand {
  --brand-paper: #f5f0e6;
  --brand-ink: #173f35;
  --brand-accent: #d94b2b;
  --brand-mustard: #f4c95d;
  --brand-muted: #4b574f;
  background-color: var(--brand-paper);
  color: #1f2924;
}

.site-brand .brand-card {
  background-color: #fffdf8;
  border: 2px solid rgba(31, 41, 36, 0.15);
  box-shadow: 4px 4px 0 var(--brand-ink);
}

.site-brand .brand-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #1f2924;
  background-color: var(--brand-accent);
  color: #fff;
  font-weight: 700;
  padding: 0.625rem 1.25rem;
  box-shadow: 3px 3px 0 #1f2924;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.site-brand .brand-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 5px 5px 0 #1f2924;
}

.site-brand .brand-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #1f2924;
  background-color: #fffdf8;
  color: var(--brand-ink);
  font-weight: 700;
  padding: 0.625rem 1.25rem;
  box-shadow: 3px 3px 0 #1f2924;
}

.site-brand .brand-heading {
  color: var(--brand-ink);
  font-weight: 600;
}

.site-brand .brand-nav-link {
  color: var(--brand-muted);
  font-weight: 600;
}

.site-brand .brand-nav-link:hover,
.site-brand .brand-nav-link.is-active {
  color: var(--brand-accent);
}

.site-brand .brand-input {
  border: 1px solid rgba(31, 41, 36, 0.2);
  background-color: #fffdf8;
  border-radius: 0.375rem;
  padding: 0.5rem 0.75rem;
  width: 100%;
}

.site-brand .brand-input:focus {
  outline: 2px solid rgba(217, 75, 43, 0.35);
  outline-offset: 1px;
}

.site-brand .brand-sidebar-link.is-active {
  background-color: rgba(23, 63, 53, 0.08);
  color: var(--brand-ink);
  font-weight: 600;
}

.site-brand .brand-sidebar-link {
  color: var(--brand-muted);
}

.site-brand .brand-sidebar-link:hover {
  background-color: rgba(23, 63, 53, 0.05);
  color: var(--brand-ink);
}

.site-brand .brand-form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-ink);
}

.site-brand .brand-form-hint {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: #68726b;
}

.site-brand .brand-textarea {
  min-height: 6rem;
  resize: vertical;
}

.site-brand .brand-select {
  appearance: auto;
}

.site-brand .brand-link {
  color: var(--brand-accent);
  font-weight: 600;
}

.site-brand .brand-link:hover {
  text-decoration: underline;
}

.site-brand .brand-error-box {
  border: 1px solid rgba(217, 75, 43, 0.35);
  background-color: #fff5f2;
  color: #9a3412;
  border-radius: 0.375rem;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
}

.site-brand .brand-error-box ul {
  list-style: disc;
  padding-left: 1.25rem;
}

.site-brand .brand-page-title {
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--brand-ink);
}

.site-brand .brand-muted {
  color: var(--brand-muted);
}
