/* Shared styles for every page on the site. New pages (gallery/, cv/) link this
   file and reuse .page so they look the same. */

:root {
  --bg: #000;
  --fg: #f2f2f2;
  --muted: #8a8a8a;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --measure: 46rem;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 1rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: underline; text-decoration-color: var(--muted); text-underline-offset: 0.2em; }
a:hover, a:focus-visible { text-decoration-color: var(--fg); }
:focus-visible { outline: 1px solid var(--fg); outline-offset: 3px; }

.page {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 5rem 1rem 4rem;
}

.intro h1 {
  margin: 0;
  font: 400 clamp(2.4rem, 7vw, 3.5rem)/1.05 var(--serif);
}
.intro p { margin: 0; color: var(--muted); }
.intro .role { margin-top: 0.75rem; }

.photo { margin: 3rem 0 0; }
.photo img {
  display: block;
  width: 100%;
  height: auto;
  background: #111;
}
.photo figcaption {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted);
}
