/* Crier · look A "Bell Hour": a bronze bell over a night square. Near-black ground, warm white ink, one brass accent
   (buttons carry black text on brass). Gloock for display, Familjen Grotesk for text and figures (both OFL). */
@font-face { font-family: 'Gloock'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/gloock.woff2') format('woff2'); }
@font-face { font-family: 'Familjen Grotesk'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/assets/fonts/familjen-grotesk.woff2') format('woff2'); }

:root {
  --ground: #090908;
  --raised: #121110;
  --raised-2: #191714;
  --ink: #f3efe6;
  --ink-2: #cfc9bc;
  --dim: #8d877b;
  --line: rgba(243, 239, 230, .12);
  --line-2: rgba(243, 239, 230, .22);
  --brass: #f2b544;
  --brass-ink: #0c0a06;
  --brass-soft: rgba(242, 181, 68, .14);
  --danger: #ff7a5c;
  --radius: 14px;
  --display: 'Gloock', Georgia, serif;
  --text: 'Familjen Grotesk', system-ui, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 16px/1.55 var(--text); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: -.005em; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
.muted { color: var(--dim); }
.small { font-size: 13.5px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(9, 9, 8, .55); color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, transform .15s; white-space: nowrap; }
.btn:hover { border-color: var(--ink-2); }
.btn.solid { background: var(--brass); border-color: var(--brass); color: var(--brass-ink); }
.btn.solid:hover { background: #ffc65c; }
.btn.ghost { background: transparent; border-color: transparent; color: var(--ink-2); }
.btn.ghost:hover { color: var(--ink); border-color: var(--line); }
.btn.small { padding: 8px 14px; font-size: 14px; }
.btn.big { padding: 15px 26px; font-size: 16px; }
.btn[disabled] { opacity: .55; cursor: progress; }
.btn[data-busy]::after { content: ''; width: 12px; height: 12px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.link { background: none; border: 0; padding: 0; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link.danger, .danger { color: var(--danger); }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; max-width: min(560px, calc(100vw - 32px)); padding: 13px 18px; border-radius: 12px; background: var(--raised-2); border: 1px solid var(--line-2); color: var(--ink); font-size: 15px; transition: opacity .2s, transform .2s; z-index: 50; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast[data-kind="error"] { border-color: rgba(255, 122, 92, .6); }
@media (prefers-reduced-motion: reduce) { * { animation-duration: 0s !important; transition-duration: 0s !important; } }
