:root {
  --paper: #f6f4ef;
  --ink: #171613;
  --muted: #6b675d;
  --rule: #ddd8cc;
  --accent: #b03a1a;
  --accent-soft: #f0e2da;
  --sans: "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 2px;
}
::selection { background: var(--accent-soft); color: var(--ink); }

/* ---------- stage + card ---------- */

.stage {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.25rem, 5vw, 3rem);
}

@media (max-width: 560px) {
  .stage { align-items: flex-start; padding-top: 22vh; }
}

.card {
  width: 100%;
  max-width: 23rem;
  padding: clamp(2rem, 5vw, 2.75rem);
  border: 1px solid var(--rule);
  background: #fbfaf6;
  box-shadow: 0 1px 2px rgba(23, 22, 19, 0.04);
}

.card h1 {
  margin: 0;
  font-size: 1.625rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 600;
}

.role {
  margin: 0.6rem 0 0;
  font-size: 1rem;
  line-height: 1.4;
  color: #3a372f;
}

.loc {
  margin: 0.3rem 0 0;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.card hr {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 1.5rem 0;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.links a {
  display: inline-block;
  text-decoration: none;
  padding-bottom: 0.2rem;
  border-bottom: 1px solid var(--accent);
  transition: color .18s ease, border-color .18s ease;
}
.links a:hover { color: var(--accent); }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
