:root{
  --bg:#1b1d18;
  --text:#f2efe6;
  --muted:#a8a596;
  --accent:#a9bd8f;
  --rule:#34362b;
}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:'Inter', sans-serif;
  font-size:15px;
  font-weight:400;
  line-height:2;
  letter-spacing:0.01em;
}
a{color:var(--accent); text-decoration-thickness:1px; text-underline-offset:3px;}
.serif{font-family:'Source Serif 4', serif;}
.sign{font-family:'Caveat', cursive;}

.wrap{
  max-width:640px;
  margin:0 auto;
  padding:0 24px;
}

header{
  padding:44px 0 0;
}
.header-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.home-link{
  font-size:13.5px;
  color:var(--text);
  text-decoration:none;
  letter-spacing:0.03em;
  font-weight:500;
}
nav.top-nav{
  display:flex;
  gap:26px;
}
nav.top-nav a{
  font-size:13px;
  color:var(--muted);
  text-decoration:none;
  letter-spacing:0.01em;
}
nav.top-nav a:hover, nav.top-nav a.active{color:var(--text);}
nav.top-nav a.active{
  border-bottom:1px solid var(--accent);
  padding-bottom:2px;
}

main{
  padding:72px 0 0;
}

h1{
  font-family:'Source Serif 4', serif;
  font-weight:400;
  font-size:30px;
  line-height:1.4;
  margin:0 0 40px;
  letter-spacing:0.005em;
}
.lead p{
  margin:0 0 32px;
  color:var(--text);
  font-size:15px;
}
.lead p.dim{color:var(--muted);}

.bullets{
  margin:40px 0 0;
  padding:0;
  list-style:none;
}
.bullets li{
  padding-left:20px;
  position:relative;
  margin-bottom:18px;
  color:var(--text);
}
.bullets li::before{
  content:"—";
  position:absolute;
  left:0;
  color:var(--accent);
}

section{
  padding:72px 0;
  border-top:1px solid var(--rule);
}
h2{
  font-family:'Source Serif 4', serif;
  font-weight:400;
  font-size:21px;
  margin:0 0 40px;
}

.job{
  margin-bottom:40px;
}
.job:last-child{margin-bottom:0;}
.job-top{
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  gap:16px;
  flex-wrap:wrap;
}
.job-role{
  font-size:14.5px;
  font-weight:500;
}
.job-role .co{
  font-weight:400;
  color:var(--muted);
}
.job-time{
  font-size:12.5px;
  color:var(--muted);
  white-space:nowrap;
}
.job-desc{
  margin:10px 0 0;
  color:var(--muted);
  font-size:14px;
  max-width:56ch;
  line-height:1.9;
}

.earlier-wrap{margin-top:40px;}
#earlier-cb{display:none;}
#earlier-list{display:none;}
#earlier-cb:checked ~ #earlier-list{display:block;}
.earlier-label{
  font-size:12.5px;
  color:var(--muted);
  cursor:pointer;
  text-decoration:underline;
  text-decoration-style:dotted;
  text-underline-offset:3px;
}
.earlier-label:hover{color:var(--text);}
#earlier-cb:checked ~ .earlier-wrap .show-txt{display:none;}
#earlier-cb:not(:checked) ~ .earlier-wrap .hide-txt{display:none;}

.tags{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:8px;
}
.tag{
  font-size:12px;
  padding:7px 14px;
  border:1px solid var(--rule);
  color:var(--muted);
  border-radius:20px;
}

.contact-list{
  list-style:none;
  padding:0;
  margin:0;
}
.contact-list li{
  padding:24px 0;
  border-top:1px solid var(--rule);
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.contact-list li:last-child{border-bottom:1px solid var(--rule);}
.contact-list .k{color:var(--muted); font-size:12.5px;}
.contact-list a{font-size:14px;}

footer{
  padding:72px 0 80px;
  border-top:1px solid var(--rule);
}
.signoff p{
  color:var(--text);
  margin:0 0 10px;
  font-size:14px;
}
.signoff .sign{
  font-size:26px;
  color:var(--accent);
  margin-top:6px;
}
.footer-links{
  margin-top:48px;
  display:flex;
  gap:22px;
  flex-wrap:wrap;
  font-size:13px;
}
.footer-links a{
  color:var(--muted);
  text-decoration:none;
}
.footer-links a:hover{color:var(--accent); text-decoration:underline;}
.footer-meta{
  margin-top:28px;
  font-size:12px;
  color:var(--muted);
}

a:focus-visible, button:focus-visible{
  outline:2px solid var(--accent);
  outline-offset:2px;
}

@media (max-width:480px){
  h1{font-size:26px;}
  .job-top{flex-direction:column;gap:4px;}
  nav.top-nav{gap:16px;}
  .contact-list li{flex-direction:column;align-items:flex-start;gap:6px;}
}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto;}
  *{transition:none !important;}
}
