/* roridev.com: one stylesheet, system fonts only (no requests to other sites) */
:root {
  --bg: #f5f6f8;
  --surface: #ffffff;
  --ink: #15171c;
  --muted: #586070;
  --rule: #dde1e7;
  --accent: #2446a6;
  --mark: #c23a33;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111317;
    --surface: #181b21;
    --ink: #e9eaee;
    --muted: #a3a9b6;
    --rule: #2b3039;
    --accent: #93a9ff;
    --mark: #ff7a70;
  }
}
.vitd { --accent: #b8332d; }
@media (prefers-color-scheme: dark) { .vitd { --accent: #ff8a80; } }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.62 var(--sans); }
.wrap { max-width: 42rem; margin: 0 auto; padding: 2.5rem 1rem 4rem; }

header.site {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding-bottom: 1.1rem; margin-bottom: 2.5rem; border-bottom: 1px solid var(--rule);
}
.brand { font-family: var(--serif); font-size: 1.2rem; font-weight: 700; color: var(--ink); text-decoration: none; }
.brand:hover { text-decoration: underline; text-underline-offset: 0.18em; }
header.site nav a { color: var(--muted); font-size: 0.95rem; }

h1, h2, h3 { font-family: var(--serif); line-height: 1.15; }
h1 { font-size: clamp(2.1rem, 7vw, 3rem); margin: 0 0 1rem; letter-spacing: -0.02em; }
h2 { font-size: 1.4rem; margin: 2.4rem 0 0.6rem; }
p, ul { margin: 0 0 1rem; }
ul { padding-left: 1.25rem; }
li { margin: 0.4rem 0; }
.lede { font-size: 1.2rem; }
.muted { color: var(--muted); }
.updated { color: var(--muted); font-size: 0.95rem; margin-top: -0.4rem; }

a { color: var(--accent); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.project {
  display: block; margin: 1rem 0; padding: 1.2rem 1.25rem 1.1rem;
  background: var(--surface); border: 1px solid var(--rule); border-left: 4px solid var(--mark); border-radius: 6px;
  color: inherit; text-decoration: none;
}
.project h3 { font-size: 1.25rem; margin: 0 0 0.35rem; color: var(--ink); }
.project p { margin: 0; color: var(--muted); }
.project:hover h3 { text-decoration: underline; text-underline-offset: 0.18em; }

footer.site { margin-top: 3.5rem; padding-top: 1.1rem; border-top: 1px solid var(--rule); color: var(--muted); font-size: 0.95rem; }
footer.site p { margin: 0.3rem 0; }
