/* carljohnson.com: one card, house standard (~/.claude/design/Design-Standard.md).
   Accent "Ash": OKLCH hue 90, chroma 0.015, a warm near-neutral (the hue wheel is full at chroma 0.05;
   nearest existing color Clay at OKLab ΔE 0.042, wider than Slate–Denim 0.037).
   Measured: dark #9A978D 5.56:1 min on bg/panel/card/tile; light #5D5950 6.11:1 min. */
:root, :root[data-theme="dark"] { --acc-site: #9A978D; color-scheme: dark; }
:root[data-theme="light"] { --acc-site: #5D5950; color-scheme: light; }
:root { --app-accent: var(--acc-site); }

@media (prefers-contrast: more) {
  :root { --text-muted: var(--text-2); --line: var(--line-strong); --line-faint: var(--line-strong); }
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font: 400 13px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
  display: grid;
  place-items: center;
  padding: 56px 16px;
}

.card {
  width: 100%;
  max-width: 440px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  overflow: hidden;
}
.photo {
  display: block;
  width: 100%;
  height: auto;
  background: var(--tile);
}
.body { padding: 20px 24px 22px; }

h1 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  line-height: 26px;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.role {
  margin: 6px 0 0;
  color: var(--text-2);
  text-wrap: balance;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 20px;
  margin: 14px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--line-faint);
  list-style: none;
}

a {
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--r-micro);
  transition: color var(--ease);
}
.role a { font-weight: 400; }
.phrase { white-space: nowrap; } /* a role phrase never breaks mid-phrase (§9.20) */
a:hover { text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible { outline: 2px solid var(--accent-ring); outline-offset: 2px; }

/* 44px touch targets without changing the drawn size */
.links a { display: inline-block; position: relative; padding: 4px 0; white-space: nowrap; }
.links a::after { content: ""; position: absolute; inset: -10px -8px; }

@media (hover: none) { a:hover { text-decoration: none; } }
@media (forced-colors: active) { a:focus-visible { outline-color: Highlight; } }
