/* monoexp.com — one stylesheet, no framework */ :root { --bg: #fafaf9; --surface: #ffffff; --text: #1c1c1a; --muted: #5f5f5a; --border: #e4e4e0; --accent: #1c1c1a; --tag-bg: #f0f0ed; --focus: #2f6fdb; --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; --radius: 10px; --max: 760px; } @media (prefers-color-scheme: dark) { :root { --bg: #121211; --surface: #1a1a19; --text: #ececea; --muted: #a3a39e; --border: #2c2c2a; --accent: #ececea; --tag-bg: #252524; --focus: #7aa7f5; } } *, *::before, *::after { box-sizing: border-box; } html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; } body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; } a { color: inherit; text-underline-offset: 3px; } a:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; } .wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; } .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; } /* Header */ .site-header { border-bottom: 1px solid var(--border); } .header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; } .wordmark { font: 600 18px/1 var(--mono); letter-spacing: -0.02em; text-decoration: none; } .wordmark span { color: var(--muted); } nav { display: flex; gap: 20px; } nav a { font-size: 15px; color: var(--muted); text-decoration: none; } nav a:hover { color: var(--text); } /* About */ .about { padding: 56px 0 40px; } .about h1 { margin: 0 0 12px; font-size: clamp(30px, 6vw, 42px); line-height: 1.15; letter-spacing: -0.03em; } .about p { margin: 0 0 14px; color: var(--muted); max-width: 62ch; } .about .lede { font-size: 20px; color: var(--text); } /* Projects */ #projects { padding-bottom: 64px; scroll-margin-top: 16px; } #projects h2 { margin: 0 0 16px; font: 600 13px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); } .projects { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 16px; } @media (min-width: 640px) { .projects { grid-template-columns: 1fr 1fr; } } .project { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; } .project-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 8px; } .project h3 { margin: 0; font-size: 19px; letter-spacing: -0.01em; } .tag { flex-shrink: 0; font: 12px/1 var(--mono); color: var(--muted); background: var(--tag-bg); padding: 5px 8px; border-radius: 6px; } .project p { margin: 0 0 18px; color: var(--muted); font-size: 15.5px; } .links { margin-top: auto; display: flex; gap: 18px; font-size: 15px; font-weight: 500; } .links a { text-decoration: none; border-bottom: 1px solid var(--border); padding-bottom: 1px; } .links a:hover { border-color: var(--accent); } /* Footer */ .site-footer { border-top: 1px solid var(--border); } .site-footer p { margin: 0; padding: 24px 0 32px; font-size: 14px; color: var(--muted); }