*, *::before, *::after { box-sizing: border-box; }

html { color-scheme: light; }

body {
  margin: 0;
  background: var(--surface, #f7f7f4);
  color: var(--ink, #171717);
  font-family: var(--font-body);
  line-height: 1.5;
}

img, picture, video, iframe { display: block; max-width: 100%; }

/* HTML dimensions reserve the image ratio, not a fixed on-screen pixel height.
   Page-specific height/object-fit rules remain authoritative for intentional crops. */
:where(img[width][height]) { height: auto; }

button, input, select, textarea { font: inherit; }

:focus-visible { box-shadow: var(--focus-ring); outline: 0.125rem solid var(--action, #e84a2a); outline-offset: 0.1875rem; }

.skip-link { left: var(--space-2); position: fixed; top: -5rem; z-index: 1000; }
.skip-link:focus { top: var(--space-2); }
