/* SiteRedo — small additions on top of the Tailwind runtime. */
:root { color-scheme: light; }

html { -webkit-text-size-adjust: 100%; }

body {
  background-color: #faf8f4;
  color: #16150f;
  text-rendering: optimizeLegibility;
}

::selection { background: #8a6a3f; color: #faf8f4; }

/* Focus that stays visible on both paper and ink surfaces. */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, summary:focus-visible {
  outline: 2px solid #8a6a3f;
  outline-offset: 2px;
}

/* Instrument Serif at display sizes reads better with slightly tighter spacing. */
.font-display { letter-spacing: -0.01em; }

/* Long emails and URLs should never push a card wider than its column. */
.break-anywhere { overflow-wrap: anywhere; word-break: break-word; }

/* Admin tables: keep numbers aligned without dragging in a table library. */
.tnum { font-variant-numeric: tabular-nums; }

/* Subtle paper grain, only on large screens, and only where asked for. */
@media (min-width: 768px) {
  .grain {
    background-image: radial-gradient(rgba(22, 21, 15, 0.045) 0.5px, transparent 0.5px);
    background-size: 4px 4px;
  }
}

@media print {
  header, footer, .no-print { display: none !important; }
  body { background: #fff; }
}
