/* DESIGN LOCK — Trellis Span family (nav, footer, hero, all pages)
   forest #184A32 · wheat #C99212 · pith #FFF3C2 · ink #142018 · sap #2FA36B · kraft #E4D4B8
   Comfortaa display · Public Sans body · soft 1.15rem radius · wheat pills · packet-notch CTAs
*/
:root {
  --bf-forest: #184A32;
  --bf-forest-deep: #0E2C1E;
  --bf-wheat: #C99212;
  --bf-pith: #FFF3C2;
  --bf-ink: #142018;
  --bf-sap: #2FA36B;
  --bf-wash: #F4F0DE;
  --bf-paper: #FFFBF0;
  --bf-mute: #3D4A40;
  --bf-line: rgba(24, 74, 50, 0.18);
  --bf-grain: rgba(20, 32, 24, 0.06);
  --bf-ease: cubic-bezier(0.22, 0.8, 0.28, 1);
  --bf-shadow: 0 10px 24px rgba(14, 44, 30, 0.16);
  --bf-radius: 1.15rem;
  --bf-radius-sm: 0.75rem;
  --bf-pill: 999px;
  --bf-display: Comfortaa, "Segoe UI", sans-serif;
  --bf-body: "Public Sans", "Segoe UI", sans-serif;
  --bf-space-1: 0.5rem;
  --bf-space-2: 1rem;
  --bf-space-3: 1.5rem;
  --bf-space-4: 2rem;
  --bf-space-5: 3rem;
  --bf-space-6: 4rem;
  --bf-nav-h: 92px;
  --bf-primary: var(--bf-wheat);
  --bf-secondary: var(--bf-forest);
  --bf-accent: var(--bf-wheat);
  --bf-bg: var(--bf-wash);
  --bf-text: var(--bf-ink);
  --bf-surface: var(--bf-paper);
  --bf-white: #FFFBF0;
  --bf-border: var(--bf-line);
  --bf-night: var(--bf-forest-deep);
  --bf-kraft: #E4D4B8;
  --bf-kraft-deep: #C9B896;
  --sp-tab-h: 4.75rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.a114-body {
  margin: 0;
  font-family: var(--bf-body);
  color: var(--bf-ink);
  background: var(--bf-wash);
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: clip;
}
.visually-hidden,
.bf-vh {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
body.a114-body a { color: var(--bf-forest); }
img { max-width: 100%; display: block; }
h1, h2, h3, .bf-display {
  font-family: var(--bf-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--bf-ink);
}
.a114-skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--bf-wheat);
  color: var(--bf-ink);
  padding: 8px 14px;
  z-index: 80;
  border-radius: var(--bf-pill);
}
.a114-skip:focus { left: 8px; }
.a114-wrap {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}
.a114-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border: 2px solid var(--bf-forest);
  font-family: var(--bf-display);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  cursor: pointer;
  border-radius: var(--bf-pill);
  transition: transform 200ms var(--bf-ease), background 200ms var(--bf-ease), box-shadow 200ms var(--bf-ease);
}
.a114-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}
.a114-btn:focus-visible {
  outline: 2px solid var(--bf-wheat);
  outline-offset: 2px;
}
.a114-btn--primary {
  background: var(--bf-wheat);
  color: var(--bf-ink);
  border-color: var(--bf-wheat);
  box-shadow: var(--bf-shadow);
}
.a114-btn--primary:hover,
.a114-btn--primary:focus-visible {
  background: var(--bf-pith);
  color: var(--bf-ink);
  transform: translateY(-2px);
}
.a114-btn--ghost,
.a114-btn--secondary {
  background: transparent;
  color: var(--bf-forest);
}
.a114-btn--ghost:hover,
.a114-btn--secondary:hover,
.a114-btn--ghost:focus-visible {
  background: var(--bf-pith);
  color: var(--bf-ink);
}
.a114-btn--blue,
.a114-btn--danger {
  background: var(--bf-forest);
  color: var(--bf-pith);
  border-color: var(--bf-forest);
}
.a114-btn--blue:hover,
.a114-btn--danger:hover,
.a114-btn--blue:focus-visible,
.a114-btn--danger:focus-visible {
  background: var(--bf-forest-deep);
  color: var(--bf-pith);
}
.a114-kicker {
  margin: 0 0 8px;
  font-family: var(--bf-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bf-forest);
}
.a114-notice {
  padding: 12px 16px;
  border-radius: var(--bf-radius-sm);
  background: var(--bf-pith);
  color: var(--bf-ink);
  border: 1px solid var(--bf-wheat);
  font-weight: 600;
}
.toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 70;
  max-width: 360px;
  padding: 12px 16px;
  background: var(--bf-forest);
  color: var(--bf-pith);
  border-radius: var(--bf-radius-sm);
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms var(--bf-ease);
}
.toast.visible { opacity: 1; }
@media (max-width: 54rem) {
  .toast { bottom: calc(var(--sp-tab-h, 4.75rem) + 12px); }
}
.pg-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.88rem;
  margin-bottom: 12px;
}
.pg-breadcrumb a { color: var(--bf-forest); font-weight: 700; }
.bf-field,
.auth-form input:where(:not([type="checkbox"]):not([type="radio"]):not([type="hidden"])),
.auth-form textarea,
.bf-log input:where(:not([type="checkbox"]):not([type="radio"]):not([type="hidden"])),
.bf-log textarea,
.cx-form input:where(:not([type="checkbox"]):not([type="radio"]):not([type="hidden"])),
.cx-form textarea,
.cx-form select,
.a114-body input:where(:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="image"])),
.a114-body textarea,
.a114-body select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--bf-line);
  background: var(--bf-paper);
  color: var(--bf-ink);
  padding: 10px 12px;
  font: inherit;
  border-radius: var(--bf-radius-sm);
}
.a114-body input[type="checkbox"],
.a114-body input[type="radio"] {
  width: 1.15rem;
  height: 1.15rem;
  min-height: 0;
  min-width: 1.15rem;
  padding: 0;
  flex: 0 0 1.15rem;
  accent-color: var(--bf-forest);
  border: 0;
  background: transparent;
}
.a114-body input:where(:not([type="checkbox"]):not([type="radio"]):not([type="hidden"])):focus,
.a114-body textarea:focus,
.a114-body select:focus,
.bf-field:focus,
.auth-form input:focus,
.cx-form input:focus,
.cx-form textarea:focus {
  outline: 2px solid var(--bf-wheat);
  outline-offset: 2px;
  border-color: var(--bf-wheat);
}
label,
.tl-qty-label,
.tt-qty-label,
.rw-channel-label,
[class$="-label"] {
  position: relative;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
}
label {
  font-weight: 700;
  color: var(--bf-ink);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .a114-btn,
  .toast {
    transition: none;
  }
}
