:root {
  color-scheme: dark;
  --base: #1e1e2e;
  --mantle: #181825;
  --surface: #313244;
  --text: #cdd6f4;
  --muted: #a6adc8;
  --lavender: #b4befe;
  --peach: #fab387;
  --green: #a6e3a1;
  font-family: ui-monospace, "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  color: var(--text);
  background: var(--base);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; }
body {
  min-height: 100vh;
  max-width: 1440px;
  margin: 0 auto;
  padding: 30px 52px 24px;
  background: radial-gradient(ellipse at 80% 0%, #31324455, transparent 60%);
  font-size: 16px;
  line-height: 1.75;
}
a { color: inherit; text-decoration-color: #6c7086; text-underline-offset: 5px; }
a:hover { color: var(--lavender); text-decoration-color: currentColor; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--peach); outline-offset: 6px; border-radius: 2px; }
.skip-link { position: absolute; top: -100px; left: 24px; padding: 8px 16px; background: var(--mantle); z-index: 3; }
.skip-link:focus { top: 12px; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 66px; }
.wordmark { text-decoration: none; color: var(--muted); font-size: 14px; }
.wordmark span { color: var(--peach); }
nav { display: flex; gap: 26px; font-size: 15px; font-style: italic; }
nav a { text-decoration: none; color: var(--muted); }
nav a[aria-current="page"] { color: var(--text); text-decoration: underline; text-decoration-color: var(--peach); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.35; letter-spacing: -.035em; }
h1 { font-size: 30px; font-weight: 750; margin-bottom: 8px; }
h2 { font-size: 26px; margin-bottom: 22px; }
h3 { font-size: 16px; margin-bottom: 5px; }
p { margin-bottom: 22px; }
.home { display: grid; grid-template-columns: minmax(300px, 390px) minmax(0, 1fr); gap: clamp(64px, 8vw, 140px); min-height: 670px; }
.profile-column { padding-left: 6px; }
.avatar-ring { width: 288px; padding: 4px; border-radius: 50%; background: conic-gradient(from 35deg, var(--lavender), #89dceb, #f5c2e7, var(--peach), var(--lavender)); margin-bottom: 28px; }
.avatar { display: block; width: 100%; height: auto; border-radius: 50%; border: 7px solid var(--base); }
.eyebrow { font-size: 12px; color: var(--muted); letter-spacing: .035em; margin-bottom: 8px; }
.tagline { color: var(--muted); font-size: 14px; margin-bottom: 26px; }
.bio-links { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; row-gap: 13px; color: var(--muted); font-size: 14px; }
.bio-links a, .bio-links > span { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.bio-links a { text-decoration: none; }
.bio-links > a > span, .bio-links > span > span { color: var(--lavender); width: 20px; text-align: center; font-size: 21px; line-height: 1; }
hr { border: 0; border-top: 2px solid var(--mantle); width: 80%; margin: 32px 0; }
.bio { font-size: 15px; }
.right-column { display: flex; flex-direction: column; justify-content: space-between; padding-top: 22px; padding-bottom: 24px; }
.things-list { padding-left: 23px; max-width: 640px; margin: 0 0 26px; }
.things-list li { padding-left: 5px; margin: 13px 0; }
.things-list li::marker { color: var(--peach); }
.things-list a { color: var(--lavender); }
.text-link { color: var(--peach); text-decoration: none; font-size: 15px; }
.text-link:hover { text-decoration: underline; }
.now-note { display: flex; align-items: flex-start; gap: 14px; border-left: 2px solid var(--surface); padding: 8px 0 8px 22px; margin: 60px 0 34px; max-width: 540px; }
.now-note p { color: var(--muted); font-size: 14px; margin-bottom: 6px; }
.now-note a { color: var(--lavender); font-size: 13px; }
.status-dot { display: inline-block; width: 7px; height: 7px; margin-top: 9px; flex: 0 0 auto; background: var(--green); border-radius: 50%; }
.small-print { align-self: flex-end; text-align: right; color: var(--muted); font-size: 12px; font-style: italic; }
.small-print p { margin: 0; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--surface); margin-top: 54px; padding-top: 20px; color: var(--muted); font-size: 11px; }
.site-footer a { text-decoration: none; }
.page { min-height: 65vh; padding-top: 10px; }
.page > h1 { margin-bottom: 20px; }
.page-intro { max-width: 730px; color: var(--muted); font-size: 14px; margin-bottom: 40px; }
.projects-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.project { background: var(--text); color: var(--mantle); border-radius: 16px 16px 7px 7px; align-self: start; overflow: hidden; scroll-margin-top: 30px; }
.project > img { width: 100%; height: auto; display: block; aspect-ratio: 640 / 380; object-fit: cover; border: 5px solid var(--text); border-radius: 16px; }
.project-content { padding: 16px 20px 8px; }
.project h2 { font-size: 21px; margin: 0 0 13px; display: flex; justify-content: space-between; gap: 10px; }
.project h2 span { font-weight: 400; color: #585b70; }
.project p, .project summary { font-size: 13px; line-height: 1.7; }
.project p { margin-bottom: 15px; }
summary { cursor: pointer; text-decoration: underline; text-underline-offset: 4px; margin-bottom: 12px; }
.project details[open] p { padding-top: 4px; }
.tech-list { display: flex; flex-wrap: wrap; gap: 8px 14px; list-style: none; padding: 12px 0 6px; margin: 16px 0 0; border-top: 1px solid #a6adc8; font-size: 10px; }
.prose { max-width: 760px; margin: 0 auto; }
.prose section { margin-top: 42px; scroll-margin-top: 30px; }
.prose h2 { font-size: 21px; margin-bottom: 16px; color: var(--lavender); }
.prose p { font-size: 15px; }
.prose .lead { font-size: 18px; color: var(--muted); }
.prose .muted { color: var(--muted); font-size: 12px; }
.contact-address { color: var(--peach); overflow-wrap: anywhere; }
.copy-button { appearance: none; padding: 10px 16px; border: 1px solid #585b70; border-radius: 5px; background: var(--surface); color: var(--text); cursor: pointer; font: inherit; font-size: 13px; }
.copy-button:hover { border-color: var(--lavender); }
.copy-status { min-height: 24px; margin: 8px 0; font-size: 12px !important; color: var(--green); }
.not-found { padding-top: 12vh; }
@media (max-width: 1100px) {
  body { padding: 28px 34px 22px; }
  .home { gap: 50px; grid-template-columns: minmax(300px, 350px) minmax(0, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  body { padding: 22px 24px; font-size: 15px; }
  .site-header { margin-bottom: 46px; align-items: flex-start; }
  .wordmark { font-size: 11px; }
  nav { gap: 17px; font-size: 13px; }
  .home { display: block; }
  .profile-column { padding: 0; max-width: 430px; margin: 0 auto; }
  .avatar-ring { width: 238px; margin: 0 auto 26px; }
  .profile-column > .eyebrow, .profile-column > h1, .tagline { text-align: center; }
  .bio-links { max-width: 360px; margin: 0 auto; font-size: 13px; gap: 12px 15px; }
  hr { margin: 30px auto; }
  .right-column { padding-top: 36px; max-width: 430px; margin: 20px auto 0; border-top: 2px solid var(--mantle); }
  h2 { font-size: 22px; }
  .now-note { margin-top: 40px; }
  .small-print { align-self: flex-start; text-align: left; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: 8px; margin-top: 35px; }
  .projects-grid { grid-template-columns: 1fr; max-width: 470px; margin: 0 auto; }
  .page h1 { font-size: 27px; }
}
@media (max-width: 360px) {
  .site-header { flex-direction: column; align-items: center; gap: 16px; }
  .bio-links { grid-template-columns: 1fr; max-width: 230px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
