/* Forge base — minimal reset + accessibility floor. Loaded before styles.css.
   Logical properties only; this file must never need an RTL override. */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body { min-height: 100svh; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img, picture, video, canvas, svg { display: block; max-inline-size: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
p, h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
a { color: inherit; }
button { cursor: pointer; background: none; border: none; }
:focus-visible { outline: 2px solid var(--accent, currentColor); outline-offset: 3px; }
::selection { background: var(--accent, #000); color: var(--bg, #fff); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Image placeholders must READ as intentional art blocks even before the
   stylesheet works them: a quiet ink tint with one accent edge — never an
   invisible white void. styles.css may (and should) override. */
.ph {
  background:
    linear-gradient(color-mix(in srgb, currentColor 7%, transparent), color-mix(in srgb, currentColor 12%, transparent));
  border-inline-start: 3px solid var(--accent, currentColor);
  min-block-size: 120px;
}
