/* target _blank – Layout: one quiet sheet; hanging-underscore logo on the left, contact data set like attribute/value pairs on the right, stacking on phones. */
:root {
  --bg: #F4F4F4;
  --sheet: #FFFFFF;
  --ink: #000000;
  --muted: #5E5E5E;
  --line: #E2E2E2;
  --accent: #000000;
  --font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0B0B0B; --sheet: #141414; --ink: #FFFFFF; --muted: #9A9A9A; --line: #2A2A2A; --accent: #FFFFFF;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0B0B0B; --sheet: #141414; --ink: #FFFFFF; --muted: #9A9A9A; --line: #2A2A2A; --accent: #FFFFFF;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
}
.card {
  width: 100%;
  max-width: 60rem;
  background: var(--sheet);
  border: 1px solid var(--line);
  border-radius: 6px;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
}
.brand {
  padding: clamp(1.75rem, 5vw, 3.5rem);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2.5rem;
}
.logo { display: block; width: 100%; max-width: 15rem; height: auto; color: var(--ink); }
.tagline { margin: 0; font-size: 1.0625rem; color: var(--muted); max-width: 22ch; text-wrap: balance; }
.tagline strong { color: var(--ink); font-weight: 600; }

.info { padding: clamp(1.75rem, 5vw, 3.5rem); display: flex; flex-direction: column; gap: 2rem; min-width: 0; }
.person h1 { margin: 0; font-size: clamp(1.5rem, 3.2vw, 1.875rem); font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; }
.person p { margin: 0.25rem 0 0; color: var(--muted); }

.label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  white-space: nowrap;
}
.label::after { content: "="; color: var(--accent); margin-left: 0.15em; }
dl { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 1.5rem; }
dl > div { display: contents; }
dt, dd { padding-block: 0.8rem; border-top: 1px solid var(--line); }
dt { padding-top: 1.05rem; }
dd { margin: 0; font-size: 1.0625rem; overflow-wrap: anywhere; }
dl > div:last-child dt, dl > div:last-child dd { border-bottom: 1px solid var(--line); }
address { font-style: normal; }

a { color: inherit; text-decoration: underline; text-decoration-color: var(--line); text-decoration-thickness: 1px; text-underline-offset: 0.22em; transition: text-decoration-color .15s, color .15s; }
a:hover { text-decoration-color: var(--accent); color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.ext::after { content: "\2197"; font-size: 0.8em; margin-left: 0.2em; color: var(--muted); }

.focus ul { list-style: none; margin: 0.75rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.focus li { font-size: 0.875rem; padding: 0.3rem 0.7rem; border: 1px solid var(--line); border-radius: 999px; }

.social { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin: 0; padding: 0; list-style: none; }
footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem; font-size: 0.8125rem; color: var(--muted); padding-top: 0.25rem; }
footer nav { display: flex; gap: 1.25rem; }

@media (max-width: 760px) {
  .card { grid-template-columns: minmax(0, 1fr); }
  .brand { border-right: 0; border-bottom: 1px solid var(--line); gap: 1.5rem; }
  .logo { max-width: 11rem; }
}
@media (max-width: 420px) {
  dl { grid-template-columns: minmax(0, 1fr); }
  dt { padding-bottom: 0; }
  dd { border-top: 0; padding-top: 0.2rem; }
  dl > div:last-child dt { border-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) { a { transition: none; } }

/* Legal pages */
.doc { width: 100%; max-width: 46rem; background: var(--sheet); border: 1px solid var(--line); border-radius: 6px; padding: clamp(1.75rem, 5vw, 3.5rem); display: flex; flex-direction: column; gap: 2rem; }
.doc .home { display: inline-block; text-decoration: none; }
.doc .home .logo { max-width: 7rem; }
.doc h1 { margin: 0; font-size: clamp(1.5rem, 3.2vw, 1.875rem); font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; }
.doc h2 { margin: 0 0 0.5rem; font-size: 1.0625rem; font-weight: 600; }
.doc section p, .doc section ul { margin: 0 0 0.75rem; max-width: 65ch; }
.doc section ul { padding-left: 1.2rem; }
.doc .meta { color: var(--muted); font-size: 0.875rem; margin: 0; }
.doc footer { border-top: 1px solid var(--line); padding-top: 1rem; }
