/* Base element styles. Section-specific styles live in css/sections/. */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-text);
}

img { max-width: 100%; display: block; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
}

/* Unclassed links only — every component anchor styles its own colour and
   hover. A bare a:hover here out-specifies single-class rules and repaints
   buttons (e.g. the Etsy CTA label vanished into its own hover fill). */
a:not([class]) { color: var(--turquoise); text-underline-offset: 3px; }
a:not([class]):hover { color: var(--turquoise-dark); }

button { font: inherit; }

/* Material Symbols, inlined as SVG by src/lib/icons.js — no webfont.
   Sized per use via width/height attributes; this just keeps them aligned. */
.ms {
  flex: none;
  vertical-align: middle;
}
