/* Cookie bar (consent.js). Full width along the bottom, never modal. The
   buttons are the site's own .btn recipe (3px radius, ink/paper, the fill
   that rises on hover, the mono "+"), copied here so the bar looks the same
   on every page including the ones without the shared styles. */
.cookie-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
  background: #FAF9F6; color: #0B0B0C;
  border-top: 1px solid rgba(11, 11, 12, 0.12);
  box-shadow: 0 -18px 40px -28px rgba(11, 11, 12, 0.35);
  opacity: 0; transform: translateY(100%);
  transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1), transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.cookie-bar[hidden] { display: none; }
.cookie-bar.is-in { opacity: 1; transform: none; }
.cookie-bar-inner {
  max-width: 1380px; margin: 0 auto; padding: 18px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.cookie-bar-text { min-width: 0; }
.cookie-bar-title {
  margin: 0 0 4px; font-family: "Cabinet Grotesk", "Switzer", system-ui, sans-serif;
  font-weight: 700; font-size: 1rem; letter-spacing: -0.02em; line-height: 1.2;
}
.cookie-bar-body { margin: 0; font-size: 0.9rem; line-height: 1.55; color: #56524B; max-width: 62ch; }
.cookie-bar-body a { color: #0B0B0C; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.cookie-bar-body a:hover { text-decoration-thickness: 2px; }
.cookie-bar-body a:focus-visible { outline: 2px solid #0B0B0C; outline-offset: 2px; border-radius: 3px; }
.cookie-bar-actions { display: flex; gap: 10px; flex-shrink: 0; }

/* The site's button, verbatim. */
.cookie-btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 0.75rem 1.3rem; border-radius: 3px; border: 1px solid #0B0B0C;
  font: inherit; font-weight: 600; font-size: 0.9rem; line-height: 1.2; cursor: pointer;
  transition: color 0.35s cubic-bezier(0.22, 1, 0.36, 1) 0.04s;
}
.cookie-btn .arr { font-family: "JetBrains Mono", monospace; font-size: 1.05em; font-weight: 400; line-height: 1; display: inline-flex; transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
.cookie-btn:hover .arr, .cookie-btn:focus-visible .arr { transform: rotate(90deg); }
.cookie-btn::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: scaleY(0); transform-origin: bottom; transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1); }
.cookie-btn:hover::before, .cookie-btn:focus-visible::before { transform: scaleY(1); }
.cookie-btn:focus-visible { outline: 2px solid #0B0B0C; outline-offset: 3px; }
.cookie-btn:active { transform: scale(0.985); }
.cookie-btn-primary { background: #0B0B0C; color: #FAF9F6; }
.cookie-btn-primary::before { background: #FAF9F6; }
.cookie-btn-primary:hover, .cookie-btn-primary:focus-visible { color: #0B0B0C; }
.cookie-btn-ghost { background: transparent; color: #0B0B0C; }
.cookie-btn-ghost::before { background: #0B0B0C; }
.cookie-btn-ghost:hover, .cookie-btn-ghost:focus-visible { color: #FAF9F6; }

@media (max-width: 720px) {
  .cookie-bar-inner { flex-direction: column; align-items: stretch; gap: 14px; padding: 16px 16px 18px; }
  .cookie-bar-actions { width: 100%; }
  .cookie-btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .cookie-bar { transition: none; transform: none; }
  .cookie-btn, .cookie-btn::before, .cookie-btn .arr { transition: none; }
}

/* The site hides the native cursor on fine pointers and draws its own; the
   bar must never bring the native one back. */
@media (pointer: fine) {
  .cookie-bar, .cookie-bar * { cursor: none !important; }
}
