/* Quiet, kyzo-style: near-white page, soft cards with hairline borders, dotted leaders. */
:root {
  --bg: #fefefe;
  --ink: rgba(0, 0, 0, 0.82);
  --ink-2: rgba(0, 0, 0, 0.7);
  --faint: rgba(0, 0, 0, 0.32);
  --dots: rgba(0, 0, 0, 0.12);
  --sans: "Geist", -apple-system, BlinkMacSystemFont, "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 1.5px solid rgba(0,0,0,.5); outline-offset: 2px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

main {
  max-width: 520px;
  margin: 0 auto;
  padding: 72px 16px 56px;
  display: flex; flex-direction: column; gap: 24px;
}

/* ---------- header ---------- */
.hero { display: flex; flex-direction: column; gap: 10px; margin-bottom: 4px; }
h1 { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; color: #111; }
.tagline { color: var(--ink-2); }
.sep { color: var(--faint); margin: 0 4px; }

.socials { display: flex; gap: 10px; margin-top: 4px; }
.socials a {
  display: grid; place-items: center;
  width: 26px; height: 26px; border-radius: 7px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #111;
  transition: background .2s, color .2s;
}
.socials a:hover { background: #111; color: #fff; }
.socials svg { width: 13px; height: 13px; }

/* ---------- card ---------- */
.card {
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: linear-gradient(to bottom, #fafaf9, #f3f3f1);
  padding: 12px 16px 14px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 1px 2px rgba(0, 0, 0, 0.04),
    0 10px 28px -14px rgba(0, 0, 0, 0.18);
  scroll-margin-top: 16px;
}
.card h2 {
  font-size: 12px; font-weight: 500;
  color: var(--ink-2);
  padding-bottom: 6px;
}

/* ---------- rows ---------- */
.rows { list-style: none; display: flex; flex-direction: column; }
.rows li { padding: 5px 0; }
.line { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.name { display: flex; align-items: center; gap: 8px; flex-shrink: 0; max-width: 62%; min-width: 0; color: var(--ink-2); }
.name span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
a.name:hover span { text-decoration: underline; text-underline-offset: 3px; }
.logo { width: 16px; height: 16px; border-radius: 4px; object-fit: cover; flex: none; background: #fff; box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.12); }
.dots { flex: 1; min-width: 12px; border-bottom: 1px dotted var(--dots); }
.meta, .year, .status { flex-shrink: 0; font-size: 11px; color: var(--faint); white-space: nowrap; }
.meta { flex-shrink: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.year { font-variant-numeric: tabular-nums; }
.status.active    { color: #3b82f6; }
.status.interview { color: #f97316; }
.status.news      { color: #3b82f6; }
.status.paper     { color: #16a34a; }
.sub { padding-left: 24px; margin-top: 1px; font-size: 11px; color: var(--faint); }

/* ---------- footer ---------- */
footer {
  display: flex; justify-content: space-between;
  font-size: 11px; color: var(--faint);
  padding: 4px 2px 0;
}

@media (max-width: 480px) {
  main { padding-top: 48px; }
  .line { flex-wrap: wrap; row-gap: 1px; }
  .name { max-width: 52%; }
  .line .meta { order: 10; flex-basis: 100%; padding-left: 24px; }
  .rows li:not(:has(.logo)) .line .meta { padding-left: 0; }
}
