/* ==========================================================================
   Reset — minimal, modern, accessible
   Portfolio Design System · self-contained (no shared code with other DSs)
   ========================================================================== */

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

* {
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  line-height: var(--pf-lh-body, 1.7);
  font-family: var(--pf-font-body, Georgia, serif);
  color: var(--pf-ink, #111);
  background: var(--pf-surface, #fff);
  text-rendering: optimizeLegibility;
}

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

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

button {
  background: none;
  border: none;
  cursor: pointer;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

ul,
ol {
  list-style: none;
  padding: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Visible focus for keyboard users — never removed without replacement.
   Uses the accessible accent so it carries brand flavor while staying AA. */
:focus-visible {
  outline: 2px solid var(--pf-focus, #b23a63);
  outline-offset: 3px;
  border-radius: 1px;
}

/* Respect users who reduce motion — global safety net.
   Individual components also pair every transition with this query. */
@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;
  }
}
